kiranmaroju-zz / dwpe

Automatically exported from code.google.com/p/dwpe
MIT License
0 stars 0 forks source link

Legend Colors Missing in the Charts while converted from HTML to PDF #27

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Generate a HTML.
2.Try to print the HTML page using cutePDF writer.
3.Open PDF to see the output. 

What is the expected output? What do you see instead?

The charts are being rendered as said. But legend colors at the bottom of the 
charts are not visible when they are converted from HTML to PDF.

What version of the product are you using? On what operating system?
NA. Using Microsoft Windows XP Professional.

*** Please use labels below to identify the type of issue and the widget to
which it applies. ***

Original issue reported on code.google.com by bsakhilh...@gmail.com on 14 Jun 2010 at 9:37

GoogleCodeExporter commented 8 years ago
Does cutePDF have preferences that allow you to print background colors (like 
most print panels offer)? That would allow you to work around this issue.

Original comment by scottj...@gmail.com on 14 Jun 2010 at 12:05

GoogleCodeExporter commented 8 years ago
No, cutePDF does not have that kind of preferences that allows to print the 
back ground  colors.  Can you please suggest any of the print panels that offer 
a work around on this issue. Also the PDF generates colors for the chart , but 
it is missing only in the legends. Please have a look at the screen shot that 
is attached.

Original comment by bsakhilh...@gmail.com on 14 Jun 2010 at 1:52

Attachments:

GoogleCodeExporter commented 8 years ago
One more thing , i am not even able to get the legends printed in the normal 
paper printing also. 

Original comment by bsakhilh...@gmail.com on 14 Jun 2010 at 2:22

GoogleCodeExporter commented 8 years ago
The problem is that the chart is a canvas tag which prints fine but the legend 
is using HTML and a CSS background-color which most browser disable by default. 
It should be possible to set your browser 9no cutePDF) to "print" background 
colors.

In Firefox, you can do File > Page Setup... > Print Background

Original comment by Laurent....@gmail.com on 30 Sep 2010 at 8:07