I am using achartengine to plot graph in android but there is difficulty with combining stacked bar and bar. I want this type of graph.
Is it possible to plot like that. If possible then can you give a small footprint.
Thank you.
You can get to that by building a stacked bar chart only. You don't need to combine a regular bar chart with a stacked bar chart.
There is also the new HEAP type of bar charts which is a stacked bar chart, but with every piece being appended to the previous piece of the bar rather than stacking them one above the other.
Related
M using MPAndroidChart library to draw grouped bar chart. I want to achieve customized graph as given in below image. Values of bars will display below its bar with different color same as bars. Is it possible? Any help with code will accepted.
Hi I want to draw a Bar chart like this
As Shown in picture I want to draw two bars of different sizes at same place, Is it possible to develop something like this using MpAndroidChart Library? if yes then how.
I have implemented BarChart and my Bar Chart is Grouped and Stacked.
I am done with Grouping and Stacking BarChart using MpChart Library in Android.
But I am unable to find a way of giving a different color to each bar and each stack.
Currently, I am able to set stack color. But I also want to assign a different color to each bar in a group.
I hope I explained well.
Update
Android Stacked grouped Bar Chart Kotlin Example
treat each bar as a different barSet and set color to it.
I am creating chart application in android.I am trying to make a bar chart that contains single bar.In bar chart I need different colors for particular data for single bar.
You need to look This Tutorial first and then for different colors you need to look up at these:
Achartengine - different Bar Color for BarChart in android
Different color bars using multiple series
I am using achartengine for drawing bar charts in android application. Its a single series Bar graph.I want to show all the bars in different colors. Please guide me with any help available.
Single series cannot provide multiple color bars,because each series can provide only one color for the bar its generating.In order to get each bar in each color we need to use multiple series