Project

ChartForgeX

Render deterministic charts, dashboards, topology, hierarchy, and report visuals directly from .NET.

Stars 47
Forks 2
NuGet downloads 75,067
Release ChartForgeX-v2.0.0
Language: HTML Updated: 2026-10-12

API Reference

Struct

ChartPieSliceLabelContext

Namespace ChartForgeX.Core
Assembly ChartForgeX
Base ValueType
Modifiers sealed

Provides pie and donut slice values to custom slice label formatters.

Inheritance

  • ValueType
  • ChartPieSliceLabelContext

Usage

Explore 2 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 1

Constructors

public ChartPieSliceLabelContext(String seriesName, String label, Double value, Double percent, String formattedValue, String formattedPercent, Int32 pointIndex) #

Initializes a new instance of the ChartPieSliceLabelContext struct.

Parameters

seriesName System.String requiredposition: 0
label System.String requiredposition: 1
value System.Double requiredposition: 2
percent System.Double requiredposition: 3
formattedValue System.String requiredposition: 4
formattedPercent System.String requiredposition: 5
pointIndex System.Int32 requiredposition: 6

Properties

public String SeriesName { get; } #

Gets the series name.

public String Label { get; } #

Gets the slice category label.

public Double Value { get; } #

Gets the raw slice value.

public Double Percent { get; } #

Gets the slice percentage as a ratio from zero to one.

public String FormattedValue { get; } #

Gets the slice value formatted with the chart value formatter.

public String FormattedPercent { get; } #

Gets the slice percentage formatted as display text.

public Int32 PointIndex { get; } #

Gets the zero-based point index.