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] Enable Scroll bar For Legends in Graphs

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Enable Scroll bar For Legends in Graphs
 Login/Join
 
Gold member
posted
Hi,
I want to enable scroll bar for legends in graphs.My legend text is so long that gets messed up at the bottom of the graph. Can anyone suggest a solution for this issue?

Thanks,
Suji.

Webfocus 7.6.9
Oracle 10G database.
Windows OS.

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.7.02(Production)
WebFOCUS 7.7.02(Test region)
Oracle backend (10g)and Windows Frontend.
HTML,PDF,EXL2K,FLEX,AHTML
 
Posts: 68 | Registered: June 07, 2007Report This Post
<JG>
posted
Start by downloading the Graph documentation PDF

then look for setLegendScroll()
 
Report This Post
Expert
posted Hide Post
"setLegendScroll()" OR change the size of the "rectangle" to see all your legend items OR limit the graph to fewer itesm. It sounds like there may be just too many items being graphed, thus, too many legend items... Just my thoughts as I do not see the code or a sample of the graph. Could you provide them? Or, duplicate this with an IB sample file?




   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, 2005Report This Post
Gold member
posted Hide Post
Hi,
I tried it in my code.
GRAPH FILE SQLOUT
SUM
metric1 AS 'Remedy Count'
metric2 AS ''
ACROSS attr2 AS ''
ON GRAPH SET 3D OFF
ON GRAPH SET BARNUMB OFF
ON GRAPH SET GRID ON
ON GRAPH SET GRAPHSTYLE *
setLegendDisplay(true);
setLegendPosition(0);
setSeriesType(0,1);
setLegendTextAutofit(true);
END

But I am not getting the scroll bar. Please advise.

Thanks,
Suji.


WebFOCUS 7.7.02(Production)
WebFOCUS 7.7.02(Test region)
Oracle backend (10g)and Windows Frontend.
HTML,PDF,EXL2K,FLEX,AHTML
 
Posts: 68 | Registered: June 07, 2007Report This Post
<JG>
posted
quote:
Start by downloading the Graph documentation PDF

then look for setLegendScroll()

I don't see setLegendScroll in your code
 
Report This Post
Gold member
posted Hide Post
Hi,
I tried setLegendScroll() and I am not getting dynamic scroll bar. Can someone suggest how to get a dynamic scroll bar?
This is my code.

SET GRAPHENGINE=OLD
GRAPH FILE SQLOUT
SUM
metric1 AS 'Remedy Count'
metric2 AS 'Metric2'
ACROSS attr2 AS ''
ON GRAPH SET 3D OFF
ON GRAPH SET BARNUMB OFF
ON GRAPH SET GRID ON
ON GRAPH HOLD AS NEW1 FORMAT HTML
ON GRAPH SET GRAPHSTYLE *
setLegendDisplay(true);
setLegendPosition(0);
setSeriesType(0,1);
setLegendTextAutofit(true);
setLegendScroll(1);
setLegendSeriesCount(1);
setLegendSeriesStart(0);
setFillColor(getLegendScrollerThumb(),new Color(0,255,0));
END

Thanks,
Suji.


WebFOCUS 7.7.02(Production)
WebFOCUS 7.7.02(Test region)
Oracle backend (10g)and Windows Frontend.
HTML,PDF,EXL2K,FLEX,AHTML
 
Posts: 68 | Registered: June 07, 2007Report This Post
Gold member
posted Hide Post
Hi,
I am not getting any actual scroll bar scrolling in my graph.

SET GRAPHENGINE=OLD
GRAPH FILE SQLOUT
SUM
metric1 AS 'Remedy Count'
metric2 AS 'Metric2'
ACROSS attr2 AS ''
ON GRAPH SET 3D OFF
ON GRAPH SET BARNUMB OFF
ON GRAPH SET GRID ON
ON GRAPH PCHOLD FORMAT HTML
ON GRAPH SET GRAPHSTYLE *
-*setBorderColor(getLegendArea(),new Color(204,204,204));
setLegendDisplay(true);
setLegendPosition(0);
setSeriesType(0,1);
setLegendTextAutofit(true);
setLegendScroll(2);
setLegendSeriesCount(1);
setLegendSeriesStart(0);
setFillColor(getLegendScrollerThumb(),new Color(0,255,0));
END


Can anyone please suggest me a solution?

Thanks,
Suji.


WebFOCUS 7.7.02(Production)
WebFOCUS 7.7.02(Test region)
Oracle backend (10g)and Windows Frontend.
HTML,PDF,EXL2K,FLEX,AHTML
 
Posts: 68 | Registered: June 07, 2007Report This Post
Gold member
posted Hide Post
I am not able to get a legend scrollbar to appear in my graph either. Does anyone have an updatd solution for scrollbars in legends?




Prod/Dev: WebFOCUS 8.0.08 on Windows Server 2008/Tomcat , WebFOCUS DevStudio 8.0.08 on Windows 7 Pro


 
Posts: 94 | Location: Austin, TX | Registered: August 08, 2012Report This Post
Expert
posted Hide Post
Hi Joey,

From our technicals: this seems to be a new feature request (NFR). Please contact Customer Support Services for confirmation and/or to submit your request, 1-800-736-6130 or access online at InfoResponse.

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report 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] Enable Scroll bar For Legends in Graphs

Copyright © 1996-2020 Information Builders