From 28d69084da60542dd27bc91c39b892b5ac29c44f Mon Sep 17 00:00:00 2001 From: Mischa Spelt Date: Thu, 1 Aug 2024 11:15:52 +0200 Subject: [PATCH] Added descriptions to the Interaction Modes. --- .../Charts/ChartOptions/ChartOptions.cs | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/blazorbootstrap/Models/Charts/ChartOptions/ChartOptions.cs b/blazorbootstrap/Models/Charts/ChartOptions/ChartOptions.cs index 6d0c4877e..17295a7fc 100644 --- a/blazorbootstrap/Models/Charts/ChartOptions/ChartOptions.cs +++ b/blazorbootstrap/Models/Charts/ChartOptions/ChartOptions.cs @@ -148,11 +148,34 @@ public InteractionMode Mode 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 }