react-chartjs icon indicating copy to clipboard operation
react-chartjs copied to clipboard

Updating labels should update tooltips

Open gkrinc opened this issue 9 years ago • 1 comments

When I change the data in the <LineChart /> it renders and shows the updated data but the tooltip labels are wrong...they're always showing the first x-axis label: http://stackoverflow.com/questions/35447775/why-are-the-chartjs-tooltip-labels-always-showing-the-first-x-axis-label

Setting redraw to true <LineChart redraw={true} /> resolves the issue, but this seems like a weird approach.

gkrinc avatar Feb 17 '16 17:02 gkrinc

+1

MathiasLund avatar Apr 09 '16 12:04 MathiasLund