Skip to content

Commit

Permalink
Fix for LayeredBarRenderer bug #175 setBase() should be respected
Browse files Browse the repository at this point in the history
  • Loading branch information
jfree committed Sep 26, 2020
1 parent 43c1d07 commit 3e3e79c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ protected void drawHorizontalItem(Graphics2D g2,

// X
double value = dataValue.doubleValue();
double base = 0.0;
double base = getBase();
double lclip = getLowerClip();
double uclip = getUpperClip();
if (uclip <= 0.0) { // cases 1, 2, 3 and 4
Expand Down Expand Up @@ -342,7 +342,7 @@ protected void drawVerticalItem(Graphics2D g2,

// BAR Y
double value = dataValue.doubleValue();
double base = 0.0;
double base = getBase();
double lclip = getLowerClip();
double uclip = getUpperClip();

Expand Down

0 comments on commit 3e3e79c

Please sign in to comment.