Home forums Using CanvasJS How to Create a 1:1 Ratio Scale Chart in Canvasjs

Tagged: , ,

This topic contains 3 replies, has 2 voices, and was last updated by  Vishwas R 3 days, 9 hours ago.

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

    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 .

    #26586

    @santhoshnarendra,

    You can achieve the above requirements by setting width, height and axis interval properties as shown in this JSFiddle.


    Vishwas R
    Team CanvasJS

    #27308

    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

    #27354

    @santhoshnarendra,

    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.


    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.