Skip to content

[ENHANCEMENT] GaugeChart: Add show legend flag#286

Merged
shahrokni merged 1 commit intoperses:mainfrom
shahrokni:feat/add-legend-flag-cue-gauge-chart
Aug 29, 2025
Merged

[ENHANCEMENT] GaugeChart: Add show legend flag#286
shahrokni merged 1 commit intoperses:mainfrom
shahrokni:feat/add-legend-flag-cue-gauge-chart

Conversation

@shahrokni
Copy link
Contributor

@shahrokni shahrokni commented Aug 29, 2025

Closes perses/perses#3252

Description 🖊️

This change adds a bool switch option to the Gauge Spec Settings panel by which the users can choose to show or hide the legend.

TEST 🧪

  1. Add two gauges with and without legends.
  2. Edit an existing gauge. It should have show legend set to true by default to keep the current behavior. You can set it to false and disable the legend.

Screenshots

image

Checklist

  • Pull request has a descriptive title and context useful to a reviewer.
  • Pull request title follows the [<catalog_entry>] <commit message> naming convention using one of the
    following catalog_entry values: FEATURE, ENHANCEMENT, BUGFIX, BREAKINGCHANGE, DOC,IGNORE.
  • All commits have DCO signoffs.

UI Changes

  • Changes that impact the UI include screenshots and/or screencasts of the relevant changes.
  • Code follows the UI guidelines.

@shahrokni shahrokni force-pushed the feat/add-legend-flag-cue-gauge-chart branch from 00d1d83 to 8cd0225 Compare August 29, 2025 09:34
@shahrokni shahrokni marked this pull request as ready for review August 29, 2025 09:45
@shahrokni shahrokni force-pushed the feat/add-legend-flag-cue-gauge-chart branch 2 times, most recently from 7cfb4a3 to a2b4256 Compare August 29, 2025 13:25
@shahrokni shahrokni force-pushed the feat/add-legend-flag-cue-gauge-chart branch from a2b4256 to 663b166 Compare August 29, 2025 13:31
@shahrokni shahrokni force-pushed the feat/add-legend-flag-cue-gauge-chart branch from 663b166 to 3b0df8b Compare August 29, 2025 13:39
Signed-off-by: Seyed Mahmoud SHAHROKNI <seyedmahmoud.shahrokni@amadeus.com>

Signed-off-by: Seyed Mahmoud SHAHROKNI <seyedmahmoud.shahrokni@amadeus.com>

Signed-off-by: Seyed Mahmoud SHAHROKNI <seyedmahmoud.shahrokni@amadeus.com>

Signed-off-by: Seyed Mahmoud SHAHROKNI <seyedmahmoud.shahrokni@amadeus.com>

Signed-off-by: Seyed Mahmoud SHAHROKNI <seyedmahmoud.shahrokni@amadeus.com>

Signed-off-by: Seyed Mahmoud SHAHROKNI <seyedmahmoud.shahrokni@amadeus.com>

Signed-off-by: Seyed Mahmoud SHAHROKNI <seyedmahmoud.shahrokni@amadeus.com>
@shahrokni shahrokni force-pushed the feat/add-legend-flag-cue-gauge-chart branch from 3b0df8b to eb741db Compare August 29, 2025 13:41
@AntoineThebaud AntoineThebaud changed the title [ENHANCEMENT] Add show legend flag to the guage cue [ENHANCEMENT] GaugeChart: Add show legend flag Aug 29, 2025
@shahrokni shahrokni added this pull request to the merge queue Aug 29, 2025
Merged via the queue into perses:main with commit f86b97b Aug 29, 2025
13 checks passed
@shahrokni shahrokni deleted the feat/add-legend-flag-cue-gauge-chart branch August 29, 2025 14:07
rafi-ruetcse17 pushed a commit to opnpulse/perses_plugins that referenced this pull request Sep 1, 2025
Signed-off-by: Seyed Mahmoud SHAHROKNI <seyedmahmoud.shahrokni@amadeus.com>
abelyakin pushed a commit to abelyakin/plugins that referenced this pull request Jan 14, 2026
Signed-off-by: Seyed Mahmoud SHAHROKNI <seyedmahmoud.shahrokni@amadeus.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GaugeChart: add option to show/hide legend

3 participants