Skip to main content
Version: 4.2

SeriesPointEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.2.0.0)

Identifies the server-side series and sample selected by a chart interaction.

public class SeriesPointEventArgs : EventArgs

Derives from or implements EventArgs.

Use Series, SeriesIndex, PointIndex to access the event data.

Example:

chart.PointClick += (sender, e) => Console.WriteLine(e.Point.Category);

Constructors​

Instance member SeriesPointEventArgs(series, seriesIndex, pointIndex, point)​

Creates an immutable interaction snapshot.

NameTypeDescription
seriesChartSeriesSelected series.
seriesIndexInt32Series position.
pointIndexInt32Sample position, or -1 for a legend item.
pointChartPointSample, or null for a legend item.

Properties​

Instance member Point​

ChartPoint: Gets the sampled value and source record in Tag, or null for a legend item.

Instance member PointIndex​

Int32: Gets the sample position, or -1 for a legend item.

Instance member Series​

ChartSeries: Gets the selected series.

Instance member SeriesIndex​

Int32: Gets the series position.