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.
Hi, I am a novice in webfocus. I am having an issue with Dynamic Tool Tip api. Requirment in my Stacked BAR graph is to display only Vertical axis value, to achieve which i have used the below code GRAPH FILE CAR SUM DEALER_COST RETAIL_COST BY COUNTRY BY CAR ON GRAPH SET LOOKGRAPH VBRSTK1 ON GRAPH SET GRMERGE ON ON GRAPH SET GRMULTIGRAPH 0 ON GRAPH SET 3D OFF ON GRAPH SET GRAPHSTYLE * setToolTipDisplay(true); setToolTipMode(false); setUserToolTip("Value for [YV]"); setToolTipBackgroundColor(new Color (222,236,255)); setToolTipColor(new Color(0,0,128)); setToolTipBackdropSize(3); setToolTipFontName("Verdana"); setToolTipFontStyle(1); END -EXIT However i still see the defualt tool tip values being displayed when the mouse hovers on the Stacked BAR. Same problem persists with DyamicToolTip api. My webfocus is set up on 7.6.9 version. Appreciate your time on this. Thanks, RoopaThis message has been edited. Last edited by: Kerry,
GRAPH FILE CAR
-* Created by Advanced Graph Assistant
SUM CAR.BODY.DEALER_COST AS ''
CAR.BODY.RETAIL_COST AS ''
BY CAR.ORIGIN.COUNTRY
BY CAR.COMP.CAR
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET HAXIS 770
ON GRAPH SET VAXIS 405
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VBRSTK1
ON GRAPH SET 3D OFF
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 2
ON GRAPH SET GRAPHSTYLE *
setTemplateFile("/images/tdg/template/IBISouthWestern.txt");
setReportParsingErrors(false);
setSelectionEnableMove(false);
setTransparentBorderColor(getChartBackground(),true);
setPlace(true);
setTransparentBorderColor(getSeries(0),false);
setTransparentBorderColor(getSeries(1),false);
setDepthRadius(0);
setDepthAngle(0);
setLabelStagger(getY1Label(),false);
setDisplay(getO1AxisLine(),true);
setBorderColor(getSeries(1),new Color(192,192,192));
setBorderColor(getSeries(0),new Color(192,192,192));
setBorderColor(getCurveFitLineRiser(0),new Color(255,0,0));
setFillColor(getCurveFitEquationText(0),new Color(64,0,64));
setFillColor(getCurveFitLineRiser(0),new Color(0,64,64));
setTextString(getAnnotation(0),"Retail Cost");
setDisplay(getAnnotation(0),true);
setShadowXOffset(getAnnotation(0),1);
setShadowYOffset(getAnnotation(0),1);
setShadowDisplay(getAnnotation(0),false);
setBorderType(getAnnotationBox(0),4);
setShadowColor(getAnnotationBox(0),new Color(192,192,192));
setShadowDisplay(getAnnotationBox(0),false);
setFillColor(getSeries(0),new Color(158,144,188));
setFontSizeAbsolute(getAnnotation(0), true);
setFontSizeInPoints(getAnnotation(0), 8);
setPlaceResize(getAnnotation(0), 0);
setTextString(getAnnotation(1),"Dealer Cost");
setDisplay(getAnnotation(1),true);
setFillColor(getAnnotation(1),new Color(32,0,32));
setFillColor(getAnnotation(0),new Color(32,0,32));
setDisplay(getAnnotationBox(0),true);
setFillColor(getAnnotationBox(0),new Color(157,144,255));
setRect(getAnnotation(0),new Rectangle(-5333.0,-15709.0,5333.0,1357.0));
setRect(getAnnotation(1),new Rectangle(0.0,-15709.0,5333.0,1357.0));
setFontSizeAbsolute(getAnnotation(1), true);
setFontSizeInPoints(getAnnotation(1), 8);
setPlaceResize(getAnnotation(1), 0);
setShadowXOffset(getAnnotation(1),1);
setShadowYOffset(getAnnotation(1),1);
setBorderType(getAnnotationBox(1),4);
setFillColor(getAnnotationBox(1),new Color(255,243,172));
ENDSTYLE
END
-RUN
Thanks Freste, its working great. However i am still wondering why isn't the setUserToolTip not working in the bar graph. Appreciate if you have any thoughts on the same.