From 08c1c6df69bd46432df306d2e7106a663092f24b Mon Sep 17 00:00:00 2001 From: Kimberly Hart <103072652+khartco@users.noreply.github.com> Date: Tue, 14 Jan 2025 16:29:20 -0700 Subject: [PATCH] [DEV-9281] Bar Charts: labels and outline enabled by default, add tooltips recommending to remain enabled --- .../components/Panels/Panel.General.tsx | 4 ++++ .../components/Panels/Panel.Visual.tsx | 15 +++++++++++++++ packages/chart/src/data/initial-state.js | 4 ++-- 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/packages/chart/src/components/EditorPanel/components/Panels/Panel.General.tsx b/packages/chart/src/components/EditorPanel/components/Panels/Panel.General.tsx index a71bbd0c0..4d8ebcc82 100644 --- a/packages/chart/src/components/EditorPanel/components/Panels/Panel.General.tsx +++ b/packages/chart/src/components/EditorPanel/components/Panels/Panel.General.tsx @@ -209,6 +209,10 @@ const PanelGeneral: FC = props => { +

+ Recommended set to display for Section 508 compliance. +

+

Selecting this option will not hide the display of "zero value", "suppressed data", or "missing data" indicators on the chart (if applicable). diff --git a/packages/chart/src/components/EditorPanel/components/Panels/Panel.Visual.tsx b/packages/chart/src/components/EditorPanel/components/Panels/Panel.Visual.tsx index 8eb3a3872..099c1a3ea 100644 --- a/packages/chart/src/components/EditorPanel/components/Panels/Panel.Visual.tsx +++ b/packages/chart/src/components/EditorPanel/components/Panels/Panel.Visual.tsx @@ -138,6 +138,21 @@ const PanelVisual: FC = props => { )} {visHasBarBorders() && (