We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to Print chart

Thread ID:





131193 Jun 27,2017 03:49 PM UTC Jun 28,2017 06:15 AM UTC ASP.NET Core 1
Tags: Chart
George Rossopoulos
Asked On June 27, 2017 03:49 PM UTC


I wonder if there is an easy way to print the chart from javascript and not the whole web  page.

Thank you

Dharanidharan Dharmasivam [Syncfusion]
Replied On June 28, 2017 06:15 AM UTC

Hi George, 

Thanks for contacting Syncfusion support. 

We have analyzed your query. We would like to let you know that we have provided support for printing the chart from Essential Studio version, so if you are using the lower version, you can upgrade to the current version from the below link. 

We have prepared a sample for printing the chart in a button click. In the print method you need to pass the id of the chart element which need to be exported. In the sample we have used the current version ( minified web all file. Find the code snippet below to achieve your requirement. 

ASP.NET Core: 

<input type="button" onclick="printChart()" value="Print Chart" /> 
<ej-chart id="container" > </ej-chart> 
function printChart() { 
        var chart = $("#container").ejChart("instance"); 


Sample for reference can be find from below link. 
For more information on printing, follow the below link. 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon