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     Graph Titles & Customization

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Graph Titles & Customization
 Login/Join
 
Gold member
posted
I hope this isn't going to be a stupid question. I've been writing focus code and creating reports for years and am generally pretty savy with the language and with technique, however, I have not done too much with graphing in my years of experience. I am now in the position to want to work more with charting, but I'm struggling a bit.

I have created a bar graph and it is working, but I want to take this now and customize it somewhat. I am first trying to display a chart title or subtitle (I'll want to play with it a bit before I decide which one I want) and I can't for the life of me get a chart title to display. I am targeting the bar graph to a frame and have tried,

setSubtitleString("string");
and
setTitleString("string");

and various other graph style code to no avail. Any ideas? Or even a lead on some documentation I can read? Most of the online tech help seems to assume you're using Graph Assist.
 
Posts: 52 | Location: Merrimack, NH | Registered: August 17, 2006Report This Post
Virtuoso
posted Hide Post
Did you code the graph or use the graphing tool?


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Gold member
posted Hide Post
I coded it.
 
Posts: 52 | Location: Merrimack, NH | Registered: August 17, 2006Report This Post
Virtuoso
posted Hide Post
I don't have the 'guts' to do that, but here is what the tool does for chart title. I just cut paste a segment of the coding.
HEADING and FOOTING in the GRAPH request will show also.

setLegendDisplay(true);
setTitleString("This is the chart title");
setFontSizeAbsolute(getTitle(),true);
setFootnoteString("Degrees by Degree Level");
setFontSizeAbsolute(getFootnote(),true);


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Master
posted Hide Post
Try this,

setTextString (getTitle(),"Title of chart");


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
Virtuoso
posted Hide Post
Try adding this to your code:

setTitleDisplay(true);
setSubtitleDisplay(true);


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Gold member
posted Hide Post
Most of my reports or charts need to work off of a hold file (usually extracted using a SQL passthru method) that is created before the actual graph occurs, so the Graph Assist GUI tool won't work in this scenario.

In any case, I figured out what I was doing wrong. I was prefacing the start of the graph style section with "ON GRAPH SET STYLE *" rather than "ON GRAPH SET GRAPHSTYLE *". I'm an idiot. My titles are being honored now.

Anyway, thanks for the responses!
 
Posts: 52 | Location: Merrimack, NH | Registered: August 17, 2006Report This Post
Virtuoso
posted Hide Post
quote:
I'm an idiot. My titles are being honored now.


We've all been there done that, don't beat yourself up too hard.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Gold member
posted Hide Post
quote:
We've all been there done that, don't beat yourself up too hard.


It's almost always something stupid. That's been my experience. (look for the simple, stupid things first -- LoL). Thanks again.
 
Posts: 52 | Location: Merrimack, NH | Registered: August 17, 2006Report 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     Graph Titles & Customization

Copyright © 1996-2020 Information Builders