Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Charting for WPF, v2.0 (Read 2577 times)
Forum Admin
YaBB Administrator
*****
Offline


Rock and Roll

Posts: 685
Joined: Apr 6th, 2003
Charting for WPF, v2.0
Jan 19th, 2016 at 9:21pm
Print Post  
We have released version 2.0 of MindFusion.Charting for WPF. It contains the following new features:

Support for multiple axes
The 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 Charts
3D 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 Zooming
Selecting 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 Improvements
The 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 Images
Two new methods have been added for exporting the chart as an image - CreateImage and ExportImage.

Custom Formatting of Labels in Real-time Charts
A 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.zip

Updated assemblies are also available as MindFusion.Charting.Wpf NuGet package.

Enjoy!
« Last Edit: Jan 22nd, 2016 at 10:12am by Forum Admin »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint