23 lines
697 B
C#
23 lines
697 B
C#
using RobotNet.WebApp.Charts.Enums;
|
|
using RobotNet.WebApp.Charts.Models.BarChart;
|
|
using System.Text.Json.Serialization;
|
|
using RobotNet.WebApp.Charts.Models.Common;
|
|
|
|
namespace RobotNet.WebApp.Charts.Models.ScatterChart;
|
|
|
|
public class ScatterChartOptions : ChartOptions
|
|
{
|
|
/// <summary>
|
|
/// The base axis of the dataset. 'x' for horizontal lines and 'y' for vertical lines.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Default value is 'x'.
|
|
/// </remarks>
|
|
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
|
public IndexAxis? IndexAxis { get; set; }
|
|
|
|
public ScatterChartPlugins Plugins { get; set; } = new();
|
|
|
|
public BarScales Scales { get; set; } = new();
|
|
}
|