Using Tooltips with the XYDotRenderer

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
stu
Posts: 10
Joined: Mon Aug 01, 2005 1:44 pm

Using Tooltips with the XYDotRenderer

Post by stu » Fri Nov 09, 2007 12:30 pm

I have a chart that was using XYLineAndShapeRenderer along with the StandardXYToolTipGenerator and everything worked fine.

When I switched the renderer to the XYDotRenderer the tooltips stopped working and the imagemap doesn't get generated.

Can anyone explain what I'm doing wrong?

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Fri Nov 09, 2007 4:36 pm

XYDotRenderer doesn't generate tooltips, item labels or URLs. That makes it faster than XYLineAndShapeRenderer, but less flexible.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

stu
Posts: 10
Joined: Mon Aug 01, 2005 1:44 pm

Post by stu » Fri Nov 09, 2007 5:56 pm

Ah, that makes sense. I'll switch back to the XYLineAndShapeRenderer and use custom Shapes.

Locked