Project

ChartForgeX

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

Stars 45
Forks 2
NuGet downloads 48,107
Release ChartForgeX-v1.7.0
Language: HTML Updated: 2026-09-02

API Reference

Class

SegmentedMetricBlock

Namespace ChartForgeX.VisualBlocks

A generic segmented metric block for progress rows, part-to-whole strips, and distribution rows.

Inheritance

  • Object
  • SegmentedMetricBlock

Methods

AddItem 3 overloads
AddItem(System.String arg1, System.Double arg2, System.Double arg3, System.Int32 arg4, System.Nullable{ChartForgeX.Primitives.ChartColor} arg5, ChartForgeX.VisualBlocks.VisualStatus arg6, ChartForgeX.Core.ChartFillPattern arg7, System.String arg8, System.String arg9, System.Object arg10, System.String arg11) #

Adds a generic segmented metric item.

Parameters

arg1 System.String required
arg2 System.Double required
arg3 System.Double required
arg4 System.Int32 required
arg5 System.Nullable{ChartForgeX.Primitives.ChartColor} required
arg6 ChartForgeX.VisualBlocks.VisualStatus required
arg7 ChartForgeX.Core.ChartFillPattern required
arg8 System.String required
arg9 System.String required
arg10 System.Object required
arg11 System.String required
AddItem(ChartForgeX.VisualBlocks.SegmentedMetricItem arg1) #

Adds a preconfigured segmented metric item.

Parameters

arg1 ChartForgeX.VisualBlocks.SegmentedMetricItem required
AddItem(System.String arg1, System.Double arg2, System.Action{ChartForgeX.VisualBlocks.SegmentedMetricItem} arg3) #

Adds a segmented metric item and configures it with a callback.

Parameters

arg1 System.String required
arg2 System.Double required
arg3 System.Action{ChartForgeX.VisualBlocks.SegmentedMetricItem} required
Create(ChartForgeX.VisualBlocks.SegmentedMetricStyle arg1) #

Creates a new segmented metric block.

Parameters

arg1 ChartForgeX.VisualBlocks.SegmentedMetricStyle required
WithAction(System.String arg1, System.String arg2, System.String arg3) #

Sets optional footer action text.

Parameters

arg1 System.String required
arg2 System.String required
arg3 System.String required
WithActionStyle(System.Nullable{ChartForgeX.Primitives.ChartColor} arg1, System.Nullable{ChartForgeX.Primitives.ChartColor} arg2) #

Sets optional footer action visual styling.

Parameters

arg1 System.Nullable{ChartForgeX.Primitives.ChartColor} required
arg2 System.Nullable{ChartForgeX.Primitives.ChartColor} required
WithCaption(System.String arg1) #

Sets optional caption text.

Parameters

arg1 System.String required
WithHeaderSymbol(System.String arg1) #

Sets optional compact header symbol rendered in a badge.

Parameters

arg1 System.String required
WithMenu(System.Boolean arg1) #

Sets whether trailing menu dots are shown in the card header.

Parameters

arg1 System.Boolean required
WithMetric(System.String arg1, System.Object arg2, System.String arg3, System.String arg4, System.String arg5) #

Sets the card metric label and value.

Parameters

arg1 System.String required
arg2 System.Object required
arg3 System.String required
arg4 System.String required
arg5 System.String required
WithStyle(ChartForgeX.VisualBlocks.SegmentedMetricStyle arg1) #

Sets the segmented metric visual treatment.

Parameters

arg1 ChartForgeX.VisualBlocks.SegmentedMetricStyle required

Properties

Style #

Gets or sets the visual treatment used for the items.

Items #

Gets metric items.

Label #

Gets the metric label.

Value #

Gets the metric value.

Unit #

Gets the unit suffix rendered beside item values for composition-style blocks.

Caption #

Gets optional caption text rendered beside the metric.

HeaderSymbol #

Gets optional compact header symbol rendered in a badge.

ShowMenu #

Gets or sets whether trailing menu dots are shown in the card header.

ActionLabel #

Gets optional footer action text.

ActionSymbol #

Gets optional footer action symbol.

ActionUrl #

Gets optional footer action URL for SVG/HTML outputs.

ActionBackground #

Gets or sets optional footer action background color.

ActionForeground #

Gets or sets optional footer action text color.