Solved

Kendo chart refresh causes resize.

Posted on 2014-10-23
1
262 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

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!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
This article discusses how to implement server side field validation and display customized error messages to the client.
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…
Suggested Courses

739 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