Skip to content

Commit

Permalink
fixes a problem with pie chart and background color
Browse files Browse the repository at this point in the history
  • Loading branch information
ptaillandier committed May 6, 2022
1 parent 22c941c commit 7d50289
Showing 1 changed file with 4 additions and 3 deletions.
Expand Up @@ -755,9 +755,10 @@ public boolean updateValues(final IScope scope) {
}

color = getFacet(IKeyword.BACKGROUND);
if (color != null) { colorvalue = Cast.asColor(scope, color.value(scope)); }
chartoutput.setBackgroundColorValue(scope, colorvalue);

if (color != null) {
colorvalue = Cast.asColor(scope, color.value(scope));
chartoutput.setBackgroundColorValue(scope, colorvalue);
}
GamaFont font = null;
IExpression face = getFacet(TICKFONTFACE);
if (face != null) {
Expand Down

0 comments on commit 7d50289

Please sign in to comment.