using RobotNet.WebApp.Charts.Enums; using System.Text.Json.Serialization; namespace RobotNet.WebApp.Charts.Models.Common; public class ChartAnimation { /// /// Gets or sets the number of milliseconds an animation takes. /// [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] public long? Duration { get; set; } /// /// Delay before starting the animations. /// public int Delay { get; set; } /// /// If set to true, the animations loop endlessly. /// public bool Loop { get; set; } /// /// Gets or sets the easing function to use. /// public Easing Easing { get; set; } }