• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 304
  • Last Modified:

Kendo chart refresh causes resize.

I am using Kendo chart in my application.  When I first display the chart it looks like this:
how it looks after loading the page
But then I update the bars when the use changes the values in the dropdown boxes.  I use the following code:

 
 var chart = $("#DiagSkattning").data("kendoChart");
        chart.options.series[indnr-1].data[0]=value;
        chart.refresh();

Open in new window


and it looks like this:
Sk-rmklipp2.PNG
as you can see the chart resizes.

What is causing this and is there anyway to avoid it?
0
soozh
Asked:
soozh
1 Solution
 
leakim971PluritechnicianCommented:
look like its container is resizing because it don't have a fixed height/size
so set height of this container
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now