first commit -push
This commit is contained in:
17
RobotNet.WebApp/Charts/Models/Common/ChartLayout.cs
Normal file
17
RobotNet.WebApp/Charts/Models/Common/ChartLayout.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user