Class RadzenAreaSeries<TItem>
Renders area series in RadzenChart.
public class RadzenAreaSeries<TItem> : CartesianSeries<TItem>, IComponent, IHandleEvent, IHandleAfterRender, IChartSeries, IDisposable
Type Parameters
TItem
- Inheritance
-
CartesianSeries<TItem>RadzenAreaSeries<TItem>
- Implements
- Inherited Members
Constructors
RadzenAreaSeries()
public RadzenAreaSeries()
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