Solved

Kendo chart refresh causes resize.

Posted on 2014-10-23
1
239 Views
Last Modified: 2014-11-17
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
Comment
Question by:soozh
1 Comment
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
ID: 40400729
look like its container is resizing because it don't have a fixed height/size
so set height of this container
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now