NikhithaTarala / achartengine

Automatically exported from code.google.com/p/achartengine
0 stars 0 forks source link

Date in X-labels Timechart seen shifted #142

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Using stock data so on saturday and sunday values are not available so may be 
the problem of range
2.
3.

What is the expected output? What do you see instead?
Date should be exactly at below corresponding values. But shifts left. 

Please provide a source code snippet that we can use to replicate the issue.

setChartSettings(renderer,ChartlistDateArray[0].getTime(),
    ChartlistDateArray[ChartlistDateArray.length - 1].getTime(), 
                getMinValue(ChartlistDoubleArray), 
                getMaxValue(ChartlistDoubleArray),
                Color.GRAY, Color.BLACK);
renderer.setXLabels(5);
renderer.setYLabels(6);

What version of the product binary library are you using?
library 0.7.0

Please provide any additional information below.

When only three values are availble dates get repeated.
Image is attached. Also questioned at:
http://stackoverflow.com/questions/7606667/achartengine-x-labels-with-uneven-int
erval-of-time

Original issue reported on code.google.com by hanif.ab...@gmail.com on 3 Oct 2011 at 1:05

Attachments:

GoogleCodeExporter commented 8 years ago
This is definitely noticeable when using dates as one of the axis... 
essentially makes the graph useless!

Original comment by tahir.ja...@gmail.com on 18 Nov 2011 at 6:04

GoogleCodeExporter commented 8 years ago
This is fixed in SVN using the patch included in issue #151.

Original comment by dandrome...@gmail.com on 10 Dec 2011 at 3:19

GoogleCodeExporter commented 8 years ago
This is fixed in SVN using the patch included in issue #151.

Original comment by dandrome...@gmail.com on 10 Dec 2011 at 3:21