API Reference
SegmentedMetricBlock
A generic segmented metric block for progress rows, part-to-whole strips, and distribution rows.
Inheritance
- Object
- SegmentedMetricBlock
Methods
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
- arg2 System.Double
- arg3 System.Double
- arg4 System.Int32
- arg5 System.Nullable{ChartForgeX.Primitives.ChartColor}
- arg6 ChartForgeX.VisualBlocks.VisualStatus
- arg7 ChartForgeX.Core.ChartFillPattern
- arg8 System.String
- arg9 System.String
- arg10 System.Object
- arg11 System.String
AddItem(ChartForgeX.VisualBlocks.SegmentedMetricItem arg1) #Adds a preconfigured segmented metric item.
Parameters
- arg1 ChartForgeX.VisualBlocks.SegmentedMetricItem
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
- arg2 System.Double
- arg3 System.Action{ChartForgeX.VisualBlocks.SegmentedMetricItem}
Create(ChartForgeX.VisualBlocks.SegmentedMetricStyle arg1) #Creates a new segmented metric block.
Parameters
- arg1 ChartForgeX.VisualBlocks.SegmentedMetricStyle
WithAction(System.String arg1, System.String arg2, System.String arg3) #Sets optional footer action text.
Parameters
- arg1 System.String
- arg2 System.String
- arg3 System.String
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}
- arg2 System.Nullable{ChartForgeX.Primitives.ChartColor}
WithHeaderSymbol(System.String arg1) #Sets optional compact header symbol rendered in a badge.
Parameters
- arg1 System.String
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
- arg2 System.Object
- arg3 System.String
- arg4 System.String
- arg5 System.String
WithStyle(ChartForgeX.VisualBlocks.SegmentedMetricStyle arg1) #Sets the segmented metric visual treatment.
Parameters
- arg1 ChartForgeX.VisualBlocks.SegmentedMetricStyle
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.
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.