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 need to display both the value and percentage in the graph tooltip.
How do I add the percentage (of row_total) in the tooltip ?
Can the tooltip be customized without having to change the graph to be applet-based? Any alternative solution ?
Sample code ->
GRAPH FILE CAR -* Created by Advanced Graph Assistant SUM DEALER_COST RETAIL_COST COMPUTE ROW_TOTAL/D7 = DEALER_COST + RETAIL_COST; NOPRINT BY HIGHEST ROW_TOTAL NOPRINT BY CAR -*ON GRAPH PCHOLD FORMAT PNG ON GRAPH SET GRAPHEDIT OFF ON GRAPH SET HTMLENCODE ON ON GRAPH SET GRAPHDEFAULT OFF ON GRAPH SET VZERO OFF ON GRAPH SET HAXIS 770 ON GRAPH SET VAXIS 400 ON GRAPH SET UNITS PIXELS ON GRAPH SET LOOKGRAPH HBRSTK1 ON GRAPH SET 3D OFF ON GRAPH SET GRMERGE ON ON GRAPH SET GRAPHSTYLE * setTemplateFile("/images/tdg/template/IBISouthWestern.txt"); setReportParsingErrors(false); setSelectionEnableMove(false); setTransparentBorderColor(getSeries(0),true); setTransparentBorderColor(getSeries(1),true); setTransparentBorderColor(getSeries(2),true); setTransparentBorderColor(getSeries(3),true); setTransparentBorderColor(getSeries(4),true); setTransparentBorderColor(getSeries(5),true); setTransparentBorderColor(getSeries(6),true); setTransparentBorderColor(getSeries(7),true); setTransparentBorderColor(getSeries(8),true); setTransparentBorderColor(getSeries(9),true); setTransparentBorderColor(getSeries(10),true); setDepthRadius(0); setDepthAngle(0); setTransparentBorderColor(getChartBackground(),true); setToolTipDisplay(true); setToolTipMode(false); setUserToolTip("Car:[GL][R][SL]:[YV][R][SL]%:"); setPlace(true); setO1MajorGridDisplay(false); setY1MajorGridDisplay(false); setFillColor(getSeries(0),new Color(255,127,0)); setFillColor(getSeries(1),new Color(35,107,142)); ENDSTYLE END -RUN
Thanks,This message has been edited. Last edited by: Kerry,
This seems to be an involved issue, so please open a case with Customer Support Services for assistance. The phone number is 1-800-736-6130, or access online at InfoResponse.
Cheers,
Kerry
Kerry Zhan Focal Point Moderator Information Builders, Inc.
Posts: 1948 | Location: New York | Registered: November 16, 2004