fix(plugin-chart-echarts): clarify Tooltip sort by metric description for stacked charts (#42106)

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
yousoph
2026-07-16 10:58:43 -07:00
committed by GitHub
parent 661535e390
commit 2dfd08fdb3

View File

@@ -279,7 +279,7 @@ const tooltipSortByMetricControl: ControlSetItem = {
renderTrigger: true,
default: false,
description: t(
'Whether to sort tooltip by the selected metric in descending order.',
'Whether to sort tooltip by the selected metric in descending order. On stacked charts, values are shown in ascending order.',
),
visibility: ({ controls }: ControlPanelsContainerProps) =>
Boolean(controls?.rich_tooltip?.value),