ChartTable
ChartForgeX.VisualBlocks
A structured, themeable table visual block.
Inheritance
- FactualVisualBlock<ChartTable>
- ChartTable
Usage
Explore 78 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 44
- Extension method TableArtifact.ToPreviewBlock
- Method TableArtifactRendering.ToPreviewBlock
- Extension method ChartTable.Accessibility
- Extension method ChartTable.Columns
- Extension method ChartTable.Dense
- Extension method ChartTable.HostOwnsFrame
- Extension method ChartTable.Options
- Extension method ChartTable.Padding
- Extension method ChartTable.RasterScale
- Extension method ChartTable.RowStriping
- Extension method ChartTable.ShowCard
- Extension method ChartTable.ShowHeader
- Extension method ChartTable.Size
- Extension method ChartTable.Subtitle
- Extension method ChartTable.SvgColorVariables
- Extension method ChartTable.Theme
- Extension method ChartTable.ThemeMode
- Extension method ChartTable.Title
- Extension method ChartTable.TransparentBackground
- Method ChartTable.AddColumn
- Method ChartTable.AddRow
- Method ChartTable.Create
- Method ChartTable.Padding
- Method ChartTable.Size
- Method ChartTable.StatusColumn
- Method ChartTable.Theme
- Method ChartTable.UpdateRow
- Method ChartTableFluent.Accessibility
- Method ChartTableFluent.Columns
- Method ChartTableFluent.Dense
- Method ChartTableFluent.HostOwnsFrame
- Method ChartTableFluent.Options
- Method ChartTableFluent.Padding
- Method ChartTableFluent.RasterScale
- Method ChartTableFluent.RowStriping
- Method ChartTableFluent.ShowCard
- Method ChartTableFluent.ShowHeader
- Method ChartTableFluent.Size
- Method ChartTableFluent.Subtitle
- Method ChartTableFluent.SvgColorVariables
- Method ChartTableFluent.Theme
- Method ChartTableFluent.ThemeMode
- Method ChartTableFluent.Title
- Method ChartTableFluent.TransparentBackground
Accepted by parameters 34
- Extension method ChartTable.Accessibility
- Extension method ChartTable.Columns
- Extension method ChartTable.Dense
- Extension method ChartTable.HostOwnsFrame
- Extension method ChartTable.Options
- Extension method ChartTable.Padding
- Extension method ChartTable.RasterScale
- Extension method ChartTable.RowStriping
- Extension method ChartTable.ShowCard
- Extension method ChartTable.ShowHeader
- Extension method ChartTable.Size
- Extension method ChartTable.Subtitle
- Extension method ChartTable.SvgColorVariables
- Extension method ChartTable.Theme
- Extension method ChartTable.ThemeMode
- Extension method ChartTable.Title
- Extension method ChartTable.TransparentBackground
- Method ChartTableFluent.Accessibility
- Method ChartTableFluent.Columns
- Method ChartTableFluent.Dense
- Method ChartTableFluent.HostOwnsFrame
- Method ChartTableFluent.Options
- Method ChartTableFluent.Padding
- Method ChartTableFluent.RasterScale
- Method ChartTableFluent.RowStriping
- Method ChartTableFluent.ShowCard
- Method ChartTableFluent.ShowHeader
- Method ChartTableFluent.Size
- Method ChartTableFluent.Subtitle
- Method ChartTableFluent.SvgColorVariables
- Method ChartTableFluent.Theme
- Method ChartTableFluent.ThemeMode
- Method ChartTableFluent.Title
- Method ChartTableFluent.TransparentBackground
Constructors
public ChartTable() #Methods
public ChartTable AddColumn(string header, TextAlignment alignment = Left, double? width = null, string? format = null) #Adds one table column.
Parameters
- header string
- alignment ChartForgeX.Typography.TextAlignment = Left
- width double? = null
- format string? = null
Returns
ChartTablepublic ChartTable AddRow(params object?[] values) #Adds a table row.
Parameters
- values object?[]
Returns
ChartTablepublic ChartTable StatusColumn(string header) #Marks a column as a status column by header.
Parameters
- header string
Returns
ChartTablepublic ChartTable StatusColumn(int columnIndex) #Marks a column as a status column by index.
Parameters
- columnIndex int
Returns
ChartTablepublic ChartTable UpdateRow(int rowIndex, Action<ChartTableRow> configure) #Installs an independent row snapshot after successful configuration.
Parameters
- rowIndex int
- configure System.Action<ChartForgeX.VisualBlocks.ChartTableRow>
Returns
ChartTableInherited Methods
public ChartTable Padding(double padding) #Parameters
- padding double
Returns
ChartTablepublic ChartTable Padding(double left, double top, double right, double bottom) #Parameters
- left double
- top double
- right double
- bottom double
Returns
ChartTablepublic override RgbaImage RenderRgba() #Returns
RgbaImagepublic override string RenderSvg(string idScope) #Parameters
- idScope string
Returns
stringpublic ChartTable Size(int width, int height) #Parameters
- width int
- height int
Returns
ChartTablepublic ChartTable Theme(Action<VisualThemeBuilder> configure) #Parameters
- configure Action<VisualThemeBuilder>
Returns
ChartTableProperties
public bool RowStriping { get; set; } #Gets or sets whether alternating row backgrounds are rendered.
public bool ShowHeader { get; set; } #Gets or sets whether the header row is rendered.
public bool Dense { get; set; } #Gets or sets whether compact row sizing is used.
public int? StatusColumnIndex { get; } #Gets the optional status column index.
Inherited Properties
public string Title { get; set; } #public string Subtitle { get; set; } #public VisualBlockOptions Options { get; } #FluentInlinepublic virtual string AccessibleName { get; } #Extension Methods
public static ChartTable Accessibility(ChartTable chartTable, Action<VisualAccessibility> configure) #Configures VisualBlockOptions.Accessibility in place.
Parameters
- chartTable ChartForgeX.VisualBlocks.ChartTable
- The instance.
- configure System.Action<ChartForgeX.Accessibility.VisualAccessibility>
- Configures the value.
public static ChartTable Columns(ChartTable chartTable, params string[] headers) #Adds columns from header text.
Parameters
- chartTable ChartForgeX.VisualBlocks.ChartTable
- headers string[]
Returns
ChartTablepublic static ChartTable Dense(ChartTable chartTable, bool value = true) #Sets ChartTable.Dense: Gets or sets whether compact row sizing is used.
Parameters
- chartTable ChartForgeX.VisualBlocks.ChartTable
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.VisualBlocks.ChartTable { Dense = value }; chartTable.Dense(value);public static ChartTable HostOwnsFrame(ChartTable chartTable, bool value = true) #Sets VisualBlockOptions.HostOwnsFrame.
Parameters
- chartTable ChartForgeX.VisualBlocks.ChartTable
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.ChartTable>)chartTable).Options.HostOwnsFrame = value; chartTable.HostOwnsFrame(value);public static ChartTable Options(ChartTable chartTable, Action<VisualBlockOptions> configure) #Configures VisualBlock<ChartTable>.Options in place.
Parameters
- chartTable ChartForgeX.VisualBlocks.ChartTable
- The instance.
- configure System.Action<ChartForgeX.VisualBlocks.VisualBlockOptions>
- Configures the value.
public static ChartTable Padding(ChartTable chartTable, ChartPadding value) #Sets VisualBlockOptions.Padding.
Parameters
- chartTable ChartForgeX.VisualBlocks.ChartTable
- The instance.
- value ChartForgeX.Primitives.ChartPadding
- The value.
Examples
// C# initializer or property // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.ChartTable>)chartTable).Options.Padding = value; chartTable.Padding(value);public static ChartTable RasterScale(ChartTable chartTable, int value) #Sets VisualBlockOptions.RasterScale.
Parameters
- chartTable ChartForgeX.VisualBlocks.ChartTable
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.ChartTable>)chartTable).Options.RasterScale = value; chartTable.RasterScale(value);public static ChartTable RowStriping(ChartTable chartTable, bool value = true) #Sets ChartTable.RowStriping: Gets or sets whether alternating row backgrounds are rendered.
Parameters
- chartTable ChartForgeX.VisualBlocks.ChartTable
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.VisualBlocks.ChartTable { RowStriping = value }; chartTable.RowStriping(value);public static ChartTable ShowCard(ChartTable chartTable, bool value = true) #Sets VisualBlockOptions.ShowCard.
Parameters
- chartTable ChartForgeX.VisualBlocks.ChartTable
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.ChartTable>)chartTable).Options.ShowCard = value; chartTable.ShowCard(value);public static ChartTable ShowHeader(ChartTable chartTable, bool value = true) #Sets ChartTable.ShowHeader: Gets or sets whether the header row is rendered.
Parameters
- chartTable ChartForgeX.VisualBlocks.ChartTable
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.VisualBlocks.ChartTable { ShowHeader = value }; chartTable.ShowHeader(value);public static ChartTable Size(ChartTable chartTable, ChartSize value) #Sets VisualBlockOptions.Size.
Parameters
- chartTable ChartForgeX.VisualBlocks.ChartTable
- The instance.
- value ChartForgeX.Primitives.ChartSize
- The value.
Examples
// C# initializer or property // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.ChartTable>)chartTable).Options.Size = value; chartTable.Size(value);public static ChartTable Subtitle(ChartTable chartTable, string value) #Sets VisualBlock<ChartTable>.Subtitle.
Parameters
- chartTable ChartForgeX.VisualBlocks.ChartTable
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.VisualBlocks.ChartTable { Subtitle = value }; chartTable.Subtitle(value);public static ChartTable SvgColorVariables(ChartTable chartTable, SvgColorVariables? value) #Sets VisualBlockOptions.SvgColorVariables.
Parameters
- chartTable ChartForgeX.VisualBlocks.ChartTable
- The instance.
- value ChartForgeX.Themes.SvgColorVariables?
- The value.
Examples
// C# initializer or property // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.ChartTable>)chartTable).Options.SvgColorVariables = value; chartTable.SvgColorVariables(value);public static ChartTable Theme(ChartTable chartTable, VisualTheme value) #Sets VisualBlockOptions.Theme.
Parameters
- chartTable ChartForgeX.VisualBlocks.ChartTable
- The instance.
- value ChartForgeX.Themes.VisualTheme
- The value.
Examples
// C# initializer or property // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.ChartTable>)chartTable).Options.Theme = value; chartTable.Theme(value);public static ChartTable ThemeMode(ChartTable chartTable, ThemeMode value) #Sets VisualBlockOptions.ThemeMode.
Parameters
- chartTable ChartForgeX.VisualBlocks.ChartTable
- The instance.
- value ChartForgeX.ThemeMode
- The value.
Examples
// C# initializer or property // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.ChartTable>)chartTable).Options.ThemeMode = value; chartTable.ThemeMode(value);public static ChartTable Title(ChartTable chartTable, string value) #Sets VisualBlock<ChartTable>.Title.
Parameters
- chartTable ChartForgeX.VisualBlocks.ChartTable
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.VisualBlocks.ChartTable { Title = value }; chartTable.Title(value);public static ChartTable TransparentBackground(ChartTable chartTable, bool value = true) #Sets VisualBlockOptions.TransparentBackground.
Parameters
- chartTable ChartForgeX.VisualBlocks.ChartTable
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.ChartTable>)chartTable).Options.TransparentBackground = value; chartTable.TransparentBackground(value);