change individual tick labels , annotation/series hover css

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
sonali
Posts: 14
Joined: Sat Sep 02, 2017 5:58 am
antibot: No, of course not.
Location: india

change individual tick labels , annotation/series hover css

Post by sonali » Fri Sep 08, 2017 7:12 am

Image

jfreechart give easy way to create tool tips on many objects but i want to create tick label as like tool tip , actually as mouse moved in xyplot then easily get coordinates but how to add that custom single new value as tick label on axis and highlight it?

i have also another question : in [ annotation or any series ] on this objects how to add mouse action listener so that we can change color of it [on hover line or series it will highlight ] ? or any other solution like css?

i had done r&d and testing demos from two days on this both topic but nothing get or cant get any way or idea.

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

Re: change individual tick labels , annotation/series hover

Post by John Matthews » Fri Sep 08, 2017 9:33 am

As an alternative, consider CrosshairOverlay, shown here and here.

sonali
Posts: 14
Joined: Sat Sep 02, 2017 5:58 am
antibot: No, of course not.
Location: india

Re: change individual tick labels , annotation/series hover

Post by sonali » Fri Sep 08, 2017 10:17 am

Thanks , you are right but i had done crosshairoverlay already as a option of this. i am trying to create label on axis and want to change color of series so one series can identify easily while many series in one plot.

Locked