PhilJay / MPAndroidChart

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

Open tombcato opened 8 years ago

tombcato commented 8 years ago

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"; } });

23255a5b9ed1b1a739f8b27289ba3806

but img_20161027_121627

How can draw multi-line text to value?

ugurcany commented 7 years ago

Same here. Any solution to this?

kailaisi commented 7 years ago

Same here. Any solution to this?

mujeebrahaman commented 5 years ago

Same here. Any solution to this?