Hello all,
I noticed some threads regarding a bug in the StackedXYAreaRenderer and have followed the procedure to work-around it by setting the series rendering order to FORWARD.
My question is if there is an issue with tooltips as well? My chart was generating tooltips correctly as a standard XYArea chart, but when I switched it to Stacked, the tooltips stopped working. Every once in a while it will show up, and then it will refuse to generate tooltips again. It also seems like it only shows up right on the edge of the area as well.
I have tried setting both the overall tooltip generator, and the series specific ones. I am trying to use a StandardXYToolTipGenerator.
Any thoughts or ideas would be greatly appreciated!
Thanks-
StackedXYAreaChart and Tooltips
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
The renderer is calculating the 'hotspot' for the tooltip as a small region around the data point (not the area), so you'll only see the tooltip at those points. It's something that needs fixing, so please file a bug report.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program