Home forums Using CanvasJS DataSeries


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

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

    Raj Patel

    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;


    Indranil Deo


    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.