Blazor Line Chart Example
This Blazor Line Chart example represents the crude steel production annual growth data with default line series in the chart. Data points are enhanced with markers and tooltips.
In this example, you can see how to render and configure the line type charts. Line type charts are used to represent time-dependent data, showing trends in data at equal intervals. You can use DashArray
, Width
, Fill
properties to customize the line. ChartMarker
and ChartDataLabel
are used to represent individual data and its value.
Tooltips
are enabled in this example. To see a tooltip in action, hover over or tap on the chart. The EnableHighlight
property in the tooltip allows the corresponding series to be highlighted when a data point is hovered over. The ShowNearestTooltip
property displays tooltips for the nearest data point to the cursor.
More information about the line series can be found in this documentation section.