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'm trying to come up with a graph that contains both stacked bars and also line series on the secondary axis. I want to be able to drilldown on the information by clicking the data marker as well as display tooltips for the series. But I am having difficulty doing both of these in the same chart.
EXAMPLE 1
ENGINE INT CACHE SET ON
-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='405.0';
-DEFAULTH &WF_STYLE_WIDTH='770.0';
-DEFAULTH &WF_TITLE='WebFOCUS Report';
GRAPH FILE car
-* Created by Info Assist for Graph
SUM CAR.BODY.SALES
CAR.BODY.RETAIL_COST
BY CAR.ORIGIN.COUNTRY
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET GRWIDTH 1
ON GRAPH SET UNITS &WF_STYLE_UNITS
ON GRAPH SET HAXIS &WF_STYLE_WIDTH
ON GRAPH SET VAXIS &WF_STYLE_HEIGHT
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH VLINSTK2
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
*END
INCLUDE=endeflt.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $
TYPE=DATA, COLUMN=N3, TARGET='_blank', URL=http://test.com, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
setSeriesType(0,1);
setSeriesType(1,2);
*END
ENDSTYLE
END
-RUN
In the above example, if I use a stacked line chart (VLINSTK2), the drilldown is on the data point for RETAIL_COST, but if you hover over the bars for SALES, no tooltip will display.
2nd Example If I use the above code but change the LOOKGRAPH to VBRSTK2, the tooltips now function properly; however, the drilldown on the RETAIL_COST series is only on the line part of the series, not the data marker (which also doesn't let you drilldown on the W GERMANY point).
Anyone have any ideas how to get both the tooltips to display correctly for all series and to have the drilldown link be on the actual data marker? I've tried messing around the setToolTip commands as well without too much luck.
Thanks, ClintThis message has been edited. Last edited by: <Emily McAllister>,
WF 8.2.0.3 Windows 10 64bit HTML, AHTML, PDF, Excel
I have, what I believe to be, a similar issue. On a desktop using Chrome or IE - the tooltips and Drilldowns work.
Howevver - on a mobile device - so far it seems like I can only get on or the other. Turn on tooltips - my drilldown menu won't render. Turn off tooltips - drilldowns render. But - I'd like to have both.
webFOCUS 8207.15 WindowsServer 2019
Posts: 120 | Location: Minnesota | Registered: August 26, 2013