showSeries of ui.chart, Methods Webix Docs
shows the hidden graph in the chart
void showSeries(number index);
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