New to Kendo UI for jQuery? Start a free 30-day trial

Toggles the visibility for the entire series or for specific point(s).

Parameters:showBoolean

A value indicating whether the series or the points should be shown or hidden.

filterFunction

An optional function that is used to filter the points that should be shown or hidden. The function is passed the point dataItem as argument.

js
series.toggleVisibility(false);
js
series.toggleVisibility(false, function(dataItem) {
    return dataItem.value === 1;
});
Not finding the help you need?
Contact Support