Skip to content
ConsoleMonster

API Reference

Class

ChartItem

Namespace ConsoleMonster.Widgets
Assembly ConsoleMonster
Modifiers sealed

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

Constructors

public ChartItem(String label, Double value, ThemeToken? token = null) #

Creates an item.

Parameters

label System.String requiredposition: 0
The label (plain text).
value System.Double requiredposition: 1
The value.
token ConsoleMonster.Styling.ThemeToken? = null optionalposition: 2
The colour token, or null for the chart default.

Properties

public String Label { get; } #

The label.

public RichText? LabelText { get; set; } #

A multicolour label shown instead of ChartItem.Label (which stays the key), or null.

public Double Value { get; set; } #

The value.

public ThemeToken? Token { get; set; } #

The colour token.