yuxinburen / achartengine

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

Background drawn although mApplyBackgroundColor is false #258

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a time graph on top of a view that has a background of some sort
2. Make sure that ApplyBackgroundColor in the renderer is false

What is the expected output? What do you see instead?
Expect no background to draw. But background behind the axis are drawn black.

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

Please provide any additional information below.
In AbstractChart.java, Line 69:
if (renderer.isApplyBackgroundColor() || newColor) {

Isn't this supposed to read:
if (renderer.isApplyBackgroundColor() && newColor) {

Original issue reported on code.google.com by patrik.a...@gmail.com on 5 Dec 2012 at 7:28

GoogleCodeExporter commented 9 years ago
Fixed in SVN.

Original comment by dandrome...@gmail.com on 8 Jan 2013 at 1:07