Skip to content
ChartForgeX
Class

VisualGridItem

ChartForgeX.VisualBlocks

Namespace
ChartForgeX.VisualBlocks
Assembly
ChartForgeX.Visuals
Modifiers
sealed

Describes one visual grid panel.

Inheritance

  • object
  • VisualGridItem

Usage

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

Methods

FromBlock 2 overloads
public static VisualGridItem FromBlock(IVisualBlock block, int columnSpan = 1, int rowSpan = 1) #

Creates a visual block grid item.

Parameters

block ChartForgeX.VisualBlocks.IVisualBlock required
columnSpan int = 1 optional
rowSpan int = 1 optional
public static VisualGridItem FromBlock(string targetId, IVisualBlock block, int columnSpan = 1, int rowSpan = 1) #

Creates a visual block grid item with a stable target id.

Parameters

targetId string required
block ChartForgeX.VisualBlocks.IVisualBlock required
columnSpan int = 1 optional
rowSpan int = 1 optional
FromChart 2 overloads
public static VisualGridItem FromChart(Chart chart, int columnSpan = 1, int rowSpan = 1) #

Creates a chart grid item.

Parameters

chart ChartForgeX.Core.Chart required
columnSpan int = 1 optional
rowSpan int = 1 optional
public static VisualGridItem FromChart(string targetId, Chart chart, int columnSpan = 1, int rowSpan = 1) #

Creates a chart grid item with a stable target id.

Parameters

targetId string required
chart ChartForgeX.Core.Chart required
columnSpan int = 1 optional
rowSpan int = 1 optional

Properties

public string? TargetId { get; } #

Gets the optional stable panel identity used by external presentation orchestration.

public Chart? Chart { get; } #

Gets the chart when this item hosts a chart.

public IVisualBlock? Block { get; } #

Gets the visual block when this item hosts a block.

public int ColumnSpan { get; } #

Gets the column span.

public int RowSpan { get; } #

Gets the row span.