user1251323
user1251323

Reputation: 95

highcharts pie dynamic label inside and outside for each slice

I am working on a pie chart with a smaller display area of around 250*250 and willing to utilize the available space wisely as the labels are taking most of the space and reducing the actual pie size.

Is it possible to render labels inside/outside of the pie based on data for each slices. for example in the classic browser share example, if the Firefox is at 45%, I want to be rendered inside the pie (distance -40 may be) and where the slice is less such as Opera at 6% - I want it to be shown outside with a connector.

Upvotes: 2

Views: 1266

Answers (1)

Sebastian Bochan
Sebastian Bochan

Reputation: 37578

You can define only general distance for labels.

Upvotes: 1

Related Questions