I'm facing issue when the chart will zoom with the zoomType "x" or "xy" so the colors revert back to legend same colors. The chart type is "line"
The code of series is here:
Code: Select all
{
type: 'line',
name: 'Price',
colorKey: 'z',
data: makeCoordinates(options.data[2].x, options.data[2].y, false, options.data[2].days_until_halving),
showInLegend: true,
lineWidth: 0,
color: "#eb4444",
colorAxis: 0,
marker: {
enabled: true,
radius: 3.5,
symbol: 'circle'
}
}
The code in stockChart(id, {
chart: {
height: 650,
zoomType: 'x',
backgroundColor: 'transparent'
}
}
But if I changed the zoomType to "y" only then it works fine only issue on "x".
You can see on the attached .gif image.