Skip to content

v2.6.29

Compare
Choose a tag to compare
@graphieros graphieros released this 01 Apr 19:30
· 186 commits to master since this release

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)