Focal Point
[Solved] Suppress mouse over labels on active report graphs

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

March 24, 2015, 02:00 PM
Ryan N
[Solved] Suppress mouse over labels on active report graphs
Hello, I've looked around but not found anything on this topic. I have a need to suppress the labels that display when a user mouses over a bar, line, etc. on active report/dashboard charts.

This is specifically for an active dashboard, created as a compound document, that will be saved off as an HTML file for distribution (AHTML format).

Does anyone know of any tricks or settings that can suppress the labels?

thanks-
Ryan

This message has been edited. Last edited by: Ryan N,


WF: WebFocus 8.0.02
InfoAssist, Dev Studio, Magnify, Portal/Dashboards, Mobile Favs
Data: DB2
OS: Windows
Output: Multiple
March 25, 2015, 07:02 AM
Rifaz
Should be in some active related js files and need to remove/comment out Tooltip options. For instance, ardefchart.js may be the one for it. It's better to check with IBI.


-Rifaz

WebFOCUS 7.7.x and 8.x
March 25, 2015, 10:15 AM
Ryan N
Thanks, our regional customer solutions group has been looking into this and thus far has not come back with anything, so I thought I'd post here.

We have an enterprise-wide installation that supports many groups so unfortunately I can't go in and modify core .js files but I appreciate the suggestion.


WF: WebFocus 8.0.02
InfoAssist, Dev Studio, Magnify, Portal/Dashboards, Mobile Favs
Data: DB2
OS: Windows
Output: Multiple
March 25, 2015, 11:03 AM
Francis Mariani
Have you tried the documentation? This is for 8.0.08. Look for the same document for 8.0.02.

Creating HTML5 Charts With WebFOCUS Language 8.0.08


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
March 25, 2015, 11:32 AM
<nick z>
You can try:
GRAPH FILE CAR
SUM RC DC SALES 
BY COUNTRY
ON GRAPH PCHOLD FORMAT AHTML
ON GRAPH SET ARGRAPHENGIN JSCHART
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setToolTipDisplay(false);
*GRAPH_JS
series: [
{series: 'reset', tooltip: ''},
]
*END
ENDSTYLE
END

March 25, 2015, 02:34 PM
Ryan N
Thanks for the suggestions. I had played around with those jschart options in the past, tried making the tool tips HTML, etc. and at the time many of the options were not affecting active chart output. However, just for the heck of it I tried adding

setToolTipDisplay(false);

again today and I'll be darned if it didn't work! I didn't add any of the GRAPH_JS series code as whenever I tried using series:[ ] parameters in the past I just got javascript errors from the browser.

Our IBI person was also surprised that it worked for an active report chart as he had not had any luck with that parameter in active reports when he was looking in to ways to help me, he wanted to see the code for the chart. I guess it's my lucky day! Thanks.


WF: WebFocus 8.0.02
InfoAssist, Dev Studio, Magnify, Portal/Dashboards, Mobile Favs
Data: DB2
OS: Windows
Output: Multiple
March 25, 2015, 02:54 PM
Rifaz
Please edit your post as solved. BTW, Nick is an IBI'er for charts.


-Rifaz

WebFOCUS 7.7.x and 8.x
March 25, 2015, 04:17 PM
Ryan N
Just a little more info, the car file code does not run for me with the GRAPH_JS code, this error occurs:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; chromeframe/32.0.1700.107; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; MS-RTC LM 8)
Timestamp: Wed, 25 Mar 2015 20:12:51 UTC


Message: 'series[...].series' is null or not an object
Line: 4976
Char: 402
Code: 0
URI: http://uxdapwfcnts01:8080/ibi_...PG_File=nvcvycpq.htm



Removing the GRAPH_JS code and leaving
*GRAPH_SCRIPT
setToolTipDisplay(false);
*END

does achieve the desired result.

Thanks again for the help.


WF: WebFocus 8.0.02
InfoAssist, Dev Studio, Magnify, Portal/Dashboards, Mobile Favs
Data: DB2
OS: Windows
Output: Multiple