Skip to content
ChartForgeX
Class

VisualFrame

ChartForgeX.Rendering

Namespace
ChartForgeX.Rendering
Assembly
ChartForgeX
Modifiers
sealed

Common title, subtitle, legend and surface configuration.

Inheritance

  • object
  • VisualFrame

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 VisualFrame(string? title = null, string? subtitle = null, bool? showLegend = null, ChartLegendPosition? legendPosition = null, bool showSurface = false, bool transparentBackground = false, TextStyle? titleStyle = null, TextStyle? subtitleStyle = null, TextStyle? legendStyle = null, int? legendMaximumRows = null, double legendMaximumHeightFraction = 0.35, bool showCard = false, string? legendTitle = null) #

Creates an immutable frame configuration.

Parameters

title string? = null optional
subtitle string? = null optional
showLegend bool? = null optional
legendPosition ChartForgeX.Core.ChartLegendPosition? = null optional
showSurface bool = false optional
transparentBackground bool = false optional
titleStyle ChartForgeX.Typography.TextStyle? = null optional
subtitleStyle ChartForgeX.Typography.TextStyle? = null optional
legendStyle ChartForgeX.Typography.TextStyle? = null optional
legendMaximumRows int? = null optional
legendMaximumHeightFraction double = 0.35 optional
showCard bool = false optional
legendTitle string? = null optional

Properties

public string? Title { get; } #

Gets the title.

public string? Subtitle { get; } #

Gets the subtitle.

public bool ShowLegend { get; } #

Gets the requested legend visibility. When omitted, the producer resolves its data-aware default.

public string? LegendTitle { get; } #

Gets an optional measured heading above the legend entries. Null uses the producer's source title.

public ChartLegendPosition LegendPosition { get; } #

Gets the legend placement.

public bool ShowSurface { get; } #

Gets whether the content surface is filled.

public bool ShowCard { get; } #

Gets whether the complete frame has an elevated card, independently of the content surface.

public bool TransparentBackground { get; } #

Gets whether the outer canvas has no background paint, for overlays and embedding.

public TextStyle? TitleStyle { get; } #

Gets a defensive copy of the explicit heading typography.

public TextStyle? SubtitleStyle { get; } #

Gets a defensive copy of the explicit subtitle typography.

public TextStyle? LegendStyle { get; } #

Gets a defensive copy of the explicit legend typography.

public int? LegendMaximumRows { get; } #

Gets the additional legend row limit, including any overflow summary row. Null uses only the height budget.

public double LegendMaximumHeightFraction { get; } #

Gets the maximum fraction of the full viewport height occupied by the legend and its spacing.