Table of Contents

Class BOBChartSliceClickArgs<TY>

Namespace
BlazOrbit.Charts.Models
Assembly
BlazOrbit.Charts.dll

Event args fired when the user clicks a slice on a Pie / Donut chart.

public sealed class BOBChartSliceClickArgs<TY>

Type Parameters

TY

Numeric type of the slice value.

Inheritance
object
BOBChartSliceClickArgs<TY>

Constructors

BOBChartSliceClickArgs()

public BOBChartSliceClickArgs()

Properties

Percentage

Percentage the slice represents of the total (0..100).

public double Percentage { get; init; }

Property Value

double

SliceIndex

Index of the slice in declaration order (0-based).

public int SliceIndex { get; init; }

Property Value

int

SliceLabel

Display label of the clicked slice.

public string SliceLabel { get; init; }

Property Value

string

Value

Raw value of the clicked slice (pre-normalisation).

public TY Value { get; init; }

Property Value

TY