Class
ChartStateCategory
ChartForgeX.Core
Describes one categorical state, such as an operational state or a severity: the key that data refers to, its display label, its colour, and how its marks are drawn. Categories are listed in legends in the order they are registered.
Inheritance
- object
- ChartStateCategory
Usage
Explore 9 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 4
Accepted by parameters 5
- Method Chart.StateCategories
- Extension method ChartStateTimelineOptions.Categories
- Extension method ChartStateTimelineOptions.Category
- Method ChartStateTimelineOptionsFluent.Categories
- Method ChartStateTimelineOptionsFluent.Category
Constructors
public ChartStateCategory(string key, string label, ChartColor color, ChartStatePattern pattern = Solid, ChartStateEmphasis emphasis = Normal) #Initializes a new state definition.
Parameters
- key string
- The state key used by segments, for example up or degraded.
- label string
- The display label shown in the legend and tooltips.
- color ChartForgeX.Primitives.ChartColor
- The colour of marks in this state.
- pattern ChartForgeX.Core.ChartStatePattern = Solid
- How marks are filled: solid, hatched, cross-hatched, or outlined.
- emphasis ChartForgeX.Core.ChartStateEmphasis = Normal
- How much marks draw the eye; ChartStateEmphasis.Quiet lightens them.