[PR #313] [CLOSED] Allow manual control legend elements visibility for plots #2115

Closed
opened 2026-01-29 18:17:17 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/radzenhq/radzen-blazor/pull/313
Author: @ArtemkaKun
Created: 12/19/2021
Status: Closed

Base: masterHead: dev/allowManualControlLegendElementsForPlots


📝 Commits (2)

  • 415c206 CartesianSeries - ShowInLegend property public setter was added; default value was set as true
  • 633ba16 Legend.blazor - prevent legend from rendering if series is invisible

📊 Changes

2 files changed (+2 additions, -2 deletions)

View changed files

📝 Radzen.Blazor/CartesianSeries.cs (+1 -1)
📝 Radzen.Blazor/Rendering/Legend.razor (+1 -1)

📄 Description

ShowInLegend property - public setter was added
The default value was set as true to not to break the previous default value (Visible property is true by default)
Preventing legend from rendering, when ShowInLegend is true but Visible is false


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/radzenhq/radzen-blazor/pull/313 **Author:** [@ArtemkaKun](https://github.com/ArtemkaKun) **Created:** 12/19/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dev/allowManualControlLegendElementsForPlots` --- ### 📝 Commits (2) - [`415c206`](https://github.com/radzenhq/radzen-blazor/commit/415c206307f0df97aca0ff11c3c137a6d089a7c9) CartesianSeries - ShowInLegend property public setter was added; default value was set as true - [`633ba16`](https://github.com/radzenhq/radzen-blazor/commit/633ba160114a1da3ee2ea971beeb6dd773beb9f0) Legend.blazor - prevent legend from rendering if series is invisible ### 📊 Changes **2 files changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `Radzen.Blazor/CartesianSeries.cs` (+1 -1) 📝 `Radzen.Blazor/Rendering/Legend.razor` (+1 -1) </details> ### 📄 Description **ShowInLegend** property - public setter was added The default value was set as _true_ to not to break the previous default value (Visible property is _true_ by default) Preventing legend from rendering, when ShowInLegend is _true_ but Visible is _false_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 18:17:17 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#2115