/** * Set the format to be added to Y labels. * * @param format Format to be applied * @return {@link com.db.chart.view.ChartView} self-reference. */ public ChartView setLabelsFormat(DecimalFormat format){ if(mOrientation == Orientation.VERTICAL) verController.labelFormat = format; else horController.labelFormat = format; return this; }