Commit e508645
fix(heatmap): correct tooltip display to show axis values instead of indices
The tooltip was showing numeric indices (0, 1, 2...) instead of the actual
axis values after PR #36302 changed the data structure to use indices.
This fix looks up the actual x/y axis values from the sorted arrays before
formatting them for display in the tooltip. Also fixes percentage calculation
to use actual values instead of indices when normalizeAcross is enabled.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent a6c0d63 commit e508645
File tree
1 file changed
+18
-6
lines changed- superset-frontend/plugins/plugin-chart-echarts/src/Heatmap
1 file changed
+18
-6
lines changedLines changed: 18 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
373 | | - | |
374 | | - | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
375 | 377 | | |
376 | | - | |
377 | | - | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
378 | 390 | | |
379 | 391 | | |
380 | 392 | | |
381 | 393 | | |
382 | 394 | | |
383 | | - | |
| 395 | + | |
384 | 396 | | |
385 | 397 | | |
386 | | - | |
| 398 | + | |
387 | 399 | | |
388 | 400 | | |
389 | 401 | | |
| |||
0 commit comments