Class RadzenColumnSeries<TItem>
Renders column series in RadzenChart
public class RadzenColumnSeries<TItem> : CartesianSeries<TItem>, IComponent, IHandleEvent, IHandleAfterRender, IChartSeries, IDisposable, IChartColumnSeries
Type Parameters
TItem
The type of the series data item.
- Inheritance
-
CartesianSeries<TItem>RadzenColumnSeries<TItem>
- Implements
- Inherited Members
Constructors
RadzenColumnSeries()
public RadzenColumnSeries()
Properties
Color
public override string Color { get; }
Property Value
Fill
Specifies the fill (background color) of the column series.
[Parameter]
public string Fill { get; set; }
Property Value
- string
The fill.
FillRange
Gets or sets the color range of the fill.
[Parameter]
public IList<SeriesColorRange> FillRange { get; set; }
Property Value
- IList<SeriesColorRange>
The color range of the fill.
Fills
Specifies a list of colors that will be used to set the individual column backgrounds.
[Parameter]
public IEnumerable<string> Fills { get; set; }
Property Value
- IEnumerable<string>
The fills.
LineType
Gets or sets the type of the line used to render the column border.
[Parameter]
public LineType LineType { get; set; }
Property Value
- LineType
The type of the line.
Stroke
Specifies the stroke (border color) of the column series.
[Parameter]
public string Stroke { get; set; }
Property Value
- string
The stroke.
StrokeRange
Gets or sets the color range of the stroke.
[Parameter]
public IList<SeriesColorRange> StrokeRange { get; set; }
Property Value
- IList<SeriesColorRange>
The color range of the stroke.
StrokeWidth
Gets or sets the width of the stroke (border).
[Parameter]
public double StrokeWidth { get; set; }
Property Value
- double
The width of the stroke.
Strokes
Specifies a list of colors that will be used to set the individual column borders.
[Parameter]
public IEnumerable<string> Strokes { get; set; }
Property Value
- IEnumerable<string>
The strokes.
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
DataAt(double, double)
public override (object, Point) DataAt(double x, double y)
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