score:0
You could just manually call the redraw method:
chart.redraw();
score:6
In the api reference I see the method setVisible(): "A utility function to show or hide the series with an optional redraw.". I think that's what you're looking for?
UPDATE: added JS Fiddle, see: http://jsfiddle.net/UTC6e/1/
So you could first setVisible to false, then set the new data, and at the end setVisible to true and tell the chart to redraw (second boolean argument).
chart.series[0].setVisible(false);
chart.series[0].setData([229.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4, 29.9, 71.5, 106.4] );
chart.series[0].setVisible(true, true);
score:10
You can remove actual series, and add new one. Initial animation is different from all others (clip path is animated, not series itself).
See example: http://jsfiddle.net/UTC6e/2/
chart.series[0].remove();
chart.addSeries({data:[229.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4, 29.9, 71.5, 106.4]} );
Source: stackoverflow.com
Related Query
- Highcharts loading animation after setdata
- highcharts how to have loading animation after data update?
- Automatically zooming in on highcharts after loading
- Highcharts How to Show Loading Animation At Set Data
- highcharts piechart redraw with animation after setData()
- Highcharts chart not loading after AJAX call to insert partial containing chart
- Highcharts area graph animation on setData
- Is to possible to delay the needle loading animation in Highcharts angular gauge?
- Highcharts Render Text after animation
- I want to add a loading spinner or add some dialog until highcharts get loaded and should close after chart is loaded in react typescript?
- HighCharts turn animation false for line chart
- Python: Read data from Highcharts after setExtreme
- Loading Highcharts via shim using RequireJS and maintaining jQuery dependency
- Loading Highcharts with require.js
- Get Highcharts Series Data after Load
- Turning off animation in HighCharts globally
- Change Highcharts tooltip formatter from chart Object , after chart is rendered
- Highcharts 'Reset Zoom' after calling setExtremes
- Highcharts series update with animation
- Loading several large dataset in Highcharts
- Execute function after zoom highcharts
- Highcharts bars are half missing after drillup
- Loading multiple Highcharts with jquery.load
- Render Highcharts after user updated labels
- highcharts organization chart is throwing error when loading module
- Highcharts - Updating a chart's option after initial render
- Loading Highcharts series from XML using jQuery
- Highcharts - column chart redraw animation
- Highcharts drilldown - when useing setData chart doesn't stay drilled down
- Highcharts loading image
More Query from same tag
- highcharts get all of the minimum points of the chart
- How to extract values from JSON
- Dynamic Highstock chart when no data at start
- Highcharts label grouping
- Buttons not working on subsequent tabs to redraw chart in Highcharts
- Highcharts - xAxis label for each point
- Default highstock zoom without rangeSelector buttons
- Highcharts different data same chart
- Highcharts multiple charts, each with live data
- Generate HighChart Colors Before Drawing Chart?
- Stacked, grouped column chart with variable width of x points
- Highcharts change look of tooltip
- Moving highchart to the left when there is a Y-axis title
- Highstock: Can we rotate 90 degrees a candlestick chart?
- Display List of array objects in highcharts
- Highcharts How to add data label to last data point of a series
- How can I save HighCharts image into the project folder in PHP?
- Change color in specific columns w/ multiple series
- How to include RSI and Volume in the same chart?
- Highcharts-ng stock chart gives "TypeError: Cannot read property 'hoverSeries' of undefined" when loading data asynchronously
- highcharts strange area offset error when combined with xrange
- Synchronize two highcharts to drill down at once
- 3D Pie Drilldown chart in highcharts
- How to add border-radius to the marker pop
- How do I get Highcharts chart redraw to move faster?
- change particular line chart series colour dynamically in highcharts
- How to remove axis labels without data points in Highcharts?
- highcharts - How to sort xAxis category by total?
- Highcharts data module JSON api call setTimeout 30 sek
- how to show data label only on drilldown pie?