Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java chart printing problems

 
Rune Thandy
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What kind of charting software do you use? How is the chart generated?
 
Rune Thandy
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've done it through an Applet.
The labels are made with a drawString.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64858
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the Applets forum.
 
joe woods
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[ UD: blatant advertising removed ]
[ February 21, 2006: Message edited by: Ulf Dittmer ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic