Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED]Drilldowns in bar chart

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]Drilldowns in bar chart
 Login/Join
 
Virtuoso
posted
I have a simple bar chart -- say
GRAPH FILE CAR
SUM SALES
ACROSS COUNTRY
. . .
END

-- with a drilldown assigned to the bars, calling a fex procedure and passing it parameters (COUNTRY plus a whole gaggle of amper parameters).

But in real life I found that, for some values of the x-axis variable, the bar may be very short, making it difficult for the user to hit the drilldown. So I'd like to assign the same drilldown to the x-axis values (ENGLAND, FRANCE, ... in the hypothetical example), using the same type of traditional Focus STYLE syntax as I applied to the bars (rather than in the graphstyle section). But I was unable to uncover syntax that will style those bar legends along the x-axis. Can it be done? Does anyone know a magic incantation that will do it?

- - -

N.B. -- IBI gave me syntax for creating a hyperlink to a fixed url --
...
ON GRAPH SET GRAPHSTYLE *
setURL (getO1Label(), "http://www.yahoo.com"); 
...


-- but expanding on that to call Client to pass a request to Server complete with all the arguments is more work than warranted here.

This message has been edited. Last edited by: <Emily McAllister>,


- Jack Gross
WF through 8.1.05
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Silver Member
posted Hide Post
Here is what I got for a response back in September when I opened a case on adding drill downs to the x axis in 8105

quote:
I have confirmed that we do not yet have the ability to add hyperlinks or drilldowns to the data labels themselves on the x or y axis. However, I am
happy to inform you that this is a new feature that will be included with the
release of WebFOCUS 8.2.00.


WebFOCUS 8204
Windows, All Outputs
 
Posts: 47 | Registered: March 21, 2014Report This Post
Expert
posted Hide Post
Is this still true? Four Years Later? I'd really like to be able to do that. Consider my example below.

quote:
Here is what I got for a response back in September when I opened a case on adding drill downs to the x axis in 8105

"I have confirmed that we do not yet have the ability to add hyperlinks or drilldowns to the data labels themselves on the x or y axis. However, I am
happy to inform you that this is a new feature that will be included with the
release of WebFOCUS 8.2.00."


ENGINE INT CACHE SET ON
SET PAGE-NUM=NOLEAD
-DEFAULTH &WF_HTMLENCODE=ON;
SET HTMLENCODE=&WF_HTMLENCODE
SET ARGRAPHENGINE=JSCHART
-DEFAULTH &WF_EMPTYREPORT=ON;
SET EMPTYREPORT=&WF_EMPTYREPORT
SET EMBEDHEADING=ON
SET GRAPHDEFAULT=OFF
-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='405.0';
-DEFAULTH &WF_STYLE_WIDTH='770.0';
-DEFAULTH &WF_TITLE='WebFOCUS Report';
DEFINE FILE CAR
BOGUS_COST/D20.2M = IF MODEL CONTAINS 'DOOR' THEN -DCOST ELSE DCOST ;
END
GRAPH FILE CAR
-* Created by Info Assist for Graph
SUM BOGUS_COST AS ''
BY CAR.CARREC.MODEL AS ''
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO 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 LOOKGRAPH BAR
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setPlace(true);
setCurveFitEquationDisplay(false);
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/ibi_themes/Warm.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $
TYPE=DATA, COLUMN=N1, BUCKET=x-axis, $
TYPE=DATA, COLUMN=N2, BUCKET=y-axis, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
setDataTextPosition(1);
setFontStyle(getDataText(),3);
setTextRotation(getO1Label(),3);
*END
ENDSTYLE
END
-RUN




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED]Drilldowns in bar chart

Copyright © 1996-2020 Information Builders