Project

ChartForgeX

Render deterministic charts, dashboards, topology, hierarchy, and report visuals directly from .NET.

Stars 47
Forks 2
NuGet downloads 75,067
Release ChartForgeX-v2.0.0
Language: HTML Updated: 2026-10-12

API Reference

Class

ChartTable

Namespace ChartForgeX.VisualBlocks
Assembly ChartForgeX.Visuals
Base FactualVisualBlock<ChartTable>
Implements
IVisualBlock IStaticVisualSource IFactualVisualPixels
Modifiers sealed

A structured, themeable table visual block.

Inheritance

  • FactualVisualBlock<ChartTable>
  • ChartTable

Usage

Explore 20 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.

Constructors

public ChartTable() #

Methods

public ChartTable AddColumn(String header, TextAlignment alignment = Left, Double? width = null, String? format = null) #
Returns: ChartTable

Adds one table column.

Parameters

header System.String requiredposition: 0
alignment ChartForgeX.Typography.TextAlignment = Left optionalposition: 1
width System.Double? = null optionalposition: 2
format System.String? = null optionalposition: 3
public ChartTable AddRow(params Object?[] values) #
Returns: ChartTable

Adds a table row.

Parameters

values System.Object?[] requiredposition: 0
public ChartTable ConfigureRow(Int32 rowIndex, Action<ChartTableRow> configure) #
Returns: ChartTable

Configures one existing row.

Parameters

rowIndex System.Int32 requiredposition: 0
configure System.Action<ChartForgeX.VisualBlocks.ChartTableRow> requiredposition: 1
public static ChartTable Create() #
Returns: ChartTable

Creates a new chart table.

public ChartTable WithColumns(params String[] headers) #
Returns: ChartTable

Adds columns from header text.

Parameters

headers System.String[] requiredposition: 0
public ChartTable WithDenseMode(Boolean enabled = true) #
Returns: ChartTable

Sets whether compact row sizing is used.

Parameters

enabled System.Boolean = true optionalposition: 0
public ChartTable WithHeader(Boolean enabled = true) #
Returns: ChartTable

Sets whether the header row is rendered.

Parameters

enabled System.Boolean = true optionalposition: 0
public ChartTable WithRowStriping(Boolean enabled = true) #
Returns: ChartTable

Sets whether alternating row backgrounds are rendered.

Parameters

enabled System.Boolean = true optionalposition: 0
WithStatusColumn 2 overloads
public ChartTable WithStatusColumn(String header) #
Returns: ChartTable

Marks a column as a status column by header.

Parameters

header System.String requiredposition: 0
public ChartTable WithStatusColumn(Int32 columnIndex) #
Returns: ChartTable

Marks a column as a status column by index.

Parameters

columnIndex System.Int32 requiredposition: 0

Properties

public IReadOnlyList<ChartTableColumn> Columns { get; } #

Gets table columns.

public IReadOnlyList<ChartTableRow> Rows { get; } #

Gets table rows.

public Boolean RowStriping { get; set; } #

Gets or sets whether alternating row backgrounds are rendered.

public Boolean ShowHeader { get; set; } #

Gets or sets whether the header row is rendered.

public Boolean Dense { get; set; } #

Gets or sets whether compact row sizing is used.

public Int32? StatusColumnIndex { get; } #

Gets the optional status column index.