iOS and Xamarin.iOS Charting Documentation - SciChart iOS Charts and Xamarin Charts SDK v2.x
Tutorial 01 - Linking SciChart DLLs

Creating the Xamarin.iOS project

In this tutorial series we will create a simple line chart using SciChart Xamarin.iOS. At this Tutorial we are up to create a new project and link SciChart.iOS DLL.

If you have already created a project with linked SciChart Xamarin.iOS, you can safely skip to Tutorial 02 - Creating a SciChartSurface.

 

In this following tutorial series we will be using Visual Studio 2015 on Windows machine. You can also use Visual Studio for Mac OS.

Xamarin.iOS might be installed on Mac or Windows machine. Which option is better for you and how to install Xamarin.iOS please take a look at this Xamarin Getting started page.

Now, create a new Xamarin.iOS project selecting iOS Single View application template:

Xamarin Mac Agent set up

If you had a chance and read the Official Xamarin Documentation, you probably know that you need Mac OS connection in case of developing iOS applications.
Right after you created new project, if you don't have Mac agent set up, you will see following pop-up window with instructions of how to connect to your Mac OS:

 

Next, choose the Mac Agent you'd like to use, and click on "Connect..."

 

After you connected with Mac Agent you can check it in Toolbar iOS section

 

It is also a very usefull Toolbar section - you can quickly check whether you have connection with Mac Agent set up or not!

Note that you need Mac OS Agent to be connected all the time if you want to build or run your application.

Now, when we do have set up environment and project, we can go ahead and link the SciChart Xamarin.iOS DLLs.

With the latest Microsoft updates, you can now run your iOS applications in iOS Simulator for Windows. For more information visit Official Xamarin web-page.

Linking the SciChart framework

To link the Xamarin.SciChart.iOS framework we will use Nuget package manager.
Let's add new feed URL:

- right click on HavingFunWithSciChartiOS in your solution explorer;
- select Manage NuGet Packages;
- click on Settings button and add new package address

 

You might use different version of Visual Studio, that means you have to use an appropriate URL.
Follow this link to find out the URL you need!

Now, when we have a SciChart feed, we can browse all SciChart packages and choose that one we need

 

Install SciChart.iOS package. After all you should see SciChart.iOS.Charting.dll in project references section

At this point the project should build and run, however we now need to add some data to be displayed as well as some basic functionality.