Use MindFusion.Charting to create charts and dashboards. It provides a flexible data model, a rich set of chart types, and extensive customization options.
Core Features
- Chart Types: Supports a wide range of chart series, including line, bar, pie, scatter, bubble, radar, and candlestick.
- Data Handling: Data can be provided in unbound mode (populating data collections) or bound to any .NET data source.
- Dashboard Layout: Arrange multiple plots, gauges, and other elements into a single dashboard view with a dynamic layout system.
- Multiple Axes: Supports an unlimited number of X and Y axes per chart.
- Styling: Extensive control over visual appearance through pens, brushes, fonts, and pre-defined themes.
- User Interaction: Built-in support for zooming, panning, scrolling, and tooltips.
- Output: Export charts to image formats (PNG, BMP, JPEG, GIF), vector formats (SVG), or as PDF files. Also supports printing.
Chart and Series Types
The control supports numerous series renderers, which can be combined in a single chart:
- Line / Area
- Bar
- Pie / Doughnut
- Scatter / Bubble
- Financial
- Radar / Polar
Data Model
The data model is designed for flexibility:
- Unbound Mode: Manually add data points to the series collections. Data can be simple numeric arrays or complex objects.
- Data Binding: Connect the chart to a data source. The control can bind to properties of data objects, including
DateTime values.
- Series Interface: The universal
Series interface allows for creating custom series or adapting data from various sources like XML or database tables.
Customization and Styling
- Element Styling: Customize the appearance of each element, including plot, series, labels, axes, grid, and legend.
- Themes: Apply pre-built themes for a consistent look and feel.
- Gauges: Includes oval and linear gauges that can be integrated into dashboards.
Architecture
The object model is structured around the following core components:
- Dashboard: The top-level container for all chart elements.
- Plot: Represents a single chart, containing series, axes, and a grid.
Plot2D and Plot3D are the base classes for all plots.
- Series: Represents a set of data points. Different series classes render data in different visual styles.
- Axis: Controls the range, scale, and labels for a dimension of the plot.
- Legend: Automatically generated from the chart's series. Can be positioned and styled as needed.
| |