Home Forums Chart Support axisX clipped when we have secondary axisY

axisX clipped when we have secondary axisY

Viewing 3 posts - 1 through 3 (of 3 total)
  • #37205

    https://jsfiddle.net/h1wpb9kv/

    When we have a secondary axisY, the axisX starting range is clipped as you can see in the fiddle:

    #37237

    @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

    #37238

    Thank you, Adithya,
    I’m looking forward to the fix in future releases :)

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.