API Reference
ChartTable
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.
Returned or exposed by 20
- Extension method TableArtifact.ToPreviewBlock
- Method TableArtifactRendering.ToPreviewBlock
- Method ChartTable.AddColumn
- Method ChartTable.AddRow
- Method ChartTable.ConfigureRow
- Method ChartTable.Create
- Method ChartTable.WithCard
- Method ChartTable.WithColumns
- Method ChartTable.WithDenseMode
- Method ChartTable.WithHeader
- Method ChartTable.WithHostFrame
- Method ChartTable.WithPadding
- Method ChartTable.WithPngOutputScale
- Method ChartTable.WithRowStriping
- Method ChartTable.WithSize
- Method ChartTable.WithStatusColumn
- Method ChartTable.WithSubtitle
- Method ChartTable.WithTheme
- Method ChartTable.WithTitle
- Method ChartTable.WithTransparentBackground
Constructors
public ChartTable() #Methods
public ChartTable AddColumn(String header, TextAlignment alignment = Left, Double? width = null, String? format = null) #ChartTableAdds one table column.
Parameters
- header System.String
- alignment ChartForgeX.Typography.TextAlignment = Left
- width System.Double? = null
- format System.String? = null
public ChartTable AddRow(params Object?[] values) #ChartTableAdds a table row.
Parameters
- values System.Object?[]
public ChartTable ConfigureRow(Int32 rowIndex, Action<ChartTableRow> configure) #ChartTableConfigures one existing row.
Parameters
- rowIndex System.Int32
- configure System.Action<ChartForgeX.VisualBlocks.ChartTableRow>
public ChartTable WithColumns(params String[] headers) #ChartTableAdds columns from header text.
Parameters
- headers System.String[]
public ChartTable WithDenseMode(Boolean enabled = true) #ChartTableSets whether compact row sizing is used.
Parameters
- enabled System.Boolean = true
public ChartTable WithHeader(Boolean enabled = true) #ChartTableSets whether the header row is rendered.
Parameters
- enabled System.Boolean = true
public ChartTable WithRowStriping(Boolean enabled = true) #ChartTableSets whether alternating row backgrounds are rendered.
Parameters
- enabled System.Boolean = true
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
public override RgbaImage RenderRgba() #RgbaImagepublic override String RenderSvg(String idScope) #StringParameters
- idScope String
public ChartTable WithCard(Boolean enabled = true) #ChartTableParameters
- enabled Boolean = true
public ChartTable WithHostFrame(Boolean hostOwnsFrame = true) #ChartTableParameters
- hostOwnsFrame Boolean = true
public ChartTable WithPadding(Double padding) #ChartTableParameters
- padding Double
public ChartTable WithPadding(Double left, Double top, Double right, Double bottom) #ChartTableParameters
- left Double
- top Double
- right Double
- bottom Double
public ChartTable WithPngOutputScale(Int32 scale) #ChartTableParameters
- scale Int32
public ChartTable WithSize(Int32 width, Int32 height) #ChartTableParameters
- width Int32
- height Int32
public ChartTable WithSubtitle(String subtitle) #ChartTableParameters
- subtitle String
public ChartTable WithTheme(ChartTheme theme) #ChartTableParameters
- theme ChartTheme
public ChartTable WithTitle(String title) #ChartTableParameters
- title String
public ChartTable WithTransparentBackground(Boolean enabled = true) #ChartTableParameters
- enabled Boolean = true
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.
Inherited Properties
public String Title { get; set; } #public String Subtitle { get; set; } #public VisualBlockOptions Options { get; } #public virtual String AccessibleName { get; } #