showSeries

shows the hidden graph in the chart

void showSeries(number index);
indexnumberthe index of the series that should be shown.

Example

webix.ui({
  view:"chart", id:"average", type:"bar",
  series:[
    { value:"#sales#" },
    { value:"#sales2#" }    //this will be hidden
  ],
  data:multiple_dataset
});
$$("average").hideSeries(1);
//...
$$("average").showSeries(1);

Details

Works with already defined series and allows for manipulating their visibility. The method works for series that was previously hidden by hideSeries() method.

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix javascript web framework and page of chart javascript product.