I am using "achartengine" for time chart,but i want that only that dates or time of day that has data should be shown in chart on x-axis.How can i do this?
I need to draw a real-time graph using AChartEngine library..
X-axis will have to display current time.
each bar in X-axis is 5minutes bar
for every 5minutes i send a data it should draw a bar based on value.
the Graph some what looks like this
I have setup chart engine it worked fine and after try to add one more graph to chart, I got following error message on log cat.
I'm using AChartEngine library for Android and I want to add the euro symbol to all Y axis labels.
I've already tried a solution based on the code below but the labels are close together and do not adapt to the events like zoom in / out.
renderer.setYLabels(0);
int count = 10;
for(int i = 0; i < count; i++){
Double d = dataset.getSeriesAt(0).getY(i);
renderer.addYTextLabel(i, d + " € "
I am plotting the wind direction as a xyseries in a TimeChartView using aChartEngine along with windspeed (windspeed is a timeseries using left y-axis, winddir is XYSeries using right y-axis).
The problem I am facing is that as the windirection passes north, my values shift between 0 and 360, creating an ugly vertical line in my graph.
I am using AchartEngine Lib for displaying Pie chart inside my application, but I am facing a weird issue like when I changes the orientation of my phone the pie chart is not centred aligned it changes the direction anywhere.
Please let me know how can I centre aligne the pie Chart?
Hi i'm trying to implement aChartEngine library, when i add values in code (like in this tutorial by JavaCodeGeeks ) it works perfectly but if I use a function the application crash and gives NullPointerExepction on mCurrentSeries.add(x, y).
i want to use chart in android, i use this framework http://www.achartengine.org/
this class will use when start:
public class ChartDemo extends ListActivity {
/** Called when the activity is first created.
I have collected event data and stored the in a database with name, start time and end time.
The afreechart library have an example app which I though i could use 'XY bar chart demo 07' http://afreechart.googlecode.com/svn/doc/screenshot/index.html
I think that I have managed to implement it using createXYBarChart, but i can't figure out how to create the dataset.