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?
Related
I am looking for a way to draw area chart using MPAndroidChart. I am aware , I can use StackedBar Chart but that doesn't quite serve the purpose.
Is there a way to draw Area chart such as shown below using MPAndroidChart and if not what might be the suitable alternate?
sample image souce-wikipedia
you can make chart as you want using MPAndroidChart.
I tested using sample app in google Play Store(try search 'MPAndroidChart').
try multiLineChart and make option Toggle Filled. I think this is what you're looking for.
I am using MPAndroidChart, I want to use
setDrawCircles(true);
setDrawValues(true);
only for selected value from line chart in mpchart libary. Means I do not want to draw label and circle on whole data set which can be easily achieved using above methods. I need to draw label and circle only for one value from chart. I have implemented onChartValueSelected and I do not know what should be done in onValueSelected I have tried many things. I achieved this in version 2.5.5 but now I am using version 3.0.0 and facing issue.
I'm using achartengine lib and I have problem with displaying of bars value. I want to display multiply bar chart, but when the values are similar, the text is not good for readability.
Does any one provide some ideas for improving this? Or exists another library for bar chart, where it is possible to do this?
Use this library MPAndroidChart
It supports multiple type of charts and also dragging, zooming etc.
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 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.