API Reference
Class
ChartItem
A labelled value in a BarChart or StackedBar.
Inheritance
- Object
- ChartItem
Usage
Explore 2 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 2
- Property BarChart.Items
- Property StackedBar.Segments
Constructors
public ChartItem(String label, Double value, ThemeToken? token = null) #Creates an item.
Parameters
- label System.String
- The label (plain text).
- value System.Double
- The value.
- token ConsoleMonster.Styling.ThemeToken? = null
- The colour token, or null for the chart default.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public RichText? LabelText { get; set; } #A multicolour label shown instead of ChartItem.Label (which stays the key), or null.