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

sophieyou pushed a commit to branch tooltip-copy-updates
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/tooltip-copy-updates by this 
push:
     new e05f2935b4 Update controlPanel.tsx
e05f2935b4 is described below

commit e05f2935b4f4da2d9432778e5f485a266b71a417
Author: yousoph <[email protected]>
AuthorDate: Thu Sep 28 14:58:43 2023 -0700

    Update controlPanel.tsx
---
 superset-frontend/plugins/plugin-chart-table/src/controlPanel.tsx | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/superset-frontend/plugins/plugin-chart-table/src/controlPanel.tsx 
b/superset-frontend/plugins/plugin-chart-table/src/controlPanel.tsx
index 788643e130..c19226b163 100644
--- a/superset-frontend/plugins/plugin-chart-table/src/controlPanel.tsx
+++ b/superset-frontend/plugins/plugin-chart-table/src/controlPanel.tsx
@@ -124,7 +124,9 @@ const percentMetricsControl: typeof sharedControls.metrics 
= {
   ...sharedControls.metrics,
   label: t('Percentage metrics'),
   description: t(
-    'Metrics for which percentage of total are to be displayed. Calculated 
from only data within the row limit.',
+    'Select one or many metrics to display, that will be displayed in the 
percentages of total. ' +
+      'Percentage metrics will be calculated only from data within the row 
limit. ' +
+      'You can use an aggregation function on a column or write custom SQL to 
create a percentage metric.',
   ),
   visibility: isAggMode,
   resetOnHide: false,
@@ -351,7 +353,7 @@ const config: ControlPanelConfig = {
               type: 'CheckboxControl',
               label: t('Sort descending'),
               default: true,
-              description: t('Whether to sort descending or ascending'),
+              description: t('If enabled, this control sorts the 
results/values descending, otherwise it sorts the results ascending.'),
               visibility: isAggMode,
               resetOnHide: false,
             },
@@ -455,7 +457,7 @@ const config: ControlPanelConfig = {
               renderTrigger: true,
               default: true,
               description: t(
-                'Whether to colorize numeric values by if they are positive or 
negative',
+                'Whether to colorize numeric values by whether they are 
positive or negative',
               ),
             },
           },

Reply via email to