user3541711
user3541711

Reputation: 95

update kendo ui series

I'm trying to update a series of chart. I have found some methods in chartOption but when I change (for example the width) the chart doesn't update.

Is it possible to update the series and if it is how I can do it?

Upvotes: 0

Views: 38

Answers (1)

ezanker
ezanker

Reputation: 24738

After changing the chart options, you need to call redraw().

For example:

var chart = $("#chart").data("kendoChart");
chart.options.series[0].width = 4;
chart.redraw();

DEMO

In the demo, click the button to change the first series' width.

Upvotes: 1

Related Questions