VisualFrame
ChartForgeX.Rendering
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
- Property VisualRenderContext.Frame
Accepted by parameters 1
- Constructor VisualRenderContext.VisualRenderContext
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
- subtitle string? = null
- showLegend bool? = null
- legendPosition ChartForgeX.Core.ChartLegendPosition? = null
- showSurface bool = false
- transparentBackground bool = false
- titleStyle ChartForgeX.Typography.TextStyle? = null
- subtitleStyle ChartForgeX.Typography.TextStyle? = null
- legendStyle ChartForgeX.Typography.TextStyle? = null
- legendMaximumRows int? = null
- legendMaximumHeightFraction double = 0.35
- showCard bool = false
- legendTitle string? = null
Inherited Methods
Properties
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.