shows the hidden graph in the chart
index | number | the index of the series that should be shown. |
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);
Works with already defined series and allows for manipulating their visibility. The method works for series that was previously hidden by hideSeries() method.