You must be logged in to post your query.
Home › Forums › Chart Support › axisX clipped when we have secondary axisY
https://jsfiddle.net/h1wpb9kv/
When we have a secondary axisY, the axisX starting range is clipped as you can see in the fiddle:
@aazimi,
Thank you for reporting the use case. It seems to be happening during different scenarios of the secondary Y-axis. We will revisit & reconsider this behavior in future releases.
As a workaround, you can add a dummy dataSeries attched to primary Y-axis as shown in the code-snippet below,
dataSeries.dataPoints = dataPoints; data.push(dataSeries); data.push({type: "line"});
Please take a look at this JSFiddle for an example with complete code.
— Adithya Menon Team CanvasJS
Thank you, Adithya, I’m looking forward to the fix in future releases :)
You must be logged in to reply to this topic. Login/Register