ChartSeriesConfig
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:
public class ChartSeriesConfig
Inheritance: objectChartSeriesConfig
Constructors
public ChartSeriesConfig()
Properties
Whether Pie and Donut charts automatically scale to fit their content area.
public bool? AutoFit { get; set; }
Optional name of the category axis used by this series.
public string? CategoryAxis { get; set; }
Optional data field used for category values on this series.
public string? CategoryField { get; set; }
Data field containing per-point colors.
public string? ColorField { get; set; }
Data field indicating which Pie or Donut points are exploded.
public string? ExplodeField { get; set; }
Gap between categories in Bar, Column, and Waterfall charts.
public double? Gap { get; set; }
Data label configuration for this series.
Labels are hidden by default; set Visible to true.
public ChartSeriesLabelsConfig? Labels { get; set; }
Line style configuration for the connecting line (line and area series only).
public ChartSeriesLineConfig? Line { get; set; }
Point marker configuration (applicable to line, area, scatter, bubble series).
public ChartSeriesMarkersConfig? Markers { get; set; }
Display name for the series (shown in the legend and tooltips).
public string Name { get; set; }
Color used for negative values in Bar, Column, and Waterfall charts.
public string? NegativeColor { get; set; }
Opacity of the series, from 0 (transparent) to 1 (fully opaque). Default is 1.
public double? Opacity { get; set; }
Spacing between series in Bar and Column charts.
public double? Spacing { get; set; }
Stacking configuration for bar, column and area series. When set, this series participates in a stack.
public ChartSeriesStackConfig? Stack { get; set; }
Starting angle in degrees for Pie and Donut charts.
public double? StartAngle { get; set; }
Data field identifying summary points in a Waterfall chart.
public string? SummaryField { get; set; }
The chart series type to render.
public ChartSeriesType Type { get; set; }
The data field name for series values (used by most chart types).
public string ValueField { get; set; }
Whether this series is visible on the chart. Default is true.
public bool? Visible { get; set; }
Whether this series appears in the legend. Default is true.
public bool? VisibleInLegend { get; set; }
Line width in pixels for Line, Area, and ScatterLine charts.
public double? Width { get; set; }
Optional name of the numeric X axis used by scatter and bubble series.
public string? XAxis { get; set; }
X-axis data field for Scatter, ScatterLine, and Bubble charts.
public string? XField { get; set; }
Optional name of the numeric Y axis used by scatter and bubble series.
public string? YAxis { get; set; }