Skip to main content
Version: 4.2

SparklinePointEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.2.0.0)

Provides a snapshot of the sample under the pointer.

public sealed class SparklinePointEventArgs : 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​

Instance member SparklinePointEventArgs(index, value)​

Initializes point event data.

NameTypeDescription
indexInt32Zero-based index in the current rolling window.
valueDoubleAbsolute sample value.

Properties​

Instance member Index​

Int32: Gets the zero-based index in the displayed rolling window.

Instance member Value​

Double: Gets the server-side sample value at the time the event is accepted.