We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to add textboxes/labels exactly to chart rings in doughnut


Can you suggest a solution, how I can add texts, for example:

in appropriate place each text near ring for doughnut chart?

See attached excel and screenshot for more information.

Thank you.


It might be difficult to specify the exact your desired position in the Doughnet chart. But, I think you may try to use addLabelInChart() or addTextBoxInChart() method of ShapeCollection for your needs. You may try to evaluate it by yourself to find your exact position by specifying the values for the top, left, height and width attributes/parameters of these methods.

Thank you.