Import the shinobicharts Library

Visual Studio (for Xamarin.Android)

To use the shinobicharts library you’ll need to declare a dependency on it from your application. Make sure you’ve unzipped the download bundle.

  1. Right-click on the Packages folder of your application in your solution and click Add Packages…
  2. Add the Xamarin Support Library v4 package
  3. Add the Xamarin.Android.Support.v4 package
  4. Right-click on the References folder of your application in your solution and click Edit Reference…
  5. On the .NET Assembly tab navigate to where you downloaded the bundle and add the reference to Com.ShinobiControls.Charts.dll.
  6. Check that this is shown in the Selected references: pane and press OK.

You can now reference the library in your application.

Hardware Acceleration

In order to display a chart, some devices need to be explicitly told that the application requires hardware acceleration. To do this simple add android:hardwareAccelerated="true" to the application element of your app’s AndroidManifest.xml file.