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.
Hi Francis, As far as I have seen, there's no setting for that. However, the legend is placed in an object, like a text box, which has the position and size properties. So, with that in mind, I placed it where I wanted it and resized the width so that everything fit on one line.
I hope this helps. Doug
In FOCUS Since 1983 ~ from FOCUS to WebFOCUS. Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
Doug, I don't see what you describe. I'm in Advanced Graph Assistant. On the left are the Chart type, Data selection and Chart editor tabs. On the bottom are the editable properties. On the top is a representation of the graph.
I don't see any method to move the legend using the GUI - in fact, there appears to be no interaction with the graph.
Meanwhile, I clicked on Help in Advanced Graph Assistant. Searched for "legend" - found several hits. Clicked on one of them. Instructions in this Help item include:
quote:
Create a chart. Click the Format tab in the Control Panel. Click Reference in the Features group.
What's the Control Panel? What's the Format tab? I don't see either of these two things.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
Select Chart Editor, 6 folders appear(7.6.11, may be more with 7.7.x), 2nd is Series, Click on All Series, or, 3rd is Legend, Click on Labels, General or Markers. In the Quick Chart will be the properties to change...
Thanks for your response. I have already found the Legend Properties, but I see nothing that allows me to change the width of the legend or to reduce the space between each element in the legend.
And I still haven't found the "Control Panel" that the documentation mentions.
Regards,
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
Well, if you are constrained by the GUI, look in the Chart folder. What "we" do is, come out of the GUI and use the API's. Then, go back into the GUI and find them. Here's some actual code:
I imagine when Doug mentioned "I placed it where I wanted it and resized the width so that everything fit on one line" he meant using the code, not from some GUI interface...
Cheers,
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
I think that the (Advanced) Graph code makes use of "Perspective for Java" for its styling. The documentation for that is far from brilliant, but it does help to figure out some of the things you can do with graphs in WebFOCUS. I tend to use this link: http://www.threedgraphics.com/.../doc/perspective.htm (Primarily the Methods section)
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
There are a couple of things you can try to in AGA to force the Legend to display horizontally.
1. In Chart Editor, Legend General menu, set property 'Legend Orientation' to Horizontal. Equivalent syntax is setLegendOrient(1);.
2. In the same menu, set property 'Legend markers per row' to 4 (since you have 4 series). Equivalent syntax is setLegendOrient(4);
On documentation, please refer to WF Graphics manual available here http://documentation.informati...7graph/wf77graph.pdf since it has the latest information. Anything posted on threedgraphics website is not up-to-date.
It definitely affects spacing between legend text/markers when the legend is horizontal and the markers are not lines. So it might have an impact on vertical legends, too. Worth a try.
WebFOCUS 7.7.05
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007
From our technicals: Unfortunately there is no way to do this at this time. However, I would suggest instead of having all 4 legends in 1 row, to split them into 2 rows. You can accomplish this in AGA: Chart Editor -> Legend -> General -> Legend markers per row. Change from default 0 to 2. Or you can use the following API call: setLegendMarkersPerRow(2);
Hope this helps.
Cheers,
Kerry
Kerry Zhan Focal Point Moderator Information Builders, Inc.
Posts: 1948 | Location: New York | Registered: November 16, 2004