1. yAxis.setValueFormatter(new MyValueFormatter());
  2. // usage on whole data object
  3. lineDataSet.setValueFormatter(new MyValueFormatter());