- Welcome, Guest. Please Login or Register
MindFusion  
  We have released initial version of MindFusion.Scheduling library for HTML5 & JavaScript.  
  HomeHelpSearchLoginRegister   
     
     
   
 
Page Index Toggle Pages: 1 Send Topic Print  
MindFusion.WinForms Pack, 2016.R2
Read 1993 times

Forum Admin   Offline
YaBB Administrator
*****
Posts: 510
Gender: male
Rock and Roll


   
     
 
MindFusion.WinForms Pack, 2016.R2
May 11th, 2016 at 11:49am
 
MindFusion Pack for WinForms 2016.R2 has been released. It adds the following new features:

...
MindFusion.Charting


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.

Dashboard

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.

Styling

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.

Miscellaneous

  • 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.

...
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 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:

Code:
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.

...
MindFusion.Reporting


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).

...
MindFusion.Spreadsheet


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;

Zoom

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:
http://www.mindfusion.eu/WinFormsTrial.zip

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

Enjoy!
 
 
  WWW
IP Logged    
 
     
Page Index Toggle Pages: 1 Send Topic Print