How to use the chart library .dll

  • Download the chart library and place the 'GravityApps.Mandelkow.MetroCharts.dll' file into your solution.
  • Create a reference to this in your application.
  • Add the Graph.xaml file to your project and link via a merged dictionary, OR include the default styles shown below in your App.xaml; Graph.xaml is in the test application and the binaries .zip
  • Create code to supply the data.
  • Create XAML code with settings you require
  • The line a scatter styling can be altered to suit your application - Styling
  • Alter the Legend Styles if required
  • See Creating Custom Pieces to create your own chart piece to fit onto the standard column piece axis

App.xaml

<ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="Graphs.xaml"></ResourceDictionary>
</ResourceDictionary.MergedDictionaries>

Last edited Oct 8, 2015 at 2:32 AM by gravityapps, version 16