wangyao5 / achartengine

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

Unexpected behaviors with MathHelper.NULL_VALUE values #265

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
I have some problems with MathHelper.NULL_VALUES.

To describe this problems I make two simple examples (based on 
SensorValuesChart.java in the demo app) : 
In the first example I have 5 lines whith 3 values. The first value of each 
line is MathHelper.NULL_VALUE (for example : MathHelper.NULL_VALUE, 1000, 1300)
In this example the problem is that the displayed value of the second value 
1000 is 1.7976931348623157E+308 in place of 1000.

In the second example I have already 5 lines with 3 values. Only the first 
value of each line is set. The two others are set to MathHelper.NULL_VALUE (for 
example : 1000, MathHelper.NULL_VALUE, MathHelper.NULL_VALUE).
In this example the problem is that the first value is not displayed although 
i'm using "setDisplayChartValues(true)";

You can find the examples in attach files.

I don't know if it's an issue or a wrong usage.

Thanks.

Original issue reported on code.google.com by vincent....@gmail.com on 16 Jan 2013 at 8:15

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in SVN. You can download a version including this feature here: 
https://repository-achartengine.forge.cloudbees.com/snapshot/org/achartengine/ac
hartengine/1.1.0/

Original comment by dandrome...@gmail.com on 24 Jan 2013 at 12:32

GoogleCodeExporter commented 9 years ago

Original comment by dandrome...@gmail.com on 24 Jan 2013 at 12:32

GoogleCodeExporter commented 9 years ago

Original comment by dandrome...@gmail.com on 24 Jan 2013 at 12:33

GoogleCodeExporter commented 9 years ago
Thanks !

Original comment by vincent....@gmail.com on 24 Jan 2013 at 2:15