I am new to Android. I am on a project and trying to draw stacked bar chart. I did so much research about this kind of bar chart but either those didn't work or I couldn't apply the codes to my project. I guess there are two most popular libraries for charts which are AChartEngine and Charts4j. I checked this code (https://code.google.com/p/charts4j/source/browse/tags/v1.2/example/com/googlecode/charts4j/BarChartExample.java#51)- example1 for Charts4j. However, this code ends with 'url', I have my values in my project, I'll use these values to draw the chart and I don't want to have to have internet to show the chart. I want to be independent from the internet. I couldn't implement this code to my project.
Another library I used is AChartEngine and I found this code (https://code.google.com/p/achartengine/source/browse/trunk/achartengine/demo/org/achartengine/chartdemo/demo/chart/SalesStackedBarChart.java). Because the main class extends some other class, I created other class (AbstractDemoChart) and interface (IDemoChart) and wrote the codes. Eclipse didn't give any error but when I run it on Emulator, I got an error which stopped the app and the warning of 'force close' appeared.
The other examples about bar charts are not relevant what I want exactly. As a result, I couldn't find any solution for my application. Can you help me how to draw stacked bar chart for my Android App with the values that I already have and I want to see this chart independently from the internet?
Thanks in advance guys.