hongyin163 / react-native-chart-android

react native chart modules come from mpandroidchart.
206 stars 81 forks source link

Add support for data value formatter using printf #44

Closed mahlon-gumbs closed 8 years ago

mahlon-gumbs commented 8 years ago

For example, to format your values with 1 decimal place on a bar chart, add valueFormatter: { type: "printf", format: "%.1f" } to yValues.config