using System.Text.Json.Serialization; namespace RobotNet.WebApp.Charts.Enums; [JsonConverter(typeof(LowerCaseEnumConverter))] public enum InteractionMode { /// /// Finds items in the same dataset. /// Dataset, /// /// Finds item at the same index. /// Index, /// /// Gets the items that are at the nearest distance to the point. /// Nearest, /// /// Finds all of the items that intersect the point /// Point, /// /// Returns all items that would intersect based on the X coordinate of the position only. Would be useful for a vertical cursor implementation. Note that this only applies to cartesian charts. /// X, /// /// Returns all items that would intersect based on the Y coordinate of the position. This would be useful for a horizontal cursor implementation. Note that this only applies to cartesian charts. /// Y }