Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic MindFusion.WPF Pack, 2016.R1 (Read 8802 times)
Forum Admin
YaBB Administrator
*****
Offline


Rock and Roll

Posts: 685
Joined: Apr 6th, 2003
MindFusion.WPF Pack, 2016.R1
Feb 9th, 2016 at 2:29pm
Print Post  
MindFusion Pack for WPF 2016.R1 has been released. It adds the following new features:

Visual Studio 2015 support
MindFusion Pack for WPF now includes support for Visual Studio 2015. The installer can create VS2015 toolbox palette for the component.

Barcodes
The new BarcodeLabel class allow displaying EAN, UPC or QR barcodes.

MindFusion.Charting

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 received plenty of improvements, new properties and performance optimizations:

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.

Cross Hair Improvements
The cross hair 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 cross hair.
  • CrossHairType that let you choose among several types of cross hair to display.

The new CrossHairPosition method returns the current location of the cross hair. 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.

MindFusion.Diagramming

Free-form nodes
A FreeFormNode collects all points from users' mouse or touch input and displays them as node's outline. To let users draw free-form nodes interactively, set Diagram.Behavior to DrawFreeForms or LinkFreeforms. Use the Points property of FreeFormNode to get or set outline points programmatically. If the Closed property is set, the node is drawn as a closed shape and its interior filled, or otherwise the node is drawn as a poly-line. If the distance between first and last points drawn by user is shorter than Diagram.AutoCloseDistance, the node's Closed property is automatically set to true. AutoCloseDistance default value is Double.MaxValue, so free-form nodes are always closed.

Additional drawing modes, convenient for touch input, convert FreeFormNode objects drawn by user to ShapeNode objects with most similar shape. To enable them, set Behavior to DrawFreeShapes or LinkFreeShapes. The shapes against which the user's input is matched are set via diagram's FreeFormTargets property. By default it contains Rectangle, Decision and Ellipse shapes.

Shape control points
Shape formulas can now be parameterized by associating control points with Shape objects. Each control point is passed to the shape script as a named variable. Apart from the name, you can specify the default, min and max coordinates for each parameter via the ShapeControlPoint constructor, and whether to treat its values as percents or fixed offset.

Resize table columns and rows
Columns and rows of a TableNode can now be resized interactively if its AllowResizeColumns or AllowResizeRows properties are enabled. In order to resize, move the mouse pointer to the border line on column's right side or row's bottom side until it shows resize cursor and start dragging. The control raises TableColumnResizing and TableRowResizing events to let you validate new size or prevent resizing some elements. The TableColumnResized and TableRowResized events are raised after the operation completes.

Barcode nodes
The BarcodeNode class displays EAN, UPC or QR barcodes as node's content. In-place edit operations let users enter new numeric codes for 1D codes or text strings for QR codes. The barcode format is specified via the Format property, the encoded number or text is set via Content, and color of 1D bars / 2D modules via BarColor.

Support for Visio stencils
The diagram can now display shapes from stencil files in Visio 2003 XML stencil format (.vsx). To load a stencil file, use an instance of the VisioStencil class. The shapes are displayed in the diagram through VisioNode objects. To associate a stencil shape with the node, create an instance of the VisioContent class and assign it to the node's Content property. Note that standard stencils installed with Visio are copyrighted by Microsoft, and you should not use them in your application. This feature is intended to let you use public domain stencils, or commercial clipart you have purchased a license for.

ShapeDesigner improvements
  • The ShapeDesigner control supports undo. Call its Undo or Redo methods to respectively undo or redo a change done to the designed shape.
  • ZoomFactor property added to ShapeDesigner. It also supports interactive zoom in/out via mouse wheel.
  • The SelectedElement property exposes the graphic element currently selected in ShapeDesigner canvas. You can bind to its stroke and brush properties to create alternative user interface for editing element attributes.

AnchorPatern improvements
  • The XUnit and YUnit properties allow specifying the coordinates of an AnchorPoint as a fixed offset from the node's top-left corner rather than in percentage, so that the point position does not change when the node is resized.
  • The AnchorPattern property of Shape class lets you associate anchor points with shape definitions. If a ShapeNode instance does not contain its own AnchorPattern, it will derive the one defined by the node's Shape.
  • The RowAnchorPattern property lets you specify default AnchorPattern for all table rows.

Miscellaneous
  • Undo/redo records for in-place edit operations are now created automatically. They are represented by instances of the EditTextCmd class.
  • LinkTextStyle.Center improved for vertical links.
  • KeepInsideDiagram property of NodeConstraints prevents a node from leaving diagram boundaries during user interaction (the older RestrictItemsToBounds property does not stop nodes from leaving diagram area but returns them to original position if dropped outside).
  • Dashed selection frames are now drawn in two colors and should be visible on both the default white background and custom darker backgrounds. You can change the second dash color by setting DashBackground property of HandlesVisualStyle.
  • Set the WhileModifying flag in RoutingOptions.TriggerRerouting to reroute links while users drag their end points.
  • Custom connection point classes can now override NearestAnchorPoint to implement custom anchor point selection logic; the method is now also called at the beginning of interactive link creation.
  • LinkHitDistance is now backed by a dependency property.
  • Fixed node spacing in bottom-to-top TreeLayout.
  • AllowRenamePages property of TabbedDiagramView now automatically sets new Title values instead of only raising events.
    ChangeUnit now also scales stoke widths.
  • ShapeDesigner supports alignment grid, which can be customized using ShowGrid, AlignToGrid and GridSize properties.
  • ShapeDesigner allows specifying anchor points for the shape.

Fixed bugs
  • Fixed a bug where link to a child node inside a nested container would not point to correct position if both nested and outer containers are folded.
  • Fix for incorrect Visio formula parsing in VisioNodes for some regional settings.
  • Dots in item borders were not visible with default StrokeDashCap value when using dot and dash-dot stroke styles. Default value has been changed from Flat to Square to fix that.
  • Links to contained nodes were left visibly disconnected from them after deleting a folded ContainerNode.

MindFusion.Mapping

Zoom control
The ZoomControl class lets user change interactively the current zoom level and scroll position of a MapView. To set it up, add a ZoomControl to the page, place it anywhere over a MapView, and set the control's Target property to that view. Set the ZoomStep and ScrollStep properties to specify the amount added to view's zoom level or scroll position by ZoomControl's buttons. You can customize the control's appearance by setting properties such as Fill, CornerRadius and TickPosition.

Miscellaneous
  • The new Behavior property lets users select multiple map elements interactively.

MindFusion.Reporting

Report Parameters
Parameters can now be added to a report through the new Parameters collection of the Report class. The parameters provide name, description and value and can be of any type, including expression. For more information about parameters, check the Report Parameters topic.

Barcodes
MindFusion.Reporting for WPF reports can now display UPC-A, UPC-E, EAN-8, EAN-13, and QR barcodes. The barcodes are represented by the new Barcode report item.

Miscellaneous
  • Fixed an issue with horizontal data ranges.
  • Items in data range headers and footers can now bind to the data source of the data range.
  • New sample illustrating the Barcode report items.

MindFusion.Scheduling

Interactive Recurrence Rescheduling
Recurrences can be rescheduled interactively by holding down the RescheduleRecurrenceKey while dragging a recurrent item. The control tries to preserve the current pattern of the recurrence when possible. Otherwise, the recurrence may be modified to accommodate to the new start and end times of the modified item. Interactive rescheduling is not registered in the undo history.

New Theme
A new built-in theme is available in MindFusion.Scheduling for WPF – the Light theme. It is available through the ThemeType enumeration.

New Members
Several new properties and events have been added to the control:

  • The RescheduleRecurrenceKey property in the Calendar class can be used to modify recurrences interactively.
  • TickSize added to the ResourceViewSettings class.
  • Calendar.FilterItem event.


Installer for the latest version can be downloaded here, or from the clients area on our site:
https://mindfusion.eu/WpfPackTrial.zip

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

Enjoy!
« Last Edit: Feb 9th, 2016 at 5:28pm by Forum Admin »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint