Home › forums › Chart Support › Export to pdf not working
Tagged: C#, PDF Export, PDF rendering
i embeded export to pdf function on my code
when i was click on it it was working but when i open that file it not show graph only it shows x and y axis content and when i print it it shows only half graph
You can export chart using JSPDF. Please have a look at this example.
i tried the same code but after generating pdf it shows only x and y axis not shows the coloured bar
Are you animating the chart? If so you need to export the chart after the animation is complete. Please take a look at this updated JSFiddle.
yes i was animating it .now the data is print but half graph is print on it not full
my problem is solve
Thank you for your help
my chart is also getting cut while exporting to pdf. Any possible solutions?
You can pass image width and height as parameters to addImage method of jsPDF to handle clipping of chart while exporting to pdf. Please take a look at this updated jsfiddle.
try using Zetpdf. it is .net SDK for adding PDF render and print support in .net applications and best for every developer needs.
You must be logged in to reply to this topic.