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     setLegendReverse Problem

Read-Only Read-Only Topic
Go
Search
Notify
Tools
setLegendReverse Problem
 Login/Join
 
Platinum Member
posted
I have a problem with the setLegendReverse setting in a stacked bar graph.

I have created the graph and all is well. I received some feedback from a user stating that the bars are displayed in reverse order of the legend. I started to hunt around for a way to reverse the legend and came to the setLegendReverse = true/false option. I set it to true and my legend dissapears. I set it back to false and it works as previously stated.

Is there a trick to this setting?

My Legend Settings are:

setLegendDisplay(true);
setLegendOrient(4);
setLegendMarkerSizeMax(10);
setLegendPosition(5);
setLegendReverse(true);
setSquareMarkers(true);

Thanks
gweller


WebFOCUS 8201M/Windows Platform
 
Posts: 109 | Registered: October 31, 2006Report This Post
Virtuoso
posted Hide Post
Try adding this before
setLegendMarkerPosition(0);


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Platinum Member
posted Hide Post
It seems as though this issue is a little more sneaky then what I first assumed. A little background:

I have a graph that I am creating. A simple stacked bar graph. This bar graph I am wanting to include as part of a bigger package that is sent to management every month, so for each graph I am doing the following:

1. Create the graph and ON TABLE HOLD AS &IMGNAME.EVAL FORMAT SVG (So I can include in PDF later)
2. Creating a table request and include the image within the request:
TYPE=REPORT,
IMAGE=&IMGNAME.EVAL.SVG,
POSITION=(0.311667 0.805556),
$
3. Include all the charts in a compound pdf

Now it seems as though running the graph alone without Holding it works ok with the reverselegend, however the extra step of holding and including in the table request just leaves the legend out if in reverse mode...


WebFOCUS 8201M/Windows Platform
 
Posts: 109 | Registered: October 31, 2006Report This Post
Platinum Member
posted Hide Post
I may have answered my own question:

http://techsupport.informationbuilders.com/known_problems/30742005.html

Seems as though it is a known issue...

Thanks for the help anyways Prarie


WebFOCUS 8201M/Windows Platform
 
Posts: 109 | Registered: October 31, 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     setLegendReverse Problem

Copyright © 1996-2020 Information Builders