Class TwLineChartBase
- Namespace
- TwBlazor.Components
- Assembly
- TwBlazor.dll
The shared definition of TwLineChart and TwAreaChart.
public abstract class TwLineChartBase : TwCategoryChartBase, IComponent, IHandleEvent, IHandleAfterRender, ITwComponent, IAsyncDisposable
- Inheritance
-
TwLineChartBase
- Implements
- Derived
- Inherited Members
Constructors
TwLineChartBase()
protected TwLineChartBase()
Properties
Curve
Gets or sets how points are joined: straight (line), smooth (spline) or stepped (step line).
[Parameter]
public ChartCurve Curve { get; set; }
Property Value
ShowMarkers
Gets or sets whether a dot is drawn at every point.
[Parameter]
public bool? ShowMarkers { get; set; }
Property Value
- bool?
Remarks
If not set, dots are drawn when there are twelve categories or fewer.
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.