You must be logged in to post your query.
Home › Forums › Chart Support › how to calculate axisY value
Tagged: axisY
hello :) I want to know how to calculate axisY value standard. ex) when data like this, { x: 10, y: 71 },{ x: 20, y: 55},{ x: 30, y: 50 },{ x: 40, y: 65 },{ x: 50, y: 95 },{ x: 60, y: 68 },{ x: 70, y: 28 },{ x: 80, y: 34 },{ x: 90, y: 14} the axisY scale calculate to 0,20,40,60,80,100 . Now i’m using exchange candle data, and all crypto price are different( ex) 0.134,65785,30.245..) and then the axisY scale different,too. As a result, when I don’t set max,min value, the chart library auto calcuate. And I want to know the chart library how to caculate automatically.
@p42510,
The interval at which axis labels are displayed is automatically calculated based on multiple factors like chart height / width, axis minimum & maximum, etc.
— Thangaraj Raman Team CanvasJS
You must be logged in to reply to this topic. Login/Register