Home › forums › Using CanvasJS › How to Create a 1:1 Ratio Scale Chart in Canvasjs
Tagged: height, Scale, width
This topic contains 3 replies, has 2 voices, and was last updated by Vishwas R 3 days, 9 hours ago.
Detailed Explanation : The Scale should be 1:1 for a chart with width of 1024px and height of 350px . The interval for either axis should be same .
You can achieve the above requirements by setting width, height and axis interval properties as shown in this JSFiddle.
https://jsfiddle.net/santy_naren/6sy7rjed/3/ Kindly Find this Fiddle and its not scaling as used from your Fiddle . Needed for Dynamic data , scale setting to be 1:1
The example that has been shared has same range over axisX and axisY. In your case, the range of both the axes are different due to which the labels of axes / scale doesn’t match.
You must be logged in to reply to this topic.