250756621 / achartengine

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

CombinedXY Chart does not display correctly for series with one value when the chart type is a rangebar chart #391

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. From source of achartenginedemo "Temperature Range Chart - (vertical range 
chart)"
2. Modify source to have only 1 value
3.

What is the expected output? What do you see instead?
Expected value: Temperature range chart with only one range bar
Output: Only the labels are visible, the bar does not appear

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

for (int k = 0; k < length; k++) {
      series.add(minValues[k], maxValues[k]);
    }

Modified source:
for (int k = 0; k < 1; k++) {
      series.add(minValues[k], maxValues[k]);
    }

What version of the product binary library are you using?
achartengine-1.1.0.jar &achartengine-1.2.0

Please provide any additional information below.

Original issue reported on code.google.com by happyjoy...@gmail.com on 7 Feb 2014 at 6:23

GoogleCodeExporter commented 9 years ago

Original comment by dandrome...@gmail.com on 16 Sep 2014 at 7:24