using System.Text.Json.Serialization;
namespace RobotNet.WebApp.Charts.Models.Common;
public class ChartLayout
{
///
/// The padding to add inside the chart
///
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public ChartPadding? Padding { get; set; }
///
/// Apply automatic padding so visible elements are completely drawn.
///
public bool AutoPadding { get; set; } = true;
}