Hello.
I have multiaxis stock chart which has line:
axisY2: {
interval: 150,
labelFontSize: 11,
titleFontSize: 16,
gridThickness: 0.5,
gridColor: "gray",
includeZero: false
},
And some scatters on that line:
data: [{
type: "line",
showInLegend: true,
axisYType: "secondary",
lineThickness: 1,
dataPoints: dataPoints_1
},{
type: "scatter",
axisYType: "secondary",
markerType: "circle",
markerSize: 20,
showInLegend: true,
dataPoints: dataPoints_dots
},
All scatters are rendered with x,y of line.
The problem is that scatters affects scale of line. When scatters are shown on line then the line changes its scale. How to avoid that?
Here is photos of the same are with and without scatters displayed: