Skip to content

Commit 3a879e9

Browse files
committed
Added missing isDrawBordersEnabled getter
1 parent 8045d64 commit 3a879e9

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

‎MPChartLib/src/main/java/com/github/mikephil/charting/charts/BarLineChartBase.java‎

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1153,15 +1153,25 @@ public void setDrawGridBackground(boolean enabled) {
11531153
}
11541154

11551155
/**
1156-
* Sets drawing the borders rectangle to true. If this is enabled, there is
1157-
* no point drawing the axis-lines of x- and y-axis.
1156+
* When enabled, the borders rectangle will be rendered.
1157+
* If this is enabled, there is no point drawing the axis-lines of x- and y-axis.
11581158
*
11591159
* @param enabled
11601160
*/
11611161
public void setDrawBorders(boolean enabled) {
11621162
mDrawBorders = enabled;
11631163
}
11641164

1165+
/**
1166+
* When enabled, the borders rectangle will be rendered.
1167+
* If this is enabled, there is no point drawing the axis-lines of x- and y-axis.
1168+
*
1169+
* @return
1170+
*/
1171+
public boolean isDrawBordersEnabled() {
1172+
return mDrawBorders;
1173+
}
1174+
11651175
/**
11661176
* When enabled, the values will be clipped to contentRect,
11671177
* otherwise they can bleed outside the content rect.

0 commit comments

Comments
 (0)