How to show series value on mouseover ?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
sxyz
Posts: 6
Joined: Sun Jul 17, 2016 11:56 pm
antibot: No, of course not.

How to show series value on mouseover ?

Post by sxyz » Fri Aug 05, 2016 11:52 pm

Hi,

I am trying to understand how I can achieve the same results of this HighCharts example: http://www.highcharts.com/demo/scatter .
I need to show the value of the each series when the mouse pointer is on it.

Could you please provide some suggestion to do this ?
Thank you..

sxyz

John Matthews
Posts: 513
Joined: Wed Sep 12, 2007 3:18 pm

Re: How to show series value on mouseover ?

Post by John Matthews » Sat Aug 06, 2016 5:40 am

You can enable tooltips in ChartFactory.createBubbleChart. See BubbleChartDemo1 in the demo under Miscellaneous.

sxyz
Posts: 6
Joined: Sun Jul 17, 2016 11:56 pm
antibot: No, of course not.

Re: How to show series value on mouseover ?

Post by sxyz » Sat Aug 06, 2016 10:27 am

Hi, thank you for your reply.

I was meaning just the tooltip showing the series value, not the bubble. I did not explained very well.
However, I solved adding addChartMouseListener, ChartEntity & XYItemEntity.

:)

Locked