Solved

Kendo chart refresh causes resize.

Posted on 2014-10-23
1
258 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Today I would like to talk about localizing (Internationalization) JavaScript applications. Introduction When creating an application that is going to be used by many people around the globe, it is important to remember that not everyone speak…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
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…

821 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