Line Chart

Render a line chart by setting Type="ChartType.Line". Line charts are ideal for showing trends over time — the same AggregateDataverseChartDataSource and DataverseChart convenience component work with any chart type.

Dataverse Example

Average opportunity estimated value by year, split by rating (Hot / Warm / Cold). Click a point to see its details.

React example
Blazor example
React TypeScript
Razor

Year-over-Year Comparison

Set SeriesDateGrouping to split the same date column into multiple series by a different time interval. For example, GroupByDateGrouping = ChartDateGrouping.Month with SeriesDateGrouping = ChartDateGrouping.Year produces one line per year with months on the X-axis.

React
Blazor

Year-over-Year Example

Total estimated revenue by month, with each year as a separate line. Compare seasonal patterns across years.

React example
Blazor example
React TypeScript
Razor

See Also

Chart API Reference — complete documentation for all chart classes, enums, and data sources.