In This Topic
As a lightweight data visualization control, Sparkline provides various features that makes it suitable for depicting trend lines and variation curves. The main features of the Sparkline control are as follows.
- Lightweight and Quick Visualization
The Sparkline control allows you to quickly visualize data in a meaningful way. It also helps you to analyze data trends very easily.
- Sparkline Types
The Sparkline control supports three different types of sparklines to cater diverse business needs, including Column, Line, and WinLoss.
- Markers
Sparkline allows you to highlight data points, in order to make the sparkline more readable. Moreover, the markers can be tailored to suit user requirements.
- Axis
Sparkline allows you to display the x-axis, which can either be displayed or kept hidden as per the user requirement. By default, the x-axis remains hidden in Sparkline. The x-axis can also be used to display data over a span of dates.
- Styling
The Sparkline control provides numerous styling options to customize its appearance such as the color of axis, data points (first, last, high, low and negative), and the complete series.
- Integration with Controls
It is very common for sparklines to be added to any of the data management controls such as grids or dashboard layout as they are compact yet extremely effective in data visualization. The Sparkline control can be easily integrated with controls like FlexGrid and DashboardLayout.
- Data Binding
The Sparkline control can easily bind to any enumerable collection of data values i.e. to any class that implements the IEnumerable interface. Also, the class can implement the INotifyCollectionChanged interface to have support for modifying data after binding.