Skip to content
ChartForgeX
Class

ChartLegendOptions

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Modifiers
sealed

Configures legend keys, entry text and custom entries. Placement and density stay on ChartOptions.

Inheritance

  • object
  • ChartLegendOptions

Usage

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

Constructors

public ChartLegendOptions() #

Properties

public ChartLegendKeyShape KeyShape { get; set; } #

Gets or sets the key every series entry draws. ChartLegendKeyShape.Auto keeps the family's own key.

public double? KeySize { get; set; } #

Gets or sets the key size from 4 through 24 chart pixels, or null for the default ten-pixel key. A line key is 1.4 times as long.

public Func<ChartLegendItemContext, string?>? ItemFormatter { get; set; } #

Gets or sets a formatter that rewrites entry text. A null result keeps the default label.

public Collection<ChartLegendItem> Items { get; } #

Gets the custom entries listed after the series entries.