Table of Contents

Class BOBChartSliceHoverArgs<TY>

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

Event args fired when the user hovers a slice on a Pie / Donut chart. Distinct from BOBChartSliceClickArgs<TY> only by intent - allows callers to drive secondary UI (a side panel, a stat readout) off the same hover that already raises the native <title> tooltip.

public sealed class BOBChartSliceHoverArgs<TY>

Type Parameters

TY

Numeric type of the slice value.

Inheritance
object
BOBChartSliceHoverArgs<TY>

Constructors

BOBChartSliceHoverArgs()

public BOBChartSliceHoverArgs()

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 hovered slice.

public string SliceLabel { get; init; }

Property Value

string

Value

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

public TY Value { get; init; }

Property Value

TY