As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
I am trying to customize (insert some text) the standard tool tip displayed by the Tree Map Chart. What ever i try is not affecting the tooltip for the map at all. I am not even able to even turn off the standard tooltip using htmlTooltip: {enabled: false}.
I am using two columns in the graph table to display the tree map. The first column shows the size of the rectangles. The second column is used to determine the color scale of the legend on the right. Currently it is displaying only the first column value in the tool tip. I need to be able to show the values of both the columns in the tooltip.
Any help is greatly appreciated.
Regards, HimaThis message has been edited. Last edited by: Tamra,
Run the following code and you will see a customized tooltip using the tooltip property:
DEFINE FILE GGSALES
PROFIT/D12.2= DOLLARS-BUDDOLLARS ;
END
GRAPH FILE GGSALES
SUM PROFIT UNITS
BY ST
BY PRODUCT
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET LOOKGRAPH VBAR
-*ON GRAPH SET LOOKGRAPH TREEMAP
ON GRAPH SET STYLE *
*GRAPH_JS
htmlToolTip: {enabled: true, snap:true}
*END
-*
*GRAPH_JS
series: [
{series: 'reset', tooltip: function(v, s, g) {return 'Customized Tooltip <br/>' + 'Value: ' + v
+'<br/>Series: ' + s +'<br/>Group: ' + g;}}
]
*END
ENDSTYLE
END
Swap the LOOKGRAPH to TREEMAP, and the tooltip property doesn't seem to be in effect.
Are you saying that the tooltip property doesn't support TREEMAP graphs?
The 'Creating HTML5 Charts' manual doesn't mention this limitation.
Perhaps using this sample code you, or someone at IB, could assist?
Thanks.This message has been edited. Last edited by: David Briars,
Trying to intercept this code and remove the overriding commands before the HTML page initializes would be very tricky indeed, if it is even possible at all.
App Studio WebFOCUS 8.1.05M Windows, All Outputs
Posts: 594 | Location: Michigan | Registered: September 04, 2015
The questions posted above were sent to the Product Manager who has responded.
First, I did run David's example in AppStudo WF8105 gen 07282016. I do see the tooltips on the treemap.
Question #1: Tooltips not showing all the information on the treemap
Here is my example:
The Product Manager ( Dan Weingart ) also tested the above example and found the tool tips do appear.
Question #2: The ability to customize the tooltip in WebFOCUS 8105
Dan says he ran some examples and also saw that the Reporting Server seemed to be overwriting the custom tooltip defined in the FEX. He then asked one of the charting engineers to investigate.
There will be more investigation if it is possible for Hima Meka to replicate the issue using the CAR or GGSALES file to show the missing measures/fields on the default tooltip. We can then ensure a solution is provided.
In the meantime, the following has been provided by the charting engineer as a possible workaround:
use -> 'series: 0, group: null' in their custom tooltip instead of just 'series: reset'.