From 05d030b5e5bd6acb88ac284096b62ea452871594 Mon Sep 17 00:00:00 2001 From: Maksim Date: Thu, 6 May 2021 09:11:41 +0300 Subject: [PATCH] Added 'selected' option to Legend (#47) * Added 'selected' option to Legend * Grouping properties --- src/AntDesign.Charts/Components/Configs/ILegend.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/AntDesign.Charts/Components/Configs/ILegend.cs b/src/AntDesign.Charts/Components/Configs/ILegend.cs index cef73a1..8fb2979 100644 --- a/src/AntDesign.Charts/Components/Configs/ILegend.cs +++ b/src/AntDesign.Charts/Components/Configs/ILegend.cs @@ -31,11 +31,11 @@ namespace AntDesign.Charts public LegendMarker Marker { get; set; } [JsonPropertyName("text")] public LegendText Text { get; set; } + [JsonPropertyName("selected")] + public Dictionary Selected { get; set; } [JsonPropertyName("custom")] public bool Custom { get; set; } - - } public class LegendTitle @@ -83,11 +83,11 @@ namespace AntDesign.Charts public LegendMarker Marker { get; set; } [JsonPropertyName("text")] public LegendText Text { get; set; } + [JsonPropertyName("selected")] + public Dictionary Selected { get; set; } [JsonPropertyName("custom")] public bool Custom { get; set; } - - } }