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.

Fri Jun 17, 2022 12:36 pm

Already I have template with chart, I am reading the template and trying to update the data for both the series in chart, when I saved it, it asked me to repair. Chart is combination of Bar char and bubble chart. find the attached chart for your reference.

IChart chart1 = slide.Shapes[0] as IChart;

chart1.ChartData[2, 1].Value = 22;
chart1.ChartData[4, 1].Value = 55;
chart1.ChartData[6, 1].Value = 100;

chart1.ChartData[3, 2].Value = 42;
chart1.ChartData[0, 2].Value = "UiPath1";

chart1.Series[0].Values = chart1.ChartData["B2", "B8"];
//chart1.Series[1].Values = chart1.ChartData["C2", "C8"];
chart1.Series[1].YValues = chart1.ChartData["C2", "C8"];

ankushbute
 
Posts: 1
Joined: Thu Apr 28, 2022 2:13 pm

Mon Jun 20, 2022 7:10 am

Hi,

Thanks for your inquiry.
I noticed that you have also reported this issue via email, and my colleague Nina has responded to you. In order to avoid repeating working on the same issue, we will no longer reply to you here. You can contact us directly by email. Thanks for your understanding.
Sincerely,
Andy
E-iceblue support team
User avatar

Andy.Zhou
 
Posts: 483
Joined: Mon Mar 29, 2021 3:03 am

Return to Spire.Presentation