Class RadzenAreaSeries<TItem>
Renders area series in RadzenChart.
Inherited Members
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class RadzenAreaSeries<TItem> : CartesianSeries<TItem>, IChartSeries, IDisposable
Type Parameters
Name | Description |
---|---|
TItem |
Properties
Color
Gets the color.
Declaration
public override string Color { get; }
Property Value
Type | Description |
---|---|
System.String | The color. |
Overrides
Fill
Specifies the fill (background color) of the area series.
Declaration
public string Fill { get; set; }
Property Value
Type | Description |
---|---|
System.String | The fill. |
Interpolation
Specifies how to render lines between data points. Set to Line by default
Declaration
public Interpolation Interpolation { get; set; }
Property Value
Type | Description |
---|---|
Interpolation |
LineType
Specifies the line type.
Declaration
public LineType LineType { get; set; }
Property Value
Type | Description |
---|---|
LineType |
Smooth
Specifies whether to render a smooth line. Set to false
by default.
Declaration
public bool Smooth { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Stroke
Specifies the color of the line.
Declaration
public string Stroke { get; set; }
Property Value
Type | Description |
---|---|
System.String | The stroke. |
StrokeWidth
Gets or sets the pixel width of the line. Set to 2
by default.
Declaration
public double StrokeWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The width of the stroke. |
Methods
Contains(Double, Double, Double)
Determines if the series contains the specified coordinates with a given tolerance.
Declaration
public override bool Contains(double x, double y, double tolerance)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | The x. |
System.Double | y | The y. |
System.Double | tolerance | The tolerance. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
GetDataLabels(Double, Double)
Returns data chart position
Declaration
public override IEnumerable<ChartDataLabel> GetDataLabels(double offsetX, double offsetY)
Parameters
Type | Name | Description |
---|---|---|
System.Double | offsetX | |
System.Double | offsetY |
Returns
Type | Description |
---|---|
IEnumerable<Radzen.Blazor.Rendering.ChartDataLabel> |
Overrides
TooltipStyle(TItem)
Gets the tooltip inline style.
Declaration
protected override string TooltipStyle(TItem item)
Parameters
Type | Name | Description |
---|---|---|
TItem | item | The item. |
Returns
Type | Description |
---|---|
System.String |