This is an automated email from the ASF dual-hosted git repository.

sophieyou pushed a commit to branch query-identifier-control
in repository https://gitbox.apache.org/repos/asf/superset.git

commit e50e378d8b70844ca86460e07dc0a85c07390ef1
Author: yousoph <sophieyo...@gmail.com>
AuthorDate: Wed Jul 16 23:31:23 2025 -0700

    Update controlPanel.tsx
---
 .../src/MixedTimeseries/controlPanel.tsx                    | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git 
a/superset-frontend/plugins/plugin-chart-echarts/src/MixedTimeseries/controlPanel.tsx
 
b/superset-frontend/plugins/plugin-chart-echarts/src/MixedTimeseries/controlPanel.tsx
index 6bc7643c84..2f2bdd15ba 100644
--- 
a/superset-frontend/plugins/plugin-chart-echarts/src/MixedTimeseries/controlPanel.tsx
+++ 
b/superset-frontend/plugins/plugin-chart-echarts/src/MixedTimeseries/controlPanel.tsx
@@ -359,6 +359,19 @@ const config: ControlPanelConfig = {
         [xAxisLabelRotation],
         [xAxisLabelInterval],
         ...richTooltipSection,
+        [
+        {
+          name: 'show_query_identifiers',
+          config: {
+            type: 'CheckboxControl',
+            label: t('Show query identifiers'),
+            description: t('Adds Query A and Query B identifiers to metrics to 
help differentiate series'),
+            default: false,
+            renderTrigger: true,
+            visibility: ({ controls }) => 
Boolean(controls?.rich_tooltip?.value),
+          },
+        },
+      ],
         // eslint-disable-next-line react/jsx-key
         [<ControlSubSectionHeader>{t('Y Axis')}</ControlSubSectionHeader>],
         [

Reply via email to