Home › Forums › StockChart Support › Scale ratio in canvasjs for both axes › Reply To: Scale ratio in canvasjs for both axes
@mustadirmahmood,
To achieve your requirement, you can loop through the dataPoints and convert each y-value from millimeter to pixel as the chart is rendered based on pixels. Please take a look at this updated JSFiddle for a working example on the same.
— Thangaraj Raman Team CanvasJS