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]Heading or Footing issue with chart in HTML format

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]Heading or Footing issue with chart in HTML format
 Login/Join
 
Gold member
posted
I create chart with Heading/Footing in HTML. The chart display fine. But because the chart has heading, it adds a scroll bar to the output. I know there is ON GRAPH SET EMBEDHEADING option to avoid the scroll bar. But the user wants to export the chart. So I add the link behind the Heading. Does anyone has similar experience? Is it possible to remove the scroll bar but also keep the heading at the same time?

Thank you

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


WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 60 | Registered: March 02, 2015Report This Post
Guru
posted Hide Post
I'm not sure if this will help you or not, but I've found that if you remove or comment the line that says

ON GRAPH SET GRWIDTH 1

the graph displays better.


Webfocus 8
Windows, Linux
 
Posts: 258 | Location: Palm Coast, FL | Registered: February 05, 2010Report This Post
Gold member
posted Hide Post
Mike,

Thanks. I don't have this line in my code.


WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 60 | Registered: March 02, 2015Report This Post
Expert
posted Hide Post
Use ON GRAPH SET EMBEDHEADING ON - link to documentation

This will embed the heading within the chart using the charting syntax rather than using the standard WebFOCUS HEADING syntax.

Keep the link given above to access WebFOCUS documentation - it will save you time!


T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Gold member
posted Hide Post
Tony,

Thank you. I was trying to create a drill-down from the heading. With ON GRAPH SET EMBEDHEADING ON turns the heading to text. Is there any other solution that can add a text/image to the chart area that can drill-down from?


WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 60 | Registered: March 02, 2015Report This Post
Expert
posted Hide Post
There are pointers in the documentation if you look for them - link to documentation

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Member
posted Hide Post
Try using JSChart properties for title,subtitle and footnote.You can avoid scrolls in the page.It worked for me.


WebFOCUS 8
Windows, All Outputs
 
Posts: 23 | Registered: April 16, 2015Report This Post
Gold member
posted Hide Post
Sorry I can't share the code so use the code from doc as example.

  GRAPH FILE WF_RETAIL_LITE
SUM COGS_US 
ACROSS PRODUCT_CATEGORY
FOOTING
"Export To PDF"
"Export To PPTX"
ON GRAPH SET EMBEDHEADING ON
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET LOOKGRAPH PIE
ON GRAPH SET STYLE *
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/combine_templates/ENFlat_ALM.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $
TYPE=FOOTING, LINE=1, JUSTIFY=LEFT, OBJECT=TEXT, TARGET='_blank',FOCEXEC=IBFS:/WFC/Repository/Investment_Analytics/Holdings/By_Security_Type/Portfolio_Holdings_PortfolioType_PDF.fex(....),$

*GRAPH_JS
title: {visible: true,  
text: '<u><em>Title is underlined and italic using HTML tags</em></u>'}    
*END
ENDSTYLE
END


So I want to add a drill-down link from footing. With "ON GRAPH SET EMBEDHEADING ON", it turn the footing to text inside the chart. But the drill-down option is not working. If I remove "ON GRAPH SET EMBEDHEADING ON" from the code, the drill-down works but the footing comes below the chart and make the chart has scroll bar.

Is there anyway that can make both the drill-down working and no scroll bar?

Sorry for the confusion.

Thank you for your help.


WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 60 | Registered: March 02, 2015Report 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]Heading or Footing issue with chart in HTML format

Copyright © 1996-2020 Information Builders