This is a migrated thread and some comments may be shown as answers.
Import xlsx with chart from template
1 Answer 8 Views
This is a migrated thread and some comments may be shown as answers.
Ivan
Top achievements
Rank 2
Ivan asked on 21 Oct 2020, 07:25 PM

Hello!
I'm create xlsx from template, which contains some chart

string path = Path.Combine(Path.GetPathRoot(Environment.SystemDirectory), "Templates", "Charts.xlsx");
using FileStream stream = new FileStream(path, FileMode.Open, FileAccess.Read);
XlsxFormatProvider formatProvider = new XlsxFormatProvider();
 
using Workbook workbook = formatProvider.Import(stream);

 

But workbook doesn't contains any chart objects after importing from stream.
Why?

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 26 Oct 2020, 07:32 AM

Hello Ivan,

Which version of the suite are you currently using? Please note that the charts are currently not supported in the Net Standard version of the assemblies. We have a feature request for this in our feedback portal. You can track its progress, subscribe to status changes, and add your comment to it here: SpreadProcessing: Add support for Charts in NetStandard.

Let me know if you have any other questions.

Regards,
Dimitar
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Asked by
Ivan
Top achievements
Rank 2
Answers by
Dimitar
Telerik team
Share this question
or