using System.Text.Json.Serialization;
namespace RobotNet.WebApp.Charts.Models.BarChart.Axes;
public class ChartAxesBorder
{
///
/// The color of the border line.
///
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Color { get; set; }
///
/// Length and spacing of dashes on grid lines
///
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List? Dash { get; set; }
///
/// Offset for line dashes.
///
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public int? DashOffset { get; set; }
///
/// If , draw a border at the edge between the axis and the chart area.
///
public bool Display { get; set; } = true;
///
/// The width of the border line.
///
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public int? Width { get; set; }
///
/// z-index of the border layer. Values <= 0 are drawn under datasets, > 0 on top.
///
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public int? Z { get; set; }
}