Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic MindFusion.WinForms Pack, 2015.R1 (Read 7476 times)
Forum Admin
YaBB Administrator

Rock and Roll

Posts: 591
Joined: Apr 6th, 2003
MindFusion.WinForms Pack, 2015.R1
Feb 2nd, 2015 at 12:02pm
Print Post  
MindFusion Pack for WinForms 2015.R1 has been released. It adds the following new features:

There is no separate trial build of the control assemblies anymore. Instead, set the LicenseKey property of the individual components to disable the component's evaluation mode and stop displaying trial messages. If your application contains more than one control by MindFusion, you could call MindFusion.Licensing.LicenseManager.AddLicense(key) to specify the key once instead of setting it per each control. License key strings are listed on the Keys & Downloads page at MindFusion's customer portal.


Custom Formatting of Labels
All chart types support custom formatting of labels. It is used when the number format property is set to NumberFormat.Custom. The properties that set the custom number format use the custom format strings for .net.  Here is a list of the properties for the different chart types:

  • Line charts: set LabelFormat to NumberFormat.Custom and use LabelCustomFormat.
  • Bar charts: set InnerLabelFormat, TopLabelFormat to NumberFormat.Custom and use InnerLabelCustomFormat and TopLabelCustomFormat.
  • Pie charts: set InnerLabelFormat, OuterLabelFormat to NumberFormat.Custom and use InnerLabelCustomFormat and OuterLabelCustomFormat.
  • Radar charts: set InnerLabelFormat, OuterLabelFormat to NumberFormat.Custom and use InnerLabelCustomFormat and OuterLabelCustomFormat.

Sorting of Bars
The algorithm for sorting of bars has been improved. Bars in a series or in clusters can be sorted in ascending or descending order - use the SortOrder property. You can also sort each series/cluster with the SortSeriesBy property. Bar can be sorted with their colors preserved if SortColor is set to true.

  • Bars are now outlined with the consecutive pen from the ChartPens collection rather than the AxisPen.
  • Drawing of line and area charts has greatly been improved - the control now draws only the visible portion of the chart rather than the whole chart, which was clipped to the visible rectangle.
  • AreaOpacity property added to radar charts.
  • AxesOnTop property in radar charts sets the order of drawing for the graphic and the axes.
  • SortYData and SortXData properties added to line charts.
  • In line charts colors can be sorted with line series or scatters when those get sorted.
  • Fixed a bug which displaced the order of tooltips when sorting was enabled.


Map nodes
The MapNode class represents nodes that can render geographical maps. At this time map nodes can display the content of Esri shapefile files. The content of a map file is represented by an instance of the MapContent class that should be assigned to the Content property of a MapNode. When the map comes with associated DBF database file, map regions can display labels if the labelField argument of FromFile is specified and DrawLabels is enabled. The color of a map region can be set via an integer index assigned to a map's Shape object, which identifies the element of FillColors that should be used to paint the shape.

Tree map layout
Tree maps represent hierarchies by nesting child nodes within their parents, where the areas of leaf nodes are proportional to their Weight values. Unlike other layout algorithms, TreeMapLayout expects hierarchies to be defined via grouping or containment (see AttachTo method and ContainerNode class), and will ignore any links in the diagram. The diagram area covered by the topmost nodes in a hierarchy is specified via the LayoutArea property. By default, the layout tries to keep the ratio of node sides as close as possible to one. However this could make it hard to distinguish separate levels of the hierarchy. To alleviate that, set Squarify to false, and child nodes will be arranged either as a row or a column inside their parent node, alternating directions for each level. The drawback is that when Weight ratios differ greatly or nodes contain many children, some nodes could end up with very narrow rectangles.

Decision flowchart layout
DecisionLayout arranges simple flowcharts consisting of decision boxes with up to three outgoing links per node and activity boxes with a single outgoing link per node. The nodes are arranged in columns and rows, whose distance depends on the HorizontalPadding and VerticalPadding property values. When links share the same row or column, they are placed at a distance specified via LinkPadding. The layout arranges nodes recursively starting from StartNode. If StartNode is not specified, the algorithm selects the root of the deepest branch of the graph's spanning tree as start node.

Improved arrowhead rendering
  • Arrowheads are rendered as a single path when possible and several arrowhead Shape definitions have been changed to implement mitered joints when HeadPen is set to a thick pen.
  • The point where end segments connect to arrowheads can be specified via the LinkSegmentInset property of shapes. Shape definitions from the ArrowHeads class set it to suitable default value. This allows using transparent or semi-transparent brushes without seeing the link line drawn behind arrowheads.
  • Arrowhead shadows are no longer filled if the link's EffectiveBrush is null or fully transparent.

Import diagrams from SVG
The SvgImporter class allows importing Scalable Vector Graphics files (*.svg) into MindFusion.Diagramming. Each top-level SVG group element is imported as a separate SvgNode, whose Content is set to the group's child elements. If the SVG file was exported from Visio or OpenOffice Draw, SvgImporter will create DiagramLink objects for groups it recognizes as connectors in order to recreate the original diagram model, though in this case it will not preserve fully the original appearance of connectors in SVG.

Visio2013Exporter improvements
  • Support for multi-segment links.
  • Bezier links are now exported as NURBS lines.
  • Support for rotated nodes.
  • Proper scale for all MeasureUnit values.
  • Support for gradient brushes.
  • Support for semi-transparent colors.

  • VisioExporter export speed has been improved greatly for large diagrams.
  • For consistence with MindFusion libraries for other platforms, BackBrush in default diagram style has been changed to white brush.
  • Improved DiagramLink rendering speed.
  • Multiple-resize of rotated nodes fixed to apply same offsets in nodes' local coordinate system.
  • Fixed KeepInsideParent constraint for rotated parent nodes.
  • Layout algorithms now automatically resize diagram's Bounds if it's not large enough to fit the arranged content. To revert to old behavior and keep fixed Bounds size, set GrowToFit to false.
  • Set the AutoGrow property to false to prevent containers from resizing automatically when they would not fit newly added nodes.
  • The Brush property of LinkLabel class lets you set background color for link labels.
  • Now the NodeModified event is raised after the undo record for that modification has been added to the command history. This makes it easier to merge the ModifyItemCmd with custom commands created from NodeModified handler.
  • The ChangeUnit method sets a new MeasureUnit and rescales the coordinates of diagram items to keep them the same size.
  • OrthogonalLayout no longer ignores repeating links, and will now place them at a distance specified via RepeatingLinksPadding property.
  • Fixed a bug where the magnifier tool would not scale correctly the diagram's BackgroundImage.


Grouping and Outlining
Rows and columns can now be grouped. To group or ungroup a range of rows or columns, use the Group or Ungroup methods of the RowRange and ColumnRange classes. To set the outline level of a row/column or a range of rows/columns directly, use the OutlineLevel property. Groups can be expanded and collapsed interactively, by clicking on the expand/collapse button in the view, or programmatically, by settings the IsCollapsed property of the respective row or column.

Formatted text support
The control can now import, display and export texts with mixed formatting. Formatted texts can also be created programmatically by assigning a FormattedText instance to the Data property of cells. The supported formattings are: font name and size, bold, italic, underlined, strikeout, and text color.

Improved in-place editing
The in-place editing has been improved. When typing a new formula, pressing the arrow keys will result in navigation within the worksheet (instead of adjusting the caret position) and the selected cell or cell ranges will be inserted as a reference in the currently edited formula. This can also be achieved by pressing the left mouse button and dragging - similarly to selecting cells in the worksheet.

New Events
Several new events have been added to the WorkbookView and WorksheetView classes.

  • Header interaction notification events - ColumnsMoved, ColumnsResized, RowsMoved, and RowsResized.
  • Group interaction events - ColumnGroupCollapsed, ColumnGroupExpanded, ColumnOutlineLevelToggled, RowGroupCollapsed, RowGroupExpanded, and RowOutlineLevelToggled.
  • Custom drawing events - DrawColumn and DrawRow.

New Functions
22 new functions have been added to the core calculation engine, including a full set of database functions, such as DGET, DSUM, and so on. For additional information, see Function Reference.

  • Worksheets can be moved and copied to another workbook through the new Move and Copy methods.
  • The new EnableFormulaEvaluation property can be used to disable formula evaluation across the workbook.
  • New ShowActiveCell and ShowSelection properties added to the WorkbookView and WorksheetView classes.

The pack is available for download here:

Back to top
IP Logged
God Member

MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
WinForms 2015.R1 patch
Reply #1 - Feb 10th, 2015 at 11:18am
Print Post  
License keys did not work correctly for diagram control from 2015.R1 release of the pack. This archive contains fixed assemblies:

The installers in MindFusion's customer portal archive and have been updated.

In addition, the LicenseKey property have been moved from Diagram class to DiagramView.
Back to top
IP Logged
YaBB Newbies

I love mindfusion

Posts: 19
Location: Auckland, NZ
Joined: Jun 4th, 2011
Re: MindFusion.WinForms Pack, 2015.R1
Reply #2 - Mar 25th, 2015 at 5:45am
Print Post  
I have a question about the new licensing.
If I upgrade to the versions (2015.R1 or R2) then when my license period expires, will I still be able to use these later versions or will they then come up with trial on the existing diagrams. I ask because even with academic pricing I will not be able to afford the ongoing license costs.

thanks for a great product
Back to top
IP Logged
God Member

MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: MindFusion.WinForms Pack, 2015.R1
Reply #3 - Mar 25th, 2015 at 6:12am
Print Post  
Your current key should work forever with versions your are seeing listed on Keys & Downloads page. It should also work for new versions released before your upgrade subscription expires.

I hope that helps,
Back to top
IP Logged
Page Index Toggle Pages: 1
Send TopicPrint