You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use the following configuration to draw a line chart:
scales: {
yAxes: [{
position: "right",
ticks: {
beginAtZero: false
}
}]
},
bands: {
yValue: 0, // The threshold value on the yAxis (default is false)
bandLine: { // The display properties of the threshold line
stroke: 2,
colour: '#8B5A87',
type: 'dashed'
},
baseColorGradientColor: [
'#8B5A87'
],
belowThresholdColour: [ // An array of the colors that describes the below threshold colour to use the above threshold color is inherited from the dataset
'#8B5A87'
]
}
When I set beginAtZero to true, I see the threshold line and the line is colored as expected.
I use the following configuration to draw a line chart:
When I set
beginAtZerototrue, I see the threshold line and the line is colored as expected.