How do I implement a box plot graph on Android like this? It seems to be similar to CandleStick Chart of MPAndroidChart. Is there any other good way?
The CandleStickChart is the closest match to your requirement for that library in MPAndroidChart although you could have a look at the other chart libraries here
to see if there is anything closer.
The CandleStickChart from MPAndroidChart looks like this:
CandleStickChartActivity in the example GitHub project is a good start for you to base your implementation.
If you need to customise the appearance of the chart further (e.g., to use circles instead of boxes) you will need to write a custom renderer. See this question for how to do that.
Related
I would like to ask, how to create combined horizontal scrollable graph like on the image below using AchartEngine library?:
Many Thanks for any sample.
You can create an XYCombinedChart having a BarChart and a LineChart. An example for doing something similar would be this.
I'm looking library that allow to build bar charts with negative values like on picture below.
I tried already AndroidPlot(impossible to achieve this on version 0.6.0) and GraphView(look like impossible, actually i get same result as in AndroidPlot)
Greatly appreciate any help.
It is impossible via GraphView library but possible using AChartEngine library.
I am doing an android application where i need to implement interactive graphs.Can any one suggest good libraries to use.
I have gone through achartengine.
I need some interactive charts libraries.
Following two links will help you out :
http://android-graphview.org/
http://www.androidsnippets.com/how-to-create-a-line-chart
If you want to create custom graph like change the background color then you have create it on canvas
There are many libraries.
The simplest one is this
HoloGraphLibrary
Also
http://androidplot.com/
https://code.google.com/p/afreechart/
http://android-graphview.org/
I'm using AchartEngine to create charts in android. But not able to show animations. For example : in pies chart i want initial rotations. In bar chart i want bar should grow from top to bottom.
Or is there any API or library which helps to build animated charts in android.
Please suggests or give any sample.
It is possible. You just need to modify the property you want to be modified and then call mChartView.repaint();
when using Achartengine for drawing a chart , the function of Achartengine library will just provide a intent, then you just need to jump to the screen pointing by the intent ; yes .... this can be work perfect .. However , the screen is so simple and the style of the chart screen is totally uncompatible with other screen's , and it seems that the Achartengine library doesn't provide any interface to change the chart UI ( not just the color of line or point), can any one tell me some idea to solve this issue...
any help will be appreciated!
bob
The AChartEngine APIs actually allow you create views as well. This means that you can have a chart together with other UI components under the same screen. There is example code in the AChartEngine demo showing you how to do this.
If you apply an application wide theme through your manifest you will inherit some of them. Things like background colors, etc. Otherwise you have to specify your text/axis/line colors through code when setting up the intent.