I need to show progressive numeric stats to my Line Graph/Chart. Please share your opinion and advice. Please also make a note that I prefer if there would be a native API.
rohit
AChartEngine is a charting library for Android applications. It currently supports the following chart types:
line chart
area chart
scatter chart
time chart
bar chart
pie chart
bubble chart
doughnut chart
range (high-low) bar chart
dial chart / gauge
combined (any combination of line, cubic line, scatter, bar, range bar, bubble) chart
cubic line chart
You can get more information from this link.
Check out Zeitdata Charts. It is very lean and offers line charts and scatter plots. It also allows you to see what a chart would look like from within a layout editor.
Related
I want this type of Gantt chart in android:
For this which library is important. I will try Achartengine library but not getting proper result . So suggest me an example or library.
I want to draw a horizontal bar in the exact time when it happens"...the problem is that i can't(or i don't know how) draw an horizontal bar with not continous values (like a bar of a Gantt chart)
It's possible to create this chart with Achartengine or Afreechart?
I reasrched a lot about compound graphs in MPAndroidChart library. By compound graph i mean having multiple types of graph series in single plot.
I tried other libraries too like androidplot , achartengine library..
Although they provide compound graphs but they dont provide that much flexibility (like adding marker view/toast) .
My Expectation
1. i want both stacked bar chart and line chart in single graph
2. I need 2 y-axis(one at right and other at left)
is this possible?
Stacked-BarCharts are supported (as of v3.0.0 also in combination with LineChart)
2 YAxis are supported (left and right)
In AChartEngine, how would one create a line plot with scatter residuals -- i.e. using vertical lines to connect the regression line to the scatter plot?
Or, for that matter, is there another Android charting library that can do this?
This is the behavior I'm trying to achieve:
AFAIK that library doesn't give that. For your question, if there's other library: I generally prefer afreechart library, Which, has a full section dedicated to scatter charts (http://afreechart.googlecode.com/svn/doc/screenshot/index.html -> "Scatter charts" heading)
I am trying to make a simple smooth line chart which show the X axis as date-time on bottom and Y axis as normal left side. I just started using MPAndroidChart API and its example app in Git. In the example Line chart I am not able to find option to change X axis labels to show on bottom instead of top as show currently.
Just like:
Also is there a way to handle date-time data for X axis values ?
Also I tried my hand on Androidplot API but to make the line smooth there I need to make changes in library code which is not compiling at all in my Eclipse and giving errors. Also in Androidplot I did not find an option to show popup with data once I click on line chart.
So if anyone know how to make a smooth line chart using Androidplot API without modifying its library code and how to bring small popup with data in Androidplot API please reply.
// XAxis settings
graph.getXAxis().setPosition(XAxis.XAxisPosition.BOTTOM);
graph.getXAxis().setLabelsToSkip(0);
// and
// make the line smooth
graph.getLineData().getDataSets().get(0).lineDataSet.setDrawCubic(true);
Refer this:
http://wptrafficanalyzer.in/blog/android-drawing-line-chart-using-achartengine/
for smooth curve lines please refer this:
How to make line with rounded (smooth) corners with AndroidPlot
Hope this may help you.
AChartEngine is a charting library for Android applications. Using AChartEngine library, we can plot various charts like line chart, area chart, pie chart, time chart, bubble chart etc.
I am trying to create a line/area chart using achart library, my usecase is to show the chart as green above the predefined point and show the chart as red below the predefined point.
Please help. Please refer the sample chart
You can create two separate series, one to display the line above zero and the second one for the one below.