using System.Text.Json.Serialization; namespace RobotNet.WebApp.Charts.Models.Common.Plugins; public class ChartPlugins { /// /// The chart legend displays data about the datasets that are appearing on the chart. /// public ChartPluginsLegend Legend { get; set; } = new(); /// /// The chart title defines text to draw at the top of the chart. /// [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] public ChartPluginsTitle? Title { get; set; } /// /// Tooltip for the element. /// [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] public ChartPluginsTooltip? Tooltip { get; set; } /// /// DataLabels for the element. /// [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] public ChartPluginsDataLabels? Datalabels { get; set; } /// /// Subtitle for the element. /// [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] public ChartPluginsSubtitle? Subtitle { get; set; } }