Home forums Using CanvasJS DataSeries

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Indranil Deo 2 months, 3 weeks ago.

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

    Raj Patel
    Member

    Is there any way to refer to data series by its name?
    This is how it is Working currently.
    chart.options.data[0].visible = !chart.options.data.name[0].visible;
    Is is possible to refer to array by its name?
    chart.options.data.name[MT_S].visible = !chart.options.data.name[MT_S].visible;

    #16133

    Indranil Deo
    Member

    Raj,

    Please create a jsfiddle reproducing the issue, so that we can understand your requirement better.

    __________
    Indranil Deo,
    Team CanvasJS

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

You must be logged in to reply to this topic.