Xamarin Chart - Examples
Please note! These examples are new to SciChart Mobile v3 release! SciChart iOS & Android ship with Xamarin.iOS and Xamarin.Android bindings around our native iOS & Android Chart controls, allowing you to create fast & feature rich charts to your Xamarin applications. We include ~90 native iOS examples and 90 Android examples, but now also ~60 Xamarin Chart Examples to help you get started with SciChart. You can download the source for our Xamarin Chart Examples from Github, or browse the source code below.
This example demonstrates how to create a simple Band Chart with Xamarin to use it in your iOS and Android app.
The FastBandRenderableSeries in Android and
SCIBandRenderableSeries in iOS draws two lines, denoted by Y1 and Y2, and an optional fill between the lines.
The Filled area changes color depending on whether Y1 is above Y2 or not. The Band Series can be used to display:
- Bollinger Bands
- Profit & Loss
Warnings, such as when a value is above a threshold.
The data is provided by XyyDataSeries in both iOS native and Android native.
The C#/Xamarin.iOS/Xamarin.Android source code for the Xamarin Band Chart example is included below (Scroll down!).
Did you know you can also view the source code from one of the following sources as well?
- Clone the SciChart.Xamarin.Examples from Github.
- Also, the SciChart for Xamarin Trial contains the full source code for the Xamarin chart examples (link below).