Disable "highlighting" of filled area on hover

1,970 views
Skip to first unread message

zenzelezz

unread,
Nov 4, 2010, 9:33:31 AM11/4/10
to jqplot-users
Couldn't find any existing question about this, pardon if I missed
something.

I have a chart where I show a line graph, and I would like to show a
second graph in the background, as a sort of reference value. To
accomplish this I set up a second series, and set its "fill" setting
to true. On first inspection this seemed to do the trick, but when I
hover the mouse cursor over the filled area below the "background"
series, it appears to have its Z-order elevated (or something to that
effect), placing it on top of the main series. This is undesirable for
my case, and I've attempted to find an option to disable it, without
any luck.

Is there any way to disable this temporary elevation effect?

jafo

unread,
Nov 6, 2010, 5:26:09 AM11/6/10
to jqplot-users
I just tracked this down and answered it over on stackoverflow:

http://stackoverflow.com/questions/4032393/jqplot-changes-the-color-of-graph-on-mouse-hover

In short, it's a change to the code and you need to set
highlightMouseOver to false. See the above link for an example and
more details.

Sean
Reply all
Reply to author
Forward
0 new messages