Nevron .NET Vision
Chart for .NET / About Nevron Chart for .NET / Porting From Older Versions / About Porting from 2012.1 to 2014.1
In This Topic
    About Porting from 2012.1 to 2014.1
    In This Topic

    This topic describes the differences in the programming model between Nevron Chart for .NET 2012.1 and Nevron Chart for .NET .

     Interactivity Features

    All Desktop related interactivity features, such as tools, mouse events etc. are moved to the Nevron.Chart.Windows namespace. This is required because these classes are shared between the WinForm and Wpf contorls. The following code snippet shows how to port previous code to the new version:

    C#
    Copy Code
    using Nevron.Chart.Winform;

    becomes:

     

    C#
    Copy Code

    using Nevron.Chart.WinForm;

    using Nevron.Chart.Windows;

     

     Panel Dock Property

    The panel Dock property is renamed to DockMode, which accepts values from the PanelDockMode enum. This is required in order to decouple the chart DOM from the WinForms assembly. The meaning of the members of the PanelDockMode enum is the same DockStyle. The following code snippet shows how to port previous code to the new version:

    C#
    Copy Code
    somePanel.Dock = DockStyle.Top;

    becomes:

    C#
    Copy Code
    somePanel.DockMode = PanelDockMode.Top;