github graphieros/vue-data-ui v2.6.29

latest releases: v3.1.4, v3.1.3, v3.1.2...
5 months ago

VueUiXy : scale groups #181

When useIndividualScale is set to true, datapoints with the same scaleLabel share the same yAxis scale.

Config attributes was added to set the color of grouped scales, and the x offset of the scale labels and values:

const config: VueUiXyConfig = {
  chart: {
    grid: {
      labels: {
        yAxis: {
          // New:
          groupColor: '#1A1A1A', // default: null, if not set, will default to a series color
          scaleLabelOffsetX: 0,  // default: 0
          scaleValueOffsetX: 0, // default: 0
        }
      }
    }
  }
}

See example on the docs website
('Grouped y axis scales' example)

Don't miss a new vue-data-ui release

NewReleases is sending notifications on new releases.