How to fill part of Linechart in MPAndroidChart? - android

I am trying to make a chart, where the chart above the limit line will be shaded/filled with color. All the examples make the whole chart filled and not the particular part.

Related

MPAndroidChart with two charts value padding

I'm using MPAndroidChart in order to draw two charts however when the two values are close they overlap like the picture
is there a way to solve this for example by setting padding on values on the red chart to be drawn on top of the green one?

AChartEngine Graph's View Empty Legend Area Wasted

That orange area is also given to AchartEngine to draw its graph. Achartengine occupies that area for it's legend. But even i have done dr.setShowLegend(false); , achart does not occupy or adjust it's graph location according to that area. Also i can not shrink the graph view because the reason above, pie chart would also shrink. What i ask is, is there any way to customize there (custom legend) or make pie fill up almost all area?
You can Use setMarginsmethod to set Some margin of PieChart .
mRenderer.setMargins(new int[] {top, left, bottom, right});

Android - AChartEngine Doughnut Shaped Pie Chart

I need to create a doughnut shaped Pie Chart, exactly as below example:
Maybe some people will ask why I said a Pie Chart instead of Doughnut Chart. I tried using Doughnut Chart, but the legend doesn't give me the information I need. It gave me category titles instead of color definition of each area in the chart, just like below image:
See the legend above? That is not what I want. Instead, I need the legend to be like the one in Pie Chart:
But Pie Chart has no hole in the center. How to make a doughnut shaped Pie Chart?

Achartengine linechart fuzzy

How to make the achartengine line chart rounded in order to escape the problem you can see at the picture below ?
http://store.picbg.net/pubpic/D0/EC/451fd45d22bcd0ec.png

Draw chart with different color positive and negative values in achartengine

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.

Categories

Resources