Class TwLollipopChart
- Namespace
- TwBlazor.Components
- Assembly
- TwBlazor.dll
A lollipop chart: a thin stem ending in a dot for each value. It reads like a bar chart with less ink, which helps when there are many categories with similar values.
public class TwLollipopChart : TwCategoryChartBase, IComponent, IHandleEvent, IHandleAfterRender, ITwComponent, IAsyncDisposable
- Inheritance
-
TwLollipopChart
- Implements
- Inherited Members
Constructors
TwLollipopChart()
public TwLollipopChart()
Properties
Horizontal
Gets or sets whether the stems run left to right with categories listed top to bottom.
[Parameter]
public bool Horizontal { get; set; }
Property Value
ShowValues
Gets or sets whether each dot is labelled with its value.
[Parameter]
public bool ShowValues { get; set; }
Property Value
Methods
BuildMarks(ChartSceneBuilder, IReadOnlyList<ChartSeriesSlot>)
Adds the marks, data points and axes for the visible series.
protected override void BuildMarks(ChartSceneBuilder builder, IReadOnlyList<ChartSeriesSlot> series)
Parameters
builderChartSceneBuilderThe builder that collects the scene.
seriesIReadOnlyList<ChartSeriesSlot>The series the reader has not hidden. Never empty.