AnyChart / AnyChart-Android

AnyChart Android Chart is an amazing data visualization library for easily creating interactive charts in Android apps. It runs on API 19+ (Android 4.4) and features dozens of built-in chart types.
2.29k stars 369 forks source link

Pie chart width changing if the label is outside #243

Closed rezyfr closed 2 years ago

rezyfr commented 2 years ago

Hi, im implementing Pie chart with outside with the following code image image image image

However it shows different sizes if the data is different, I wonder what cause this and how to fix it?

And why I can't use wrap_content on the chart height? if I use wrap_content, the chart wont show anything I'm using version 1.1.2

Shestac92 commented 2 years ago

The chart size depends on the length of the outside labels.

Unfortunately, the AnyChartView is not compatible with the wrap_content.

rezyfr commented 2 years ago

is there any possibility that I cant set the label size or the connector length dynamically. So the chart size will be static/fixed?

Shestac92 commented 2 years ago

No, it's not possible in the current version of the library.

rezyfr commented 2 years ago

okay thankyou