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.
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 have problem with displaying of bars value. I want to display multiply bar chart, but when values are similar, then text is not very good readable :(.
See picture here.
Do you have some ideas for improving this?
Thanks
I would suggest that you either develop some kind of mechanism that disables the drawing of values if they are too close to each other.
Other than that, you could:
disable drawing the values in general
reduce the text size drastically
reduce the number of decimals
use the ValueFormatter interface and disallow drawint 0 values
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)
I've worked large time with AChartEngine and now I know to plot a special bar diagram. Most of the bars are small. But two of them are much bigger than the others. If I use the function "setXAxisMax", the small bars are ridiculous small in the chart.
My question is, is there any way to plot the axis and some of the bars in two parts using ACharEngine? Or is it only possible to plot continuous bars?
Thanks in advance.
I have also had the chance of using a few graphing engines and i haven't
come across any that allows one to draw a single bar as two parts.In any case it will be very misleading when reading the values of the graphs.One solution which i use frequently would be to set a min value for the axis(y-axis) so that the values don't start from zero.that way you reduce the range significantly.
Am trying out to plot some values using achartengine in an Android App. The values in y axis are usually negative. This is how the bar chart appears
But I want it to appear from the bottom i.e. I want each bar to start from -100, instead of the current 0. How do I do this? Please help.
I suggest you build a range bar chart instead of the current bar chart. Another suggestion is to use renderer.setBarWidth(widthInPixels) in order to set the width of the bars. This method works best when you have only one item per series.