Friday, 15 May 2015

javascript - jQplot tooltip dismiss issue -


I have implemented a simple bar chart,

Ivy has used the Highlighter toolkit feature , But let me continue with it as well.

Tooltip is not sacked when I move the mouse down and the chart exits from the canvas

I add

  $ .jqplot.eventListenerHooks.push (['jqplotMouseMove', handleMov] Have tried.); $ .jqplot.eventListenerHooks.push (['jqplotMouseLeave', handleMov]);  

but it does not work, I get an error handleMove is not defined

The code here is valid

< P>

I finally found this work :)

< P> - Problem:

  • A fast moving mouse cursor from the canvas, prevents the fire incident form

- Solution :

First jplot object

P> var plotBar = $ .jqplot ('task_brk_bar_chart', [...

then we

Then we change jqplotDataHighlight and jqplotDataUnHighlight events to change the graph properties. Will use the replot () function to fly them.

  $ ('# task_brk_bar_chart') '#task_brk_bar_chart'). Bind ('jqplotDataUnhighlight', function () {plotBar.showTooltip = false; plotBar.repolot ();});  

Task Bela:

Note: To override my settings, copy your old css , for testing purposes only Was there.

Cheers!


No comments:

Post a Comment