Enums: Chart

Choose the chart type with a single enum value.

The chart enums map directly to the underlying chart rendering engine, making it easy to switch between visualization styles without changing your data model.

How it works

Set ChartType on the chart component to select the visualization type best suited for your data.

Examples

  • ChartType.Line for trends over time.
  • ChartType.Bar for category comparisons.
  • ChartType.Doughnut for part-to-whole views.

Reference

ChartType

Defines the chart type.

  • Line
  • Bar
  • Pie
  • Doughnut
  • PolarArea
  • Radar
On this page