BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
For export the chart in the PDF we need to add Syncfusion.Pdf.Base.dll in the project. Once the above steps are completed click the PDF button to export the chart in the PDF. We have used AJAX post in the button click to call DATACURD method in home controller.
In the home controller add the following namespace.
We have added the below code in the DATACURD method in the home controller as like below.
Now the chart will be exported in the PDF. Please find the below screenshot.
Note: Export the chart to excel will only support from the essential studio version 126.96.36.199
For export the chart to excel please refer the following dll’s.
To achieve the export to excel please add the following code in the view page of the sample
In the above code we have called the ExportToExcel method in the home controller. ExportToExcel method contains code to export the chart in excel. Please find the below code example
To export the chart to excel please click the export to excel image. Please find the below screenshot
Now the chart will be exported into excel
The chart is exported in excel like below.
We have prepared the sample as per your requirement. Please find the sample from below mentioned location.
Sample Link: http://www.syncfusion.com/downloads/support/forum/120227/ze/WebApplication1-1844291803
Please let us know if you have any concern.