API Reference
VisualFrame
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, Boolean? showLegend = null, ChartLegendPosition? legendPosition = null, Boolean showSurface = false, Boolean transparentBackground = false, TextStyle? titleStyle = null, TextStyle? subtitleStyle = null, TextStyle? legendStyle = null, Int32? legendMaximumRows = null, Double legendMaximumHeightFraction = 0.35, Boolean showCard = false, String? legendTitle = null) #Creates an immutable frame configuration.
Parameters
- title System.String? = null
- subtitle System.String? = null
- showLegend System.Boolean? = null
- legendPosition ChartForgeX.Core.ChartLegendPosition? = null
- showSurface System.Boolean = false
- transparentBackground System.Boolean = false
- titleStyle ChartForgeX.Typography.TextStyle? = null
- subtitleStyle ChartForgeX.Typography.TextStyle? = null
- legendStyle ChartForgeX.Typography.TextStyle? = null
- legendMaximumRows System.Int32? = null
- legendMaximumHeightFraction System.Double = 0.35
- showCard System.Boolean = false
- legendTitle System.String? = null
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public String? Title { get; } #Gets the title.
public String? Subtitle { get; } #Gets the subtitle.
public Boolean 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 Boolean ShowSurface { get; } #Gets whether the content surface is filled.
public Boolean ShowCard { get; } #Gets whether the complete frame has an elevated card, independently of the content surface.
public Boolean 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 Int32? 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.