Return the pixel coordinate of the given value over axis.
Parameters:var chart = new CanvasJS.Chart("container",
{
.
.
axisX: {
title: "axisX Title"
},
.
.
});
chart.render();
console.log(chart.axisX[0].convertValueToPixel(20));
Also See: