I need to print a diagram from Javascript to printer. The diagram is a HTML page, that is being created on-the-fly in JS. I've checked some methods, like the printout from the browser, also print to PDF with CutePDFWriter, but the results were poor. The legend and calendar were printed, but the content/bars weren't. Each gradiented bar on the image is abount 20 DIV's with different colour. They are not being printed. The diagram can be quite big (several screens scrolled).
The printout needs to go to a printer. But it could also go through a PDF, or even an image, that will be saved and printed later. The issue is, that it must be done through Javascript, with no server support (as the whole thing goes only with HTML+JS+CSS). Any ideas?
sincerely, Mateusz