Class RadzenStackedAreaSeries<TItem>
Renders stacked area series in RadzenChart.
public class RadzenStackedAreaSeries<TItem> : CartesianSeries<TItem>, IComponent, IHandleEvent, IHandleAfterRender, IChartSeries, IDisposable, IChartStackedAreaSeries
Type Parameters
TItem
- Inheritance
-
CartesianSeries<TItem>RadzenStackedAreaSeries<TItem>
- Implements
- Inherited Members
Constructors
RadzenStackedAreaSeries()
public RadzenStackedAreaSeries()
Properties
Color
public override string Color { get; }
Property Value
Fill
Specifies the fill (background color) of the area series.
[Parameter]
public string Fill { get; set; }
Property Value
- string
The fill.
Interpolation
Specifies how to render lines between data points. Set to Line by default
[Parameter]
public Interpolation Interpolation { get; set; }
Property Value
LineType
Specifies the line type.
[Parameter]
public LineType LineType { get; set; }
Property Value
Smooth
Specifies whether to render a smooth line. Set to false
by default.
[Parameter]
public bool Smooth { get; set; }
Property Value
Stroke
Specifies the color of the line.
[Parameter]
public string Stroke { get; set; }
Property Value
- string
The stroke.
StrokeWidth
Gets or sets the pixel width of the line. Set to 2
by default.
[Parameter]
public double StrokeWidth { get; set; }
Property Value
- double
The width of the stroke.
Methods
BuildRenderTree(RenderTreeBuilder)
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder
Contains(double, double, double)
public override bool Contains(double x, double y, double tolerance)
Parameters
Returns
GetDataLabels(double, double)
public override IEnumerable<ChartDataLabel> GetDataLabels(double offsetX, double offsetY)
Parameters
Returns
Render(ScaleBase, ScaleBase)
public override RenderFragment Render(ScaleBase categoryScale, ScaleBase valueScale)
Parameters
Returns
TooltipStyle(TItem)
protected override string TooltipStyle(TItem item)
Parameters
item
TItem
Returns
TransformValueScale(ScaleBase)
public override ScaleBase TransformValueScale(ScaleBase scale)
Parameters
scale
ScaleBase