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.
Issue: When I run below code, some part of data labels appear on the bars i.e.overlaps with bar. when i put few charts together on the html, numbers are not in readable state. Can we introduce some space in between datatext and bar ? Or any solution?
-DEFAULTH &WF_STYLE_UNITS='INCHES'; -DEFAULTH &WF_STYLE_HEIGHT='4.21875'; -DEFAULTH &WF_STYLE_WIDTH='8.020833'; -DEFAULTH &WF_TITLE='WebFOCUS Report'; GRAPH FILE car -* Created by Info Assist for Graph SUM CAR.BODY.DEALER_COST CAR.BODY.SALES BY CAR.ORIGIN.COUNTRY ON GRAPH PCHOLD FORMAT PDF 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 1 ON GRAPH SET GRXAXIS 0 ON GRAPH SET LOOKGRAPH VBAR ON GRAPH SET STYLE * *GRAPH_SCRIPT setPieDepth(0); setPieTilt(0); setDepthRadius(0); setCurveFitEquationDisplay(false); setPlace(true); *END INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$ TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $ *GRAPH_SCRIPT setPieFeelerTextDisplay(1); setReportParsingErrors(false); setSelectionEnableMove(false); setFillColor(getSeries(0),new Color(0,0,255)); setColorMode(1); setPieLabelDisplay(0); setTextFormatPreset(getPieSliceLabel(),0); setFillColor(getFrame(),new Color(255,255,255)); setBorderColor(getY1AxisLine(),new Color(0,0,0)); setFillColor(getY1AxisLine(),new Color(0,0,0)); setLineWidth(getY1AxisLine(),1); setBorderColor(getO1AxisLine(),new Color(0,0,0)); setFillColor(getO1AxisLine(),new Color(0,0,0)); setLineWidth(get01AxisLine(),1); setZeroValueDataTextDisplay(false); setTextFormatPreset(getDataText(),0); setDisplay(getDataText(),true); setDataTextDisplay(true); setDataTextPosition(0);
setTextRotation(getDataText(),1);
*END ENDSTYLE END -RUN
-*IA_GRAPH_FINISHThis message has been edited. Last edited by: <Emily McAllister>,
if you are talking about the data texts overlapping on the series of bars, then please utilize any one of codes mentioned below and see which one fits to your requirement:-
setDataTextPosition(1); or setDataTextPosition(2); or setDataTextPosition(3); or setDataTextPosition(4); or setDataTextPosition(5);
WEBFOCUS 8.1 WINDOWS 7 PROFESSIONAL ALL FORMAT OUTPUTS
Posts: 3 | Location: NEW DELHI | Registered: May 25, 2016
Thank you! I forgot to mention I am using JSCHART format. I tried those and didn't work.
Also, I need to mention I have few charts and report and need to put them in html. So, Even if it looks fine individually, it does not look good/readable in html/portal.
I was wondering whether these properties like setDataTextRadiusDefault(value); etc. will work with JSCHART or not?