A powerful 🚀 Android chart view / graph view library, supporting line- bar- pie- radar- bubble- and candlestick charts as well as scaling, panning and animations.
Other
37.67k
stars
9.02k
forks
source link
Pie chart ValueFormatter,"\n" is not work to break line #2413
I want to achieve this effect
my code:
pieData.setValueFormatter(new IValueFormatter() {
@Override
public String getFormattedValue(float value, Entry entry, int dataSetIndex, ViewPortHandler viewPortHandler) {
return "pie \nvalue \nformatter";
}
});
I want to achieve this effect my code: pieData.setValueFormatter(new IValueFormatter() { @Override public String getFormattedValue(float value, Entry entry, int dataSetIndex, ViewPortHandler viewPortHandler) { return "pie \nvalue \nformatter"; } });
but
How can draw multi-line text to value?