Reputation: 10891
The chartjs default tooltips seem to be displaying data incorrectly. No matter which datapoint I hover over, the tooltip label always shows "Week of Jan 24th".
I expected it to show "Week of Jan 31st" when hover over the "Week of Jan 31st" data points and "Last Week" when hovering over the "Last Week" data points. Am I wrong on this?
Upvotes: 1
Views: 1322
Reputation: 357
<LineChart data={this.state.yourData} options={this.state.yourOptions} redraw="true"/>
redraw="true"
Upvotes: 2