@@ -183,6 +183,12 @@ public boolean isDrawAxisLineEnabled() {
183183 return mDrawAxisLine ;
184184 }
185185
186+ /**
187+ * Centers the axis labels instead of drawing them at their original position.
188+ * This is useful especially for grouped BarChart.
189+ *
190+ * @param enabled
191+ */
186192 public void setCenterAxisLabels (boolean enabled ) {
187193 mCenterAxisLabels = enabled ;
188194 }
@@ -504,13 +510,13 @@ public void enableGridDashedLine(float lineLength, float spaceLength, float phas
504510 lineLength , spaceLength
505511 }, phase );
506512 }
507-
513+
508514 /**
509515 * Enables the grid line to be drawn in dashed mode, e.g. like this
510516 * "- - - - - -". THIS ONLY WORKS IF HARDWARE-ACCELERATION IS TURNED OFF.
511517 * Keep in mind that hardware acceleration boosts performance.
512518 *
513- * @param effect the DashPathEffect
519+ * @param effect the DashPathEffect
514520 */
515521 public void setGridDashedLine (DashPathEffect effect ) {
516522 mGridDashPathEffect = effect ;
@@ -540,7 +546,7 @@ public boolean isGridDashedLineEnabled() {
540546 public DashPathEffect getGridDashPathEffect () {
541547 return mGridDashPathEffect ;
542548 }
543-
549+
544550
545551 /**
546552 * Enables the axis line to be drawn in dashed mode, e.g. like this
@@ -556,13 +562,13 @@ public void enableAxisLineDashedLine(float lineLength, float spaceLength, float
556562 lineLength , spaceLength
557563 }, phase );
558564 }
559-
565+
560566 /**
561567 * Enables the axis line to be drawn in dashed mode, e.g. like this
562568 * "- - - - - -". THIS ONLY WORKS IF HARDWARE-ACCELERATION IS TURNED OFF.
563569 * Keep in mind that hardware acceleration boosts performance.
564570 *
565- * @param effect the DashPathEffect
571+ * @param effect the DashPathEffect
566572 */
567573 public void setAxisLineDashedLine (DashPathEffect effect ) {
568574 mAxisLineDashPathEffect = effect ;
0 commit comments