Draw outline for the pie chart - android

i am using a chart engine to draw graph it works fine but i need to add an outline to the pie chart? how to do that
i have checked this
Link
and the graph should be something like this
graph image

That is not yet supported. You can create an issue in the AChartEngine tracker and ask for this to be implemented.

Related

How to draw area chart in Android using MPAndroidChart?

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.

Spline Chart with shadow or 3D Spline Chart or Cubic Line Chart

I am using MPAndroidChart library for a project of mine to integrate charts in my app. I know how to use LineCharts but I couldn't figure out a way to use the graph in the image feature of the LineCharts. The image below shows the kind of graph i want.
look at the image here

How to create area graph in android

Hi i wanted to create area graph chart and pie chart in android without using any 3rd party library, from the scratch, can you please give me some reference how to draw it from the scratch?
see method descriptions in this class for drawing and filling primitives (rectabgles, polylines, arcs, etc) https://developer.android.com/reference/android/graphics/Canvas.html

How to draw pie like chart in Android

How can I draw something like the circular chart in image below in android :
How about this libabry.. ? it has pie charts
https://github.com/PhilJay/MPAndroidChart
Documentation is here
try this library
You can draw one by one layers
https://github.com/RamiJ3mli/PercentageChartView

LineChart issue using MPAndroidChart library

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.

Categories

Resources