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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
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.