New to Telerik UI for Blazor? Start a free 30-day trial

A single series in a chart component.

Schema: src/common/models/chart.schema.json#/$defs/ChartSeriesConfig

Definition

Namespace:Telerik.Blazor.Components.DatAInsightsComposer

Assembly:Telerik.Blazor.DatAInsightsComposer.dll

Syntax:

C#
public class ChartSeriesConfig

Inheritance: objectChartSeriesConfig

Constructors

C#
public ChartSeriesConfig()

Properties

Whether Pie and Donut charts automatically scale to fit their content area.

C#
public bool? AutoFit { get; set; }

Optional name of the value axis used by this series.

C#
public string? Axis { get; set; }

Optional name of the category axis used by this series.

C#
public string? CategoryAxis { get; set; }

Optional data field used for category values on this series.

C#
public string? CategoryField { get; set; }

The color of the series.

C#
public string? Color { get; set; }

Data field containing per-point colors.

C#
public string? ColorField { get; set; }

Data field indicating which Pie or Donut points are exploded.

C#
public string? ExplodeField { get; set; }

Gap between categories in Bar, Column, and Waterfall charts.

C#
public double? Gap { get; set; }

Hole radius in pixels for Donut charts.

C#
public double? HoleSize { get; set; }

Data label configuration for this series. Labels are hidden by default; set Visible to true.

C#
public ChartSeriesLabelsConfig? Labels { get; set; }

Line style configuration for the connecting line (line and area series only).

C#
public ChartSeriesLineConfig? Line { get; set; }

Point marker configuration (applicable to line, area, scatter, bubble series).

C#
public ChartSeriesMarkersConfig? Markers { get; set; }

Display name for the series (shown in the legend and tooltips).

C#
public string Name { get; set; }

Color used for negative values in Bar, Column, and Waterfall charts.

C#
public string? NegativeColor { get; set; }

Opacity of the series, from 0 (transparent) to 1 (fully opaque). Default is 1.

C#
public double? Opacity { get; set; }

Radius in pixels for Pie and Donut charts.

C#
public double? Size { get; set; }

Size data field for Bubble charts.

C#
public string? SizeField { get; set; }

Spacing between series in Bar and Column charts.

C#
public double? Spacing { get; set; }

Stacking configuration for bar, column and area series. When set, this series participates in a stack.

C#
public ChartSeriesStackConfig? Stack { get; set; }

Starting angle in degrees for Pie and Donut charts.

C#
public double? StartAngle { get; set; }

Data field identifying summary points in a Waterfall chart.

C#
public string? SummaryField { get; set; }

The chart series type to render.

C#
public ChartSeriesType Type { get; set; }

The data field name for series values (used by most chart types).

C#
public string ValueField { get; set; }

Whether this series is visible on the chart. Default is true.

C#
public bool? Visible { get; set; }

Whether this series appears in the legend. Default is true.

C#
public bool? VisibleInLegend { get; set; }

Line width in pixels for Line, Area, and ScatterLine charts.

C#
public double? Width { get; set; }

Optional name of the numeric X axis used by scatter and bubble series.

C#
public string? XAxis { get; set; }

X-axis data field for Scatter, ScatterLine, and Bubble charts.

C#
public string? XField { get; set; }

Optional name of the numeric Y axis used by scatter and bubble series.

C#
public string? YAxis { get; set; }

Y-axis data field for Scatter, ScatterLine, and Bubble charts.

C#
public string? YField { get; set; }