using System.Text.Json.Serialization; namespace RobotNet.WebApp.Charts.Models.Common.Plugins; public class ChartPluginsLegendTitle { /// /// Color of the legend. Default value is 'black'. /// [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] public string? Color { get; set; } /// /// Is the legend title displayed. /// public bool Display { get; set; } = true; /// /// Padding around the title. /// [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] public ChartPadding? Padding { get; set; } /// /// The string title /// [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] public string? Text { get; set; } /// /// Font Legend Title /// [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] public ChartFont? Font { get; set; } }