Home forums Using CanvasJS equalSpacing feature

This topic contains 1 reply, has 2 voices, and was last updated by  Sunil Urs 1 year, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9193

    dyaitskov
    Member

    Hi,

    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.

    #9200

    Sunil Urs
    Keymaster

    Hi,

    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.


    Sunil Urs

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.