Home forums Using CanvasJS indexlabel in graph

This topic contains 3 replies, has 2 voices, and was last updated by  Suyash Singh 4 months, 2 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #15522

    Priya
    Member

    hello i have created one mulitiseries column graph i want to add indexlable to my column such that the indexlabel contains some function i.e convesion of minutes to second (based on X-Y axis value Or database vale)and i wand ta add that function value as an indexlabel

    #15523

    Suyash Singh
    Moderator

    @priya,

    You can use indexLabelFormatter for achieving this. Please take a look at this jsfiddle.

    ___
    Suyash Singh
    Team CanvasJS

    #15526

    Priya
    Member

    @Syash Singh

    how can we use it for dynamic data we come for json format from php file

    #15527

    Suyash Singh
    Moderator

    @priya,

    indexLabelFormatter works fine for both static and dynamic data.

    ___
    Suyash Singh
    Team CanvasJS

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

You must be logged in to reply to this topic.