Home › forums › Using CanvasJS › DataSeries
This topic contains 1 reply, has 2 voices, and was last updated by Indranil Deo 1 year, 1 month ago.
Is there any way to refer to data series by its name?
This is how it is Working currently.
chart.options.data.visible = !chart.options.data.name.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;
Please create a jsfiddle reproducing the issue, so that we can understand your requirement better.
You must be logged in to reply to this topic.