Table of Contents

Interface IChartElementClickEventArgs

Namespace
GroupeIsa.Neos.Designer.UIAbstractions
Assembly
GroupeIsa.Neos.Designer.UIAbstractions.dll

Represents the arguments of the click event on a chart data element (pie slice, bar, point...).

public interface IChartElementClickEventArgs

Properties

DatasetIndex

Gets the index of the clicked element's dataset in the chart data's datasets.

int DatasetIndex { get; }

Property Value

int

DatasetLabel

Gets the label of the clicked element's dataset, or null when there is none.

string? DatasetLabel { get; }

Property Value

string

Index

Gets the index of the clicked element in its dataset, also its index in the chart data's labels. Use it to find the business item the element was built from in the source list of the chart data.

int Index { get; }

Property Value

int

Label

Gets the chart data's label at the clicked element's index, or null when there is none.

string? Label { get; }

Property Value

string

Value

Gets the value of the clicked element when it is a number, or null when it is an object (e.g. a scatter or bubble point).

decimal? Value { get; }

Property Value

decimal?