Home forums Using CanvasJS Double column chart

This topic contains 3 replies, has 3 voices, and was last updated by  Vishwas R 6 months, 1 week ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11668

    sairf
    Member

    Hi,

    How can I set both Y axis to have the same scale?

    Thanks!

    #11674

    Sanjoy
    Moderator

    Hi,

    By setting viewportMaximum and viewportMinimum for both the Y axis you can show both of them in same scale and for label interval you can look into interval.

    #11741

    sairf
    Member

    Thanks for helping!

    #13825

    Vishwas R
    Keymaster

    @sairf,

    We have released v1.9.6 Beta with Methods & Properties, which allows you to programmatically export chart as image, print chart, access internally calculated values, etc. Please refer to the release blog for more information.

    With the help of get and set methods you can fetch the interval, minimum and maximum of one y-axis and assign it to the other one. Please check this jsfiddle.

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

You must be logged in to reply to this topic.