Focal Point
[NFR] WF8 - JSCHART - HTML Tooltip Sticky For Scatterplot.

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/9677079276

October 06, 2014, 11:56 AM
David Briars
[NFR] WF8 - JSCHART - HTML Tooltip Sticky For Scatterplot.
When I run the code below, the tooltip appears upon mouseover, but does not hide when the mouse moves off the riser.

APP PREPENDPATH IBISAMP
GRAPH FILE GGSALES
SUM SEQ_NO
BY  ST
ACROSS SEQ_NO
IF SEQ_NO LE 5
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 1
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH SCATTERS
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
*GRAPH_JS
series: [
{series: 0, color: 'lightgreen'},
{series: 1, color: 'tan'},
{series: 2, color: 'lightblue'},
{series: 3, color: 'beige'},
],
htmlToolTip: {enabled: true, snap: true, sticky: false}
*END
END  

If anyone knows how to disable sticky tooltips for scatter plots, I'd be very appreciative.

This message has been edited. Last edited by: David Briars,




Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster
October 07, 2014, 09:59 AM
David Briars
I've opened a case on this, still, if anyone has any ideas, I am all ears.
October 20, 2014, 03:03 PM
David Briars
Thought I'd bump this thread, just this one time.

Seems like a reasonable request to have the tooltip disappear on the mouseout event.

Haven't heard back from IB on my open case.
November 24, 2014, 02:53 PM
GavinL
I've been looking to change the color of the tool tip, without any luck.

IBI says do this within the GRAPH_JS:
htmlToolTip: { fill: 'pink' },

But doesn't seem to work.



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
November 24, 2014, 02:58 PM
GavinL
I was looking at some of your previous posts David and found the solution.. Google Search never brought it up for some reason..

htmlToolTip: { style: { border: 'solid red', background: 'lavender'}, },



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
December 19, 2014, 12:40 PM
David Briars
My case with IB on this matter has transitioned to a new feature request.

Updating the thread title accordingly.