mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-29 04:04:07 -06:00
Bug 798154 - Tooltips wrong when multiple charts in one report
with multiple chartjs on one page this fix will pick up the correct data.
This commit is contained in:
parent
170502c6c5
commit
7c323b222d
@ -357,7 +357,7 @@ function tooltipLabel(tooltipItem,data) {
|
||||
}
|
||||
|
||||
function tooltipTitle(array,data) {
|
||||
return chartjsoptions.data.labels[array[0].index]; }
|
||||
return data.labels[array[0].index]; }
|
||||
|
||||
// draw the background color
|
||||
Chart.pluginService.register({
|
||||
|
Loading…
Reference in New Issue
Block a user