Kaspatoo

Results 6 comments of Kaspatoo

as a workaround I also failed with that: (we extended react.component) ` componentDidMount() { const config = { type: this.props.type, plugins: [ChartDataLabels], data: this.state.data, options: this.props.options ? this.props.options : {}...

I dont know how is there a codepen available from the samples? maybe one with the functionality to update?

can you extend it having a button which calls the update chart function giving new data into?

there it is: https://codepen.io/kaspatoo/pen/zYWQPoE i guess its having to do with setting the data directly but not using pop on the dataset? may some eventlistener is thrown away? but as...

@kurkle have you noticed my code sample? didnt hear something

popping and pushing elements leads to the same effect: ` componentDidUpdate() { var origin = this.chart.data.datasets; var destination = this.state.data.datasets; //Intially set data if(origin.length == 0){ this.chart.data = this.state.data; }else{...