Skip to content
ChartForgeX
Class

ChartTableCell

ChartForgeX.VisualBlocks

Namespace
ChartForgeX.VisualBlocks
Assembly
ChartForgeX.Visuals
Modifiers
sealed
Attributes
Fluent

Describes one chart table cell.

Inheritance

  • object
  • ChartTableCell

Usage

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

Accepted by parameters 26

Constructors

public ChartTableCell(string text) #

Initializes a table cell.

Parameters

text string required

Methods

public ChartTableCell Badge(string text, Tone? tone = null, ChartColor? color = null, VisualBadgeStyle style = Soft) #

Sets a compact badge for this table cell.

Parameters

text string required
tone ChartForgeX.Tone? = null optional
color ChartForgeX.Primitives.ChartColor? = null optional
style ChartForgeX.VisualBlocks.VisualBadgeStyle = Soft optional
FromValue 2 overloads
public static ChartTableCell FromValue(double value, ChartValueFormat format) #

Creates a numeric cell using the shared chart display policy.

Parameters

value double required
format ChartForgeX.Core.ChartValueFormat required
public static ChartTableCell FromValue(object? value, string? format = null) #

Creates a cell from any value.

Parameters

value object? required
format string? = null optional
public ChartTableCell MiniBars(IEnumerable<double> values, double? minimum = null, double? maximum = null, ChartColor? color = null) #

Sets compact mini bars for this table cell.

Parameters

values System.Collections.Generic.IEnumerable<double> required
minimum double? = null optional
maximum double? = null optional
color ChartForgeX.Primitives.ChartColor? = null optional
Sparkline 2 overloads
public ChartTableCell Sparkline(IEnumerable<double> values, double? minimum = null, double? maximum = null, ChartColor? color = null) #

Sets a compact sparkline for this table cell.

Parameters

values System.Collections.Generic.IEnumerable<double> required
minimum double? = null optional
maximum double? = null optional
color ChartForgeX.Primitives.ChartColor? = null optional
public ChartTableCell Sparkline(SparklineData data, ChartColor? color = null) #

Sets shared sparkline sample slots without moving or replacing missing observations.

Parameters

data ChartForgeX.Core.SparklineData required
color ChartForgeX.Primitives.ChartColor? = null optional

Properties

public ChartTableCellMicroVisualKind MicroVisualKind { get; set; } #

Gets the configured cell microvisual kind.

public IReadOnlyList<double> MicroVisualValues { get; } #

Gets finite microvisual observations. Use ChartTableCell.SparklineData for original nullable sample slots.

public SparklineData? SparklineData { get; private set; } #

Gets configured sparkline slots, including missing observations.

public double? MicroVisualMinimum { get; set; } #

Gets or sets an optional microvisual minimum.

public double? MicroVisualMaximum { get; set; } #

Gets or sets an optional microvisual maximum.

public ChartColor? MicroVisualColor { get; set; } #

Gets or sets an optional microvisual color.

public string BadgeText { get; set; } #

Gets optional compact badge text.

public Tone BadgeTone { get; set; } #

Gets or sets optional badge status.

public VisualBadgeStyle BadgeStyle { get; set; } #

Gets or sets optional badge style.

public ChartColor? BadgeColor { get; set; } #

Gets or sets an optional badge color override.

public string Text { get; set; } #

Gets or sets the cell text.

public TextAlignment? Alignment { get; set; } #

Gets or sets an optional text alignment override.

public ChartColor? Foreground { get; set; } #

Gets or sets an optional foreground color override.

public ChartColor? Background { get; set; } #

Gets or sets an optional background color override.

public Tone Tone { get; set; } #

Gets or sets an optional explicit status.

Extension Methods

public static ChartTableCell Alignment(ChartTableCell chartTableCell, TextAlignment? value) #

Sets ChartTableCell.Alignment: Gets or sets an optional text alignment override.

Parameters

chartTableCell ChartForgeX.VisualBlocks.ChartTableCell required
The instance.
value ChartForgeX.Typography.TextAlignment? required
The value.

Returns

ChartTableCell The same instance.

Examples

// C# initializer or property        // C# fluent
chartTableCell.Alignment = value;    chartTableCell.Alignment(value);
public static ChartTableCell Background(ChartTableCell chartTableCell, ChartColor? value) #

Sets ChartTableCell.Background: Gets or sets an optional background color override.

Parameters

chartTableCell ChartForgeX.VisualBlocks.ChartTableCell required
The instance.
value ChartForgeX.Primitives.ChartColor? required
The value.

Returns

ChartTableCell The same instance.

Examples

// C# initializer or property         // C# fluent
chartTableCell.Background = value;    chartTableCell.Background(value);
public static ChartTableCell BadgeColor(ChartTableCell chartTableCell, ChartColor? value) #

Sets ChartTableCell.BadgeColor: Gets or sets an optional badge color override.

Parameters

chartTableCell ChartForgeX.VisualBlocks.ChartTableCell required
The instance.
value ChartForgeX.Primitives.ChartColor? required
The value.

Returns

ChartTableCell The same instance.

Examples

// C# initializer or property         // C# fluent
chartTableCell.BadgeColor = value;    chartTableCell.BadgeColor(value);
public static ChartTableCell BadgeStyle(ChartTableCell chartTableCell, VisualBadgeStyle value) #

Sets ChartTableCell.BadgeStyle: Gets or sets optional badge style.

Parameters

chartTableCell ChartForgeX.VisualBlocks.ChartTableCell required
The instance.
value ChartForgeX.VisualBlocks.VisualBadgeStyle required
The value.

Returns

ChartTableCell The same instance.

Examples

// C# initializer or property         // C# fluent
chartTableCell.BadgeStyle = value;    chartTableCell.BadgeStyle(value);
public static ChartTableCell BadgeText(ChartTableCell chartTableCell, string value) #

Sets ChartTableCell.BadgeText: Gets optional compact badge text.

Parameters

chartTableCell ChartForgeX.VisualBlocks.ChartTableCell required
The instance.
value string required
The value.

Returns

ChartTableCell The same instance.

Examples

// C# initializer or property        // C# fluent
chartTableCell.BadgeText = value;    chartTableCell.BadgeText(value);
public static ChartTableCell BadgeTone(ChartTableCell chartTableCell, Tone value) #

Sets ChartTableCell.BadgeTone: Gets or sets optional badge status.

Parameters

chartTableCell ChartForgeX.VisualBlocks.ChartTableCell required
The instance.
value ChartForgeX.Tone required
The value.

Returns

ChartTableCell The same instance.

Examples

// C# initializer or property        // C# fluent
chartTableCell.BadgeTone = value;    chartTableCell.BadgeTone(value);
public static ChartTableCell Foreground(ChartTableCell chartTableCell, ChartColor? value) #

Sets ChartTableCell.Foreground: Gets or sets an optional foreground color override.

Parameters

chartTableCell ChartForgeX.VisualBlocks.ChartTableCell required
The instance.
value ChartForgeX.Primitives.ChartColor? required
The value.

Returns

ChartTableCell The same instance.

Examples

// C# initializer or property         // C# fluent
chartTableCell.Foreground = value;    chartTableCell.Foreground(value);
public static ChartTableCell MicroVisualColor(ChartTableCell chartTableCell, ChartColor? value) #

Sets ChartTableCell.MicroVisualColor: Gets or sets an optional microvisual color.

Parameters

chartTableCell ChartForgeX.VisualBlocks.ChartTableCell required
The instance.
value ChartForgeX.Primitives.ChartColor? required
The value.

Returns

ChartTableCell The same instance.

Examples

// C# initializer or property               // C# fluent
chartTableCell.MicroVisualColor = value;    chartTableCell.MicroVisualColor(value);
public static ChartTableCell MicroVisualKind(ChartTableCell chartTableCell, ChartTableCellMicroVisualKind value) #

Sets ChartTableCell.MicroVisualKind: Gets the configured cell microvisual kind.

Parameters

chartTableCell ChartForgeX.VisualBlocks.ChartTableCell required
The instance.
value ChartForgeX.VisualBlocks.ChartTableCellMicroVisualKind required
The value.

Returns

ChartTableCell The same instance.

Examples

// C# initializer or property              // C# fluent
chartTableCell.MicroVisualKind = value;    chartTableCell.MicroVisualKind(value);
public static ChartTableCell MicroVisualMaximum(ChartTableCell chartTableCell, double? value) #

Sets ChartTableCell.MicroVisualMaximum: Gets or sets an optional microvisual maximum.

Parameters

chartTableCell ChartForgeX.VisualBlocks.ChartTableCell required
The instance.
value double? required
The value.

Returns

ChartTableCell The same instance.

Examples

// C# initializer or property                 // C# fluent
chartTableCell.MicroVisualMaximum = value;    chartTableCell.MicroVisualMaximum(value);
public static ChartTableCell MicroVisualMinimum(ChartTableCell chartTableCell, double? value) #

Sets ChartTableCell.MicroVisualMinimum: Gets or sets an optional microvisual minimum.

Parameters

chartTableCell ChartForgeX.VisualBlocks.ChartTableCell required
The instance.
value double? required
The value.

Returns

ChartTableCell The same instance.

Examples

// C# initializer or property                 // C# fluent
chartTableCell.MicroVisualMinimum = value;    chartTableCell.MicroVisualMinimum(value);
public static ChartTableCell Text(ChartTableCell chartTableCell, string value) #

Sets ChartTableCell.Text: Gets or sets the cell text.

Parameters

chartTableCell ChartForgeX.VisualBlocks.ChartTableCell required
The instance.
value string required
The value.

Returns

ChartTableCell The same instance.

Examples

// C# initializer or property    // C# fluent
chartTableCell.Text = value;     chartTableCell.Text(value);
public static ChartTableCell Tone(ChartTableCell chartTableCell, Tone value) #

Sets ChartTableCell.Tone: Gets or sets an optional explicit status.

Parameters

chartTableCell ChartForgeX.VisualBlocks.ChartTableCell required
The instance.
value ChartForgeX.Tone required
The value.

Returns

ChartTableCell The same instance.

Examples

// C# initializer or property    // C# fluent
chartTableCell.Tone = value;     chartTableCell.Tone(value);