aspose file tools*
The moose likes Applets and the fly likes Java chart printing problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Java chart printing problems" Watch "Java chart printing problems" New topic
Author

Java chart printing problems

Rune Thandy
Greenhorn

Joined: Jan 10, 2006
Posts: 5
I�ve made a javaclass to make certain graphs. When I call it from a jsp page, it all works fine. The graph comes nicely on screen with labels and lines. The problem starts when I try to print it. When I choose File/Print to choose a printer, the labels in the graph disappear, but the lines stay. When I print it, the print shows what was on screen: the graph with the lines, but no labels. When I refresh the screen, the labels appear again, but when I try to print it again, the same problem starts again. What could cause this? Can anyone help me with this?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41885
    
  63
What kind of charting software do you use? How is the chart generated?


Ping & DNS - my free Android networking tools app
Rune Thandy
Greenhorn

Joined: Jan 10, 2006
Posts: 5
I've done it through an Applet.
The labels are made with a drawString.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61227
    
  66

Moved to the Applets forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
joe woods
Greenhorn

Joined: Dec 08, 2005
Posts: 5
[ UD: blatant advertising removed ]
[ February 21, 2006: Message edited by: Ulf Dittmer ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java chart printing problems