Skip to content

Commit 26a72de

Browse files
committed
chore(bullet): drop the unused combined-tooltip lines
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent c816f6b commit 26a72de

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

superset-frontend/plugins/plugin-chart-echarts/src/Bullet/transformProps.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,6 @@ export default function transformProps(
105105
(MEASURE_BAR_FRACTION / 2) * gridHeight + 12,
106106
);
107107

108-
// Surface range labels on the measure bar's tooltip
109-
const rangeTooltipLines = [...ranges]
110-
.map((value, i) => ({ value, label: rangeLabels[i] }))
111-
.filter(({ label }) => Boolean(label))
112-
.sort((a, b) => a.value - b.value)
113-
.map(({ value, label }) => `${label}: \u2264 ${formatter(value)}`);
114-
115108
const echartOptions: EChartsCoreOption = {
116109
animation: false,
117110
// A single-measure chart needs no legend; the default one collides

0 commit comments

Comments
 (0)