This is a migrated thread and some comments may be shown as answers.

Draw Chart Control and get the image stream

2 Answers 166 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Michal
Top achievements
Rank 1
Michal asked on 28 Jan 2021, 02:45 PM

Hello,

Can you help me and tell if its possible to "export" Kendo .NET Core Chart  to image and save it as a stream so I can process it further ? for example add it to the PDF page in Kendo Document Processing Library

So far I have been using WIndows.Forms.DataVisualization in my .NET Framework project but since we moved to .NET Core and we cant use  ported version due to .NET Standard dependencies (https://www.nuget.org/packages/System.Windows.Forms.DataVisualization/), I dont know what we can do now.

Is there any other option... ? I just want to add a chart to a dynamically created PDF in C#

2 Answers, 1 is accepted

Sort by
0
Michal
Top achievements
Rank 1
answered on 28 Jan 2021, 02:47 PM
Sorry I think that I wasnt clear - I dont want to export, I want to create the Chart entirely in C#, not in Razor view or something like that.
0
Georgi Denchev
Telerik team
answered on 02 Feb 2021, 10:13 AM

Hi Michal,

Kendo is a Web UI library. The wrappers(Razor code) that are written in the View generate JQuery and Html code once the application is built, they are not creating the components using .Net. 

Perhaps the Telerik UI for WinForms or any of the other Desktop libraries could help you more in this situation.

Let me know if I can be of further assistance.

Best Regards,
Georgi Denchev
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/.

Tags
Chart
Asked by
Michal
Top achievements
Rank 1
Answers by
Michal
Top achievements
Rank 1
Georgi Denchev
Telerik team
Share this question
or