RobotNet/RobotNet.WebApp/Charts/Models/Common/ChartLayout.cs
2025-10-15 15:15:53 +07:00

18 lines
476 B
C#

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