Sparklines for WinForms
Sparklines for WinForms

Sparkline for WinForms, a lightweight data visualization control for depicting trends and variation. Designed as an inline chart, Sparkline plots data in a highly condensed way. Unlike standard charts, Sparkline is drawn without basic chart elements like coordinates, legend, and title. Sparklines are at times even more informative than any of usual chart types, just because of its simplicity. A sparkline is positioned near to its data for the greatest impact.

The Sparkline control allows you to create sparklines which adds rich visualization capability to your data without taking too much space. Sparkline control can be used as a standalone control or as a nested control in other container controls such as dashboard.

To work with Sparkline control, you need to create an instance of C1Sparkline class.

Sparklines for WinForms

Key Features

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.

ComponentOne Sparkline control is compatible with both .NET 4.5.2 and .NET 5.

API References

C1.Win.C1Sparkline.4.5.2 Assembly C1.Win.C1Sparkline.5 Assembly
関連トピック