Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

It appears that the initial animation only works for line plots. I have tried column and pie with no success.

Using the demo at

I added the below properties to the config object and get a bar chart but no animation.

    type: "column"
  plotOptions: {
    series: {
      animation: {
        duration: 2000

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:8
  • Comments:24 (3 by maintainers)

github_iconTop GitHub Comments

jordancardwellcommented, Dec 21, 2016

Just realized that my solution had a flaw with somewhat of a race condition… here is the slightly better (but no less hacky) solution

  import Highcharts from 'highcharts'
  let chartReflow = undefined;
  componentDidUpdate() {
    const chart = this.refs.chart ? this.refs.chart.getChart() : {}
    chartReflow = chartReflow || chart.reflow
    chart.reflow = () => {}
    setTimeout(() => (chart.reflow = chartReflow))

my first solution didn’t work for one of my charts… componentDidUpdate seemed to be getting triggered before the timeout completed, so i then saved the reference to the empty chartReflow that we had just set an instant before…

this workaround makes sure to only ever save a reference to the legitimate reflow function ( @charliehavak ☝️ )

charliehavakcommented, Dec 18, 2016

Currently I overcame this with the following hack:

class Chart extends React.Component {

	componentDidUpdate() {
		let chart = this.refs.chart.getChart();
		chart.reflow = () => {};

	render() {
		return (
			<HighchartsReact config={this.props.config} ref="chart"/>
Read more comments on GitHub >

github_iconTop Results From Across the Web

Animation - Wikipedia
Animation is a method by which still figures are manipulated to appear as moving images. In traditional animation, images are drawn or painted...
Read more >
Animation Magazine: Home
TV & Streaming Bytes: December Series Sales · Animation Magazine - December 22, 2022.
Read more >
Animation | History, Movies, Television, & Facts | Britannica
animation, the art of making inanimate objects appear to move. Animation is an artistic impulse that long predates the movies.
Read more >
Animaker, Make Animated Videos on Cloud for free
Animaker is an online do-it-yourself (#DIY) animation video maker that brings studio quality presentations within everyone's reach. Animated Videos ...
Read more >
Animation World Network | Celebrating the Art, Craft and ...
The Emmy Award-winning animation studio teams up with the Nouns DAO digital art community to usher in 2023, designing and building a 65-foot-long...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found