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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Graph Legend Border
 Login/Join
 
Virtuoso
posted
Anyone know how to put a border, such as a box, around a graph legend?

Version 5.3.2 with the Old Graph Engine...
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Gold member
posted Hide Post
Prarie22, as far as I know, it has to be done in the advanced editor.

If you are creating the graphs using Dev Studio you will see the "Edit" button. Once in there, highlight the Legend and you'll see a button in the upper right. Click it to reveal the advanced functions (where you'll find Lines and Colors).

You may have limited success this route.
 
Posts: 55 | Registered: May 22, 2003Report This Post
Guru
posted Hide Post
The perspective for Java method call to show a border (black):
setTransparentBorderColor(getLegendArea(),false);

You may also want to play with:
setBorderColor(getLegendArea(),new Color(255,0,0));
(to make the legend box border red, for instance)
 
Posts: 391 | Location: California | Registered: April 14, 2003Report This Post
Virtuoso
posted Hide Post
Thanks...I tried the last suggetion...and that worked...but the Box is over lapping the Graph...how do I make the Legend smaller...guess it was too close to begin with.
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Guru
posted Hide Post
You do something like this:
setRect(getLegendArea(),new Rectangle(9921,-7020,6040,15800));
where the first 2 values are some kind of x, y coordinates, and the last 2 are width and height of the box.
If you can get into the Graph Editor (as mentioned by Denver RSE) it is easier to find the right values to use (other than trial and error). I know in the version we are using (5.21) you can not always get into the editor. You might want to download the "Perspective for Java" manual. (Not easy to find things in it though)
 
Posts: 391 | Location: California | Registered: April 14, 2003Report This Post
<DocServices>
posted
Hi Prarie22,

As always this is a great forum to get the information you need. In case you need something a little more recent, we updated the "Perspective for Java Programmer's Manual" (DN2100945.0901) for version 5.3. It's now called "WebFOCUS Graphics 5.3" (DN4500605.0904).

Regards,
Jennifer Smiler
 
Report This Post
Virtuoso
posted Hide Post
Smiler
Thanks to everyone for your help. I will review the documentation suggested. I need a good cheat sheet.
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
<JG>
posted
I don't call 1347 pages a cheat sheet
 
Report This Post
Virtuoso
posted Hide Post
No I don't either...I should have said...I wish I had a good cheat sheet.
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders