Skip to content
ChartForgeX
Enum

ChartSeriesColorAssignment

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Base
Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers
sealed

How series without an explicit colour pick their theme palette colour.

Inheritance

  • Enum
  • ChartSeriesColorAssignment

Usage

Explore 5 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.

Accepted by parameters 1

Values

public const ChartSeriesColorAssignment Order #

Series take distinct categorical colours in series order, extending the base palette with shades when needed.

Value: 0
public const ChartSeriesColorAssignment Identity #

Series with an explicit ChartSeriesId take a palette colour derived from that identifier, so the same series keeps its colour across linked charts unless identifiers collide in the base palette. Collisions resolve in identifier order; adding or removing a colliding identifier can change its assigned shade. Use explicit colours when that mapping must be fixed.

Value: 1