The WinForms Sparkline control is a compact, yet powerful way to display visual representation of data in Windows Forms applications. Enable application users to easily grasp a trend of some measurement temperature or stock price move.
The WinForms Sparkline control can be used standalone as well as in the context of RadGridView by using the dedicated Sparkline column. In addition, thanks to the powerful Telerik Presentation Framework, the Sparkline element can be used in conjunction with any other control from the Telerik UI for WinForms suite.
The control can be bound to any type of data source that inherits from IList, IListSource (such as DataTable or DataSet), IBindingList (such as BindingList) or IBindingListView (such as BindingSource), making it to setup. In addition, there is the possibility to manually populate the series and its data
Sparkline indicators are a great way to point the user’s attention to a certain part of a trend such as highlighting high and low points, negative points or the first and the last points. All of these come out-of- the-box with the Telerik UI for WinForms Sparkline control. In addition, there is also an extensibility point where custom indicators can be created.
Another way to navigate the user’s attention or introduce a highlight is to use annotations to highlight the plot area. The available plot area annotations are Grid Line and Plot Band. With the former you can display lines or circles at a certain location based on the axis values, while with the latter you can indicate an entire area – from the beginning to the end of the vertical or horizontal axis.
The control features convenient methods for exporting the Sparkline control to an image or to sending it to the printer.
Handling null values from the data source is always two-fold – there are cases where it would make sense to show these as gaps in the data visualization, while in other cases we need to treat them as zero. Both of these are possible with the EmptyPointBehavior of the Sparkline component.
All of the control parts can be customized with the provided API extension points, so any scenarios can be achieved. Here is an example where pins and data points are being drawn on the Sparkline:
Telerik Sparkline provides rich design time support, making customizations and configurations very Some key capabilities include:
The control is shipped with a rich set of themes that allow you to easily build slick interfaces with the look and feel of some of the latest Windows and Office versions. The themes can be easily switched using a single property.