Update HorizontalBarChartRenderer.java
This commit is contained in:
parent
4b67673da9
commit
33240f9225
1 changed files with 1 additions and 4 deletions
|
@ -112,10 +112,7 @@ public class HorizontalBarChartRenderer extends BarChartRenderer {
|
|||
|
||||
trans.pointValuesToPixel(buffer.buffer);
|
||||
|
||||
boolean isCustomFill = false;
|
||||
if(dataSet.getFills() != null) {
|
||||
isCustomFill = !dataSet.getFills().isEmpty();
|
||||
}
|
||||
final 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