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

Rock and Roll

Posts: 691
Joined: Apr 6th, 2003
MindFusion.WinForms Pack, 2016.R1
Jan 29th, 2016 at 11:27am
Print Post  
MindFusion Pack for WinForms 2016.R1 has been released. It adds the following new features:


New data model
Data that should be drawn in charts is read through an interface called Series, whose instances can be assigned to the Series properties of Chart and SeriesRenderer classes. You could implement this interface in your own model classes to avoid duplicating data. Alternatively, if a model class is sealed but provides API to access its data, you could implement the interface in an adapter class. The library includes several pre-defined series classes that let you specify data via IList or array objects. For example, BarSeries lets you specify lists of values, inner labels and top labels, and PointSeries lets you specify data as a list of points. In addition, the DataBoundSeries and XmlSeries implementations can be used to automatically read from a .NET data source or from an XML document. Instances of latter series types are automatically generated when chart's DataSource property is set.

New rendering model
Chart graphics are drawn inside Plot components by SeriesRenderer-derived objects. Each plot can contain multiple series renderers from same or different types. For example, you can draw area, line and bar graphics in same plot by adding AreaRenderer, LineRenderer and BarRenderer objects to its SeriesRenderers collection. Chart controls automatically generate a series renderer of appropriate type for their Series.

The Dashboard control can contain multiple plots, axes, legends, images, gauges and text blocks arranged in dynamic layout. Individual components can be added to dashboard's default RootPanel or LayoutPanel containers, or for more complex layouts add intermediary panels such as GridPanel and StackPanel to the default ones. To show different types of chart graphics, add Plot2D to draw in 2D Cartesian coordinate system, Plot3D for 3D Cartesian system, and PolarPlot for polar coordinate system. To draw horizontal or vertical axes, add respectively XAxisRenderer and YAxisRenderer objects. To show gauges, add LinearGaugeRenderer or OvalGaugeRenderer, whose Gauge property contains the gauge model definition.

Print and export
The Dashboard control and Chart controls that derive from it expose Print and PrintPreview methods for printing on paper. Call the ExportImage and CreateImage methods to generate bitmap image of the dashboard. The ExportPdf method exports the chart to a PDF (Portable Document Format) file. The ExportSvg method exports the chart to an SVG (Scalable Vector Graphics) file.

Values of appearance properties can come from several places in the component hierarchy. SeriesRenderer-derived objects can use attributes from their local SeriesStyle, from plot's SeriesStyle, or from the *Series properties in current Theme. Component classes use either their local properties or ones defined in the theme. By default, appearance properties in SeriesRenderer and Component classes have null values, which makes the drawing code use values from the theme.

  • TickLength property added to AxisRenderer. XAxisTickLength and YAxisTickLength properties added to BiaxialChart.
  • LabelAlignment property added to BubbleRenderer and BubbleChart.
  • ShowTitle property added to LegendRenderer, and corresponding ShowLegendTitle property added to Chart.
  • Spacing property added to LegendRenderer, and corresponding LegendSpacing property added to Chart.
  • GridLineColor, GridLineStyle and GridLineThickness properties added to Plot2D and Theme classes.
  • Fixed crash in pie charts for zero values.
  • Bubbles in bubble charts are now properly centered on their values.
  • Fixed YAxisLabel alignment in horizontal bar charts.


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 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 AutoCloseDistance, the node's Closed property is automatically set to true. AutoCloseDistance default value is float.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.

LinkLabel edit events
LinkTextEditing and LinkTextEdited events are now raised also when the user edits a LinkLabel. The Label property of the respective event-arguments class identifies the LinkLabel that is being edited. Label is a null reference if the user is editing link's Text value. You can prevent users from editing Text and let them edit only labels by handling LinkTextEditing like this:

Select All
void OnLinkTextEditing(object sender, LinkValidationEventArgs e)
    e.Cancel = e.Label == null;

Fixed bugs
  • The distance required to move mouse pointer in order to resize TableNode columns and rows was dependent on MeasureUnit, making it difficult to start resizing when using large units.
  • Text outside of node boundaries was not repainted correctly after loading custom shape library from XML.
  • Missing collapse / expand icon of expandable ControlNodes.
  • TreeViewNode scrollbar arrow buttons did not scroll correctly in some situations.

MindFusion Virtual Keyboard

MindFusion Virtual Keyboard has been initially added to MindFusion Pack for WinForms.


Improved charts
MindFusion.Reporting now uses the new MindFusion charting engine to display charts in reports. The presentation of the charts has been greatly improved (particularly when resizing the charts).


New and improved charts
MindFusion.Spreadsheet now uses the new MindFusion charting engine to display charts in worksheets. Along with the improved appearance (particularly when resizing the charts), the following new features have been added:
  • New Candlestick chart type;
  • New BarOverlayed and ColumnOverlayed chart types;
  • Several new legend position types;

The worksheets can now be zoomed in and out through the new Zoom property.

Installer for the latest version can be downloaded here, or from the clients area on our site:

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

« Last Edit: May 11th, 2016 at 10:40am by Forum Admin »  
Back to top
IP Logged
Page Index Toggle Pages: 1
Send TopicPrint