Commit 5da3eeb
authored
fix: manual config not working for ChartJS charts (#1257)
Move override() to after settings.plugins.tooltip is assigned and
before new Chart(), so manual config is applied last. Also change
$.extend to deep merge so nested plugin options merge rather than
replace, preserving tooltip callbacks.1 parent 1d599d3 commit 5da3eeb
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
| 152 | + | |
151 | 153 | | |
152 | 154 | | |
153 | 155 | | |
| |||
234 | 236 | | |
235 | 237 | | |
236 | 238 | | |
237 | | - | |
238 | | - | |
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
| |||
501 | 501 | | |
502 | 502 | | |
503 | 503 | | |
504 | | - | |
| 504 | + | |
505 | 505 | | |
506 | 506 | | |
507 | 507 | | |
| |||
0 commit comments