using System.Text.Json.Serialization;
namespace RobotNet.WebApp.Charts.Models.Common.Elements;
public class ChartElements
{
///
/// Arcs are used in the polar area, doughnut and pie charts.
///
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public Arc? Arc { get; set; }
///
/// Bar elements are used to represent the bars in a bar chart.
///
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public Bar? Bar { get; set; }
///
/// Line elements are used to represent the line in a line chart.
///
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public Line? Line { get; set; }
///
/// Point elements are used to represent the points in a line, radar or bubble chart.
///
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public Point? Point { get; set; }
}