API Reference
SegmentedMetricItem
One item in a segmented metric block.
Inheritance
- Object
- SegmentedMetricItem
Usage
Explore 10 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 8
- Property SegmentedMetricBlock.Items
- Method SegmentedMetricItem.WithColor
- Method SegmentedMetricItem.WithDelta
- Method SegmentedMetricItem.WithDisplayValue
- Method SegmentedMetricItem.WithPattern
- Method SegmentedMetricItem.WithProgress
- Method SegmentedMetricItem.WithStatus
- Method SegmentedMetricItem.WithSymbol
Accepted by parameters 2
- Method SegmentedMetricBlock.AddItem
- Method SegmentedMetricBlock.AddItem
Constructors
public SegmentedMetricItem(String label, Double value) #Initializes a segmented metric item.
Parameters
- label System.String
- value System.Double
Methods
public SegmentedMetricItem WithColor(ChartColor? color) #SegmentedMetricItemSets an explicit item color.
Parameters
- color ChartForgeX.Primitives.ChartColor?
public SegmentedMetricItem WithDelta(String delta) #SegmentedMetricItemSets optional delta text.
Parameters
- delta System.String
public SegmentedMetricItem WithDisplayValue(Object? displayValue, String? format = null) #SegmentedMetricItemSets optional display text used instead of a derived item value.
Parameters
- displayValue System.Object?
- format System.String? = null
public SegmentedMetricItem WithPattern(ChartFillPattern pattern) #SegmentedMetricItemSets the optional fill pattern hint.
Parameters
- pattern ChartForgeX.Core.ChartFillPattern
public SegmentedMetricItem WithProgress(Double maximum, Int32 segments) #SegmentedMetricItemSets the progress maximum and fixed segment count.
Parameters
- maximum System.Double
- segments System.Int32
public SegmentedMetricItem WithStatus(VisualStatus status) #SegmentedMetricItemSets the semantic item status.
Parameters
- status ChartForgeX.VisualBlocks.VisualStatus
public SegmentedMetricItem WithSymbol(String symbol) #SegmentedMetricItemSets compact symbol text shown by visual treatments that use symbols.
Parameters
- symbol System.String
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public String Label { get; set; } #Gets or sets the item label.
public Double Value { get; set; } #Gets or sets the numeric item value.
public Double Maximum { get; set; } #Gets or sets the maximum for progress-style items.
public Int32 Segments { get; set; } #Gets or sets the fixed segment count for progress-style items.
public ChartColor? Color { get; set; } #Gets or sets an optional item accent color.
public String Delta { get; set; } #Gets or sets optional delta text.
public String Symbol { get; set; } #Gets or sets compact symbol text shown in distribution rows.
public String DisplayValue { get; set; } #Gets or sets optional display text used instead of a derived item value.
public VisualStatus Status { get; set; } #Gets or sets the semantic item status.
public ChartFillPattern Pattern { get; set; } #Gets or sets an optional fill pattern hint.