Pre loader

Android Candlestick Chart

Android Chart - Examples

SciChart Android ships with ~90 Android Chart Examples which you can browse, play with, view the source-code and even export each SciChart Android Chart Example to a stand-alone Android Studio project. All of this is possible with the new and improved SciChart Android Examples Suite, which ships as part of our Android Charts SDK.

Download Scichart Android

SciChart’s Android Charts are popular with traders as they are a good fit for use in real-time trading systems, even in demanding, fast moving markets.
This example demonstrates how to generate a simple Android Candlestick chart in code. The FastCandlestickRenderableSeries requires an OhlcDataSeries, which contains one X-point and four Y-points (Open, High, Low, Close).

Candles are drawn using the pens set by the setStrokeUpStyle(PenStyle), setStrokeDownStyle(PenStyle) methods and the brushes set by the setFillUpBrushStyle(BrushStyle) and setFillDownBrushStyle(BrushStyle) methods, which are used depending on whether Open > Close or not.

The full source code for the Android Candlestick 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?

  1. Clone the SciChart.Android.Examples from Github.
  2. Or, view source and export each example to an Android Studio project from the Java version of the SciChart Android Examples app.
  3. Also the SciChart Android Trial contains the full source for the examples (link below).


Android Chart Examples

2D Charts
3D Charts
Featured Apps