We have released version 2.0 of MindFusion.Charting for WPF. It contains the following new features:
Support for multiple axesThe chart can now render multiple axes at each side of the plot area. To enable that, add a new Axis instance to the XAxes collection properties for bottom axes, to YAxes collection for left-hand axes, and X2Axes / Y2Axes for respectively top and right sides. The old AxisSettings class and XAxisSettings / YAxisSettings objects have been removed, and now their properties are set independently for each Axis instance in the collections.
Improved 3D Charts3D charts have been greatly improved and optimized. In addition, they now provide the following new properties:
PointMergeThreshold property of SurfaceChart sets the radius of an area around a given point where no other points are drawn. This results in better performance in charts with numerous points which happen to be close to one another. Of points with similar coordinates only a single one is rendered, the rest are omitted.
SurfaceChart.InterpolationType can now be set to None to disable surface interpolation but only connect provided data points using triangulation.
The SurfaceType enum has been replaced with three bool properties, which makes the API easier to understand and use -
ShowSurface - shows/hides the surface of a 3D chart
ShowScatters - shows/hides the scatters
ShowWireFrame - shows/hides the wireframe
ScatterFaceSize - the property regulates the size of the polygons that build a 3D scatter. Bigger values lead to bigger polygons, which results in faster performance but more rough scatter mesh.
Effect3D.ShaderEffect can now be applied to all 3D chart elements, including scatters and renders much faster.
Improved ZoomingSelecting chart area with width smaller than MinZoomSpan does not evoke any action in the control, thus avoiding accidental zoom when user clicks on the chart. In addition, the new ZoomChanged event is raised whenever zoom occurs and provides data for the event with its ZoomChangedArgs.
Crosshair ImprovementsThe crosshair control has been improved with several new properties, a method and an event. The properties are:
CrossHairBackground, which lets you change the background of the control.
CrossHairTemplate, which you can use to set your own ControlTemplate for the crosshair.
CrossHairType that let you choose among several types of crosshair to display.
The new CrossHairPosition method returns the current location of the crosshair. For more precise handling of cross hair movements a new event is available - CrossHairPositionChanged.
Exporting ImagesTwo new methods have been added for exporting the chart as an image - CreateImage and ExportImage.
Custom Formatting of Labels in Real-time ChartsA new property has been added to the RealTimeChart library - Axis.LabelFormatProvider. Use it to specify custom formatting of numeric labels. If required, you can specify format arguments for your format classes with Axis.LabelFormat.
Installer for the latest version can be downloaded here, or from the
clients area on our site:
https://mindfusion.eu/WpfChartTrial.zipUpdated assemblies are also available as
MindFusion.Charting.Wpf NuGet package.
Enjoy!