This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
What kind of charting software do you use? How is the chart generated?
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: 63208
    
  69

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Java chart printing problems
 
It's not a secret anymore!