Skip to content
ChartForgeX
Struct

ChartSunburstLabelContext

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Base
ValueType
Modifiers
sealed

Provides authored hierarchy facts and the resolved size to a Sunburst label formatter.

Inheritance

  • ValueType
  • ChartSunburstLabelContext

Usage

Explore 3 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Accepted by parameters 2

Constructors

public ChartSunburstLabelContext(ChartHierarchyItem item, double value, string formattedValue) #

Initializes a label context with the copied hierarchy item, resolved size and chart-formatted size.

Parameters

item ChartForgeX.Core.ChartHierarchyItem required
value double required
formattedValue string required

Properties

public ChartHierarchyItem Item { get; } #

Gets the authored item. Its nullable ChartHierarchyItem.Value remains the supplied size.

public double Value { get; } #

Gets the size resolved under ChartSunburstOptions.ParentValuePolicy.

public string FormattedValue { get; } #

Gets the resolved size formatted with the chart's shared value formatter.