Chartjs-Update charjs dataset using react library

1👍

Have you tried to add redraw={true} to Line component?

<Line
  options={{
    responsive: true
  }}
  data = {this.state.data}
  redraw={true}
/>

If it doesn’t work, can you please provide also handleChange and handleSubmit functions

Leave a comment