Example of Axis Value Types in Blazor Sparkline Charts Component
This sample depicts the various types of axes available in the sparkline.
Mean Working Hours for a Month
(DateTime Axis) |
|
Percentage of the Students in a Class
(Category Axis) |
|
Expenditure Details of Various Trips
(Numeric Axis) |
In this example, you can see Sparklines with different axis types such as Date-Time, Category, and Numeric. Based on the data, the axis type can be changed using the ValueType property. Tooltip is enabled in this example. To see the tooltip in action, hover the mouse over the data points or tap on a data point in touch-enabled devices.
More information about the sparkline axis types can be found in this documentation section.