Home › forums › Using CanvasJS › Double column chart
Tagged: colunm charts scale
This topic contains 3 replies, has 3 voices, and was last updated by Vishwas R 1 year, 9 months ago.
How can I set both Y axis to have the same scale?
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.
Thanks for helping!
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.
You must be logged in to reply to this topic.