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.
Wed Jan 10, 2018 3:00 pm
Hi,
I'm building a Chart in Presentation, and need to show leader lines for my Data Labels however I cannot achieve this.
Hope you guys can help. See my code snippet
- Code: Select all
static void Main(string[] args)
{
var presentation = new Presentation();
var slide = presentation.Slides[0];
var chart = slide.Shapes.AppendChart(ChartType.ScatterStraightLinesAndMarkers, new RectangleF(50,50,500,500));
ChartDataLabel cd1 = chart.Series[0].DataLabels.Add();
cd1.ID = 2;
cd1.TextFrame.Paragraphs[0].Text = "hello";
chart.Series[0].DataLabels.LeaderLinesVisible = true;
presentation.SaveToFile("D://test.pptx", FileFormat.Pptx2013);
Process.Start("D://test.pptx");
}
Login to view the files attached to this post.
-
Stecya
-
- Posts: 27
- Joined: Wed Jan 10, 2018 2:36 pm
Thu Jan 11, 2018 7:26 am
Hello,
Thanks for your inquiry.
I have reproduced the issue and referred it to our dev team for a further investigation.
Once there's any update, I will let you know.
Sincerely,
Jane
E-iceblue support team
-
Jane.Bai
-
- Posts: 1156
- Joined: Tue Nov 29, 2016 1:47 am
Mon Jan 29, 2018 9:59 am
Hello Stecya,
Glad to inform that your issue has been resolved and the release for
Spire.Presentation Pack Version:2.9 is available.
Sincerely,
Jane
E-iceblue support team
-
Jane.Bai
-
- Posts: 1156
- Joined: Tue Nov 29, 2016 1:47 am
Thu Feb 01, 2018 9:33 am
Hello Stecya,
Good day!
Has your issue been resolved by the hotfix?
Your feedback would be greatly appreciated.
Sincerely,
Jane
E-iceblue support team
-
Jane.Bai
-
- Posts: 1156
- Joined: Tue Nov 29, 2016 1:47 am
Fri Feb 16, 2018 11:39 am
Hi,
Yes, leader lines are showing now
-
Stecya
-
- Posts: 27
- Joined: Wed Jan 10, 2018 2:36 pm
Mon Feb 19, 2018 2:02 am
Hello Stecya,
Thanks for your feedback.
Feel free to contact us if you have any issues.
Sincerely,
Amy
E-iceblue support team
-
amy.zhao
-
- Posts: 2774
- Joined: Wed Jun 27, 2012 8:50 am