Skip to content

Commit db19fdc

Browse files
committed
These DPs must be converted to pixels
1 parent ea89dfe commit db19fdc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

MPChartLib/src/com/github/mikephil/charting/renderer/HorizontalBarChartRenderer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ protected void drawDataSet(Canvas c, IBarDataSet dataSet, int index) {
5353

5454
mShadowPaint.setColor(dataSet.getBarShadowColor());
5555
mBarBorderPaint.setColor(dataSet.getBarBorderColor());
56-
mBarBorderPaint.setStrokeWidth(dataSet.getBarBorderWidth());
56+
mBarBorderPaint.setStrokeWidth(Util.convertDpToPixel(dataSet.getBarBorderWidth()));
5757

5858
final boolean drawBorder = dataSet.getBarBorderWidth() > 0.f;
5959

0 commit comments

Comments
 (0)