DHTMLX Docs & Samples Explorer

hideSeries (index)

Required library edition: This method works with any edition of DHTMLX library

Required library file: dhtmlxchart.js

Hides a series with the specified index

  • index - (number) the series index. The 1st series has '0' index, the 2nd - '-1', etc
chart.hideSeries(-2);

Related methods: showSeries, addSeries