Home › forums › Using CanvasJS › equalSpacing feature
This topic contains 1 reply, has 2 voices, and was last updated by Sunil Urs 3 years, 7 months ago.
I’d like to know does canvasjs support irregular intervals. This feature is called equalSpacing in amcharts.
It means to draw every data point with fixed width right one after another. I.e. difference between x values don’t matter.
It’s a killer feature for trading charts.
You can have equal spacing between dataPoints by using labels instead of x values. Here is an example.
In case you need to format numbers/dates, you can use formatNumber and formatDate functions for the same.
You must be logged in to reply to this topic.