MPAndroidChart icon indicating copy to clipboard operation
MPAndroidChart copied to clipboard

How do I wrap the diagonal text when using radarchart

Open lylnice10 opened this issue 2 years ago • 5 comments

STOP RIGHT THERE!

Issues are NOT for getting help, only for reporting bugs and feature requests.

Search open and closed issues to see if your question already has an answer. However, do not create a new issue.

Instead, do the following:

  1. Download the Example App and check out the source code. 90% of the time there is an example that does exactly what you are trying to do.

  2. Look at the Wiki for the official documentation for MPAndroidChart. You can also browse the javadoc for a more detailed tutorial of the API.

  3. Go to StackOverflow and ask your questions there. The community will be much more helpful and willing to offer guidance.

You have been warned!

From now on, any issues asking for help will get closed with a link to this file.

Additional Context

ADD A REWARD using Speed to SOLVE this issue QUICKLY and SUPPORT this project.

lylnice10 avatar Aug 29 '22 08:08 lylnice10

maybe you can upload image to show your intention

gs666 avatar Aug 30 '22 02:08 gs666

maybe you can upload image to show your intention Can the text displayed on the polygon drawn with radarchart wrap

lylnice10 avatar Aug 30 '22 03:08 lylnice10

maybe you can upload image to show your intention QQ截图20220830110506

lylnice10 avatar Aug 30 '22 03:08 lylnice10

如果你是说文字换行的话你可以试试在 RadarChartRenderer 中的 drawValues方法中修改真正负责绘制的 drawValue 方法,所谓的换行其实就是绘制的坐标 y 增大字体的高度+行间距。

gs666 avatar Aug 30 '22 09:08 gs666

感谢感谢 看看

lylnice10 avatar Aug 31 '22 01:08 lylnice10