Spire.Presentation is a professional PowerPoint® compatible library that enables developers to create, read, write, modify, convert and Print PowerPoint documents. Get free and professional technical support for Spire.Presentation for .NET, Java, Android, C++, Python.
Mon Feb 20, 2017 3:47 pm
I have tried using below code but no luck.
- Code: Select all
chart.ChartLegend.EntryTextProperties[0].LineSpacing = 0;
-
jellar
-
- Posts: 7
- Joined: Mon Feb 13, 2017 1:25 pm
Tue Feb 21, 2017 4:02 am
Dear jellar,
Thanks for your inquiry.
I am afraid that there is no direct way to set the gap between legends. But you can change it by setting the legend height or width. Please try to use following code:
- Code: Select all
chart.ChartLegend.Height = 200;
chart.ChartLegend.Width = 100;
Hope this can helps. And if there is any question, please let me know and provide us more information.
Sincerely,
Betsy
E-iceblue support team
-
Betsy.jiang
-
- Posts: 3099
- Joined: Tue Sep 06, 2016 8:30 am
Wed Feb 22, 2017 8:53 am
Thank you Betsy.
-
jellar
-
- Posts: 7
- Joined: Mon Feb 13, 2017 1:25 pm
Wed Feb 22, 2017 9:06 am
Dear jellar,
Thanks for the feedback.
Please feel free to contact us any time if you need further help.
Sincerely,
Betsy
E-iceblue support team
-
Betsy.jiang
-
- Posts: 3099
- Joined: Tue Sep 06, 2016 8:30 am