Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Wed Oct 04, 2023 8:04 pm

Hi, Can we draw pie chart and it's legend separately. If not possible to draw legend separately, then can legend be moved with a custom space between chart and legend. I see only legend position but not any custom positions.

sPandavula
 
Posts: 4
Joined: Tue Aug 22, 2023 5:25 am

Sat Oct 07, 2023 6:15 am

Hi,

Thanks for your inquiry.
I regret to inform you that at this time, our product does not support the ability to freely move the legend to any location. The legend can only be positioned at the top, bottom, left, or right of the chart.
Code: Select all
chart.Legend.Position = LegendPositionType.Bottom;

If you have any other questions or concerns about our XLS product, please feel free to let us know. We will be happy to assist you.

Thank you for your understanding and cooperation.

Best regards,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Return to Spire.XLS

cron