SparklinePointEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.2.0.0)
Provides a snapshot of the sample under the pointer.
- C#
- VB.NET
public sealed class SparklinePointEventArgs : EventArgs
Public NotInheritable Class SparklinePointEventArgs
Inherits EventArgs
Derives from or implements EventArgs.
Use Index, Value to access the event data.
Example:
var chart = new Sparkline { Values = new double[] { 10, 20, 15 } };
chart.PointHover += (sender, e) => MessageBox.Show($"Sample {e.Index}: {e.Value}");
Constructors
SparklinePointEventArgs(index, value)
Initializes point event data.
| Name | Type | Description |
|---|---|---|
| index | Int32 | Zero-based index in the current rolling window. |
| value | Double | Absolute sample value. |
Properties
Index
Int32: Gets the zero-based index in the displayed rolling window.
Value
Double: Gets the server-side sample value at the time the event is accepted.