Home › Forums › StockChart Support › Scale ratio in canvasjs for both axes › Reply To: Scale ratio in canvasjs for both axes
I would like to add some details to my query. In a map, we have a scale (ex. 1: 2000000), where 1mm on the map represents 2km of real life distance.
My chart will work in a similar way. Here y-axis represents distance and I want a scale to map exact 1mm on the chart’s y-axis with the real life distance.
Consider the fiddle link: https://jsfiddle.net/mustadirmahmood/ovwebL51/41/
Here I want a scale ratio of 1mm:2mm.
Here the highest y-coordinate is 30mm. I want the distance from x-axis to that y-coordinate(y=30mm) to be exactly 15mm on a ruler.
Hope this detail allows you to better understand my query.