persistSeriesVisibilityBoolean(default: true)

Specifies if the series visible option should be persisted when changing the dataSource data.

Example

<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
    persistSeriesVisibility: false,
    dataSource: {
        data: [{
            date: new Date(2016, 0, 1),
            close: 41
        }, {
            date: new Date(2016, 0, 2),
            close: 42
        }]
    },
    series: [{
        field: "close",
        name: "Price"
    }]
});
</script>
In this article
persistSeriesVisibility
Not finding the help you need?
Contact Support