achartengine

The application AChartengine has stopped unexpectedly. Please try again

无人久伴 提交于 2019-11-27 14:46:25
I just tried to use achartengine demo, but every time I click on something to show the chart appears an error saying "The application AChartengine has stopped unexpectedly. Please try again". Someone knows to tell me how can I do? I followed the instructions suggested in this page http://www.achartengine.org/content/goodies.html and I use an emulator standard with api level 7. I have these errors: 04-15 09:08:43.285: E/dalvikvm(333): Could not find class '[Lorg.achartengine.chart.PointStyle;', referenced from method org.achartengine.chartdemo.demo.chart.AverageTemperatureChart.execute 04-15 09

add maven repository to build.gradle

纵然是瞬间 提交于 2019-11-27 06:15:12
I added a custom maven repository to build.gradle in Android Studio but the dependency is not being found Maven repository and dependency <repository> <id>achartengine</id> <name>Public AChartEngine repository</name> <url>https://repository-achartengine.forge.cloudbees.com/snapshot/</url> </repository> <dependency> <groupId>org.achartengine</groupId> <artifactId>achartengine</artifactId> <version>1.2.0</version> </dependency> build.gradle buildscript { repositories { mavenCentral() maven { url "https://repository-achartengine.forge.cloudbees.com/snapshot/" } } dependencies { classpath 'com

AChartEngine And Android Studio

半腔热情 提交于 2019-11-27 06:09:11
问题 I have to create an application that makes extensive use of charts. Reading the web I chose achartengine that seems to have everything I need. I downloaded the jar file, I plugged in the libs folder, I selected "add to library" and I lunch the gradlew clean. Result in the sources where I do the import of org.achartengine.xxxx I always returned the error that fails to resolve symbols . Do you have suggestions? Thank you Andrea 回答1: I am able to use this library in my Android Studio project,

achartengine - can't figure how to use dates as x axis - the file I save is empty

百般思念 提交于 2019-11-27 02:18:32
I have an activity where I take the input from edit text and store it in an list. I also store in list the current date. Then , I press the save button which saves the above. The next day the user enter some data more and save and so on. I want to make a plot with x-axis date format and y axis the values the user entered. In one activity I have: ... String filename = "data.csv"; List<Double> mydata=new ArrayList<Double>(); List<Date> mydate=new ArrayList<Date>(); ....value=(EditText) findViewById(R.id.enter_data); ... switch (v.getId()){ case R.id.savebtn: savefunc(); break; case R.id

Android charting libraries [closed]

删除回忆录丶 提交于 2019-11-26 22:31:07
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 4 years ago . I am trying to find a fast and reliable charting library. After some searching, I found 4 libraries: AChartEngine [warning! official website is down and redirects to virus filled website!], WilliamChart, HelloCharts and AndroidPlot. I need some up to date feedback about the

how to implement TimeChart in achartengine with android

不打扰是莪最后的温柔 提交于 2019-11-26 20:32:29
问题 I'm new in android and I want to use achartengine to implement time chart that represent the daily outgoing call durations from call log. Does any one know how can I do this and what should I do? 回答1: So you need a layout (main.xml): <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > <LinearLayout android:id="@+id/chart" android

add maven repository to build.gradle

混江龙づ霸主 提交于 2019-11-26 11:54:54
问题 I added a custom maven repository to build.gradle in Android Studio but the dependency is not being found Maven repository and dependency <repository> <id>achartengine</id> <name>Public AChartEngine repository</name> <url>https://repository-achartengine.forge.cloudbees.com/snapshot/</url> </repository> <dependency> <groupId>org.achartengine</groupId> <artifactId>achartengine</artifactId> <version>1.2.0</version> </dependency> build.gradle buildscript { repositories { mavenCentral() maven {

Android: I am using AChartEngine library for graphs, but not able to integrate achartengine&#39;s graph view with android xml?

久未见 提交于 2019-11-26 11:47:57
My application requires graph library and I am using achartengine graph library. My app requires graph to be only 50% of the screen and other part is used to display some other information. Is it possible have xml resource file for achartengine's graph APIs and how to do it? I tried to find an example but didn't find it. Is it supported or not? Dan D. This is a FAQ for AChartEngine. The AChartEngine demo application is available for download here: AChartEngine demo In the demo source code you can see an example on how to embed a chart into an existing view. Basically, in the activity

achartengine - can&#39;t figure how to use dates as x axis - the file I save is empty

浪尽此生 提交于 2019-11-26 10:03:44
问题 I have an activity where I take the input from edit text and store it in an list. I also store in list the current date. Then , I press the save button which saves the above. The next day the user enter some data more and save and so on. I want to make a plot with x-axis date format and y axis the values the user entered. In one activity I have: ... String filename = \"data.csv\"; List<Double> mydata=new ArrayList<Double>(); List<Date> mydate=new ArrayList<Date>(); ....value=(EditText)

Android: I am using AChartEngine library for graphs, but not able to integrate achartengine&#39;s graph view with android xml?

对着背影说爱祢 提交于 2019-11-26 02:35:39
问题 My application requires graph library and I am using achartengine graph library. My app requires graph to be only 50% of the screen and other part is used to display some other information. Is it possible have xml resource file for achartengine\'s graph APIs and how to do it? I tried to find an example but didn\'t find it. Is it supported or not? 回答1: This is a FAQ for AChartEngine. The AChartEngine demo application is available for download here: AChartEngine demo In the demo source code you