We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Essential JS2

Syncfusion jQuery based widgets are no longer in active development. Switch to our pure JavaScript based next generation Essential JS 2 library.

Syncfusion Feedback

How to use the redraw method of chart?

Platform: jQuery |
Control: ejChart |
Product Version:

The redraw method is used to dynamically refresh the chart content and redraw the chart based on the updated values. Refer to the following code example that explains you how to redraw and update the chart on button click by using redraw method.


<div id="container"></div>
<button onclick="Redraw()"> Redraw </button>
<script type="text/javascript">
    series: [{
        points: [{ x: "Jan", y: 33 }, { x: "Feb", y: 18 },
            { x: "Mar", y: 10 }, { x: "Apr", y: 28 }, { x: "May", y: 29 }, { x: "Jun", y: 30 },
            { x: "Jul", y: 33 }, { x: "Aug", y: 32 }, { x: "Sep", y: 54 }, { x: "Oct", y: 32 },
            { x: "Nov", y: 52 }, { x: "Dec", y: 31 }
        ], name: 'India', type: 'spline',  
            shape: 'circle',
                height: 6, width: 6
            visible: true
function Redraw() {
    chartObj = $("#container").ejChart("instance");
    chartObj.model.series[0].points[5].y = 5;


JS Playground Link: Redraw

The following screenshot displays the Chart on page load.

The Chart on page load

The following screenshot displays the Chart after calling Redraw method.

The Chart after calling Redraw method


You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile