Update BarChartRenderer.java
This commit is contained in:
parent
cef967fd71
commit
4b67673da9
1 changed files with 1 additions and 4 deletions
|
@ -144,10 +144,7 @@ public class BarChartRenderer extends BarLineScatterCandleBubbleRenderer {
|
|||
|
||||
trans.pointValuesToPixel(buffer.buffer);
|
||||
|
||||
boolean isCustomFill = false;
|
||||
if(dataSet.getFills() != null) {
|
||||
isCustomFill = !dataSet.getFills().isEmpty();
|
||||
}
|
||||
boolean isCustomFill = dataSet.getFills() != null && !dataSet.getFills().isEmpty();
|
||||
|
||||
final boolean isSingleColor = dataSet.getColors().size() == 1;
|
||||
final boolean isInverted = mChart.isInverted(dataSet.getAxisDependency());
|
||||
|
|
Loading…
Add table
Reference in a new issue