# MPAndroidChart to ios-charts syntax examples

### The ios-charts framework says to use the "android" documentation. However it turns out that there is enough difference in the properties each framework uses that it can be frustrating to learn how to use the ios-charts library. Here is a quick reference.

#### ValueFormatter interface

Android: Simple Formatter

// usage on axis, could also use on data object or dataset
yAxis.setValueFormatter(new MyValueFormatter());


iOS: Simple Formatter

var myValueFormatter = NSNumberFormatter()
// normal value formatter configuration
myValueFormatter.numberStyle = . . . .