Home forums Using CanvasJS Same Y axis on both sides of the chart

This topic contains 2 replies, has 2 voices, and was last updated by  cristi.istrate 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #24594

    Is there a possibility to have the exact same Y axis on both sides, not using “secondary” because it shows different values on the scale.

    #24609

    @cristi-istrate,

    You can achieve the above requirement by setting the maximum and minimum of secondary Axis-Y same as that of the primary Axis-Y using the set method as shown in this JSFiddle.

    ____
    Shashi Ranjan
    Team CanvasJS

    #24698

    Thank you!

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

You must be logged in to reply to this topic.