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.
I am trying to send a legend scroll on the graph but I am getting an exception error and the graph doesnt dislpay at all when I try to add the legend scroll.
This is the code below as to how I add the legend scroll.
I'm not sure what scrolling legends would do, but I added your lines of code to an existing graph and got not errors. By the way, the code did not make any change to the graph.
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 am not getting any error. The graph shows fine, however, I dont get the legend scroll to display on the graph.
The problem I am having is, I am having a lot of legends and I am not able to display all of them at once. So I wanted to use a legend scroll to display sum and scroll to display others.
It's not clear what you are trying to do as far as the graph output but I was under the impression that scrolling legends would only work using the Applet approach.
GRAPH FILE CAR PRINT RCOST AS '' ACROSS MODEL AS 'MODEL' BY COUNTRY ON GRAPH SET LOOKGRAPH VLINE ON GRAPH SET GRAPHEDIT SERVER ON GRAPH SET BARNUMB OFF ON GRAPH SET 3D OFF ON GRAPH SET VZERO ON ON GRAPH SET GRID OFF ON GRAPH SET VAXIS 330 ON GRAPH SET HAXIS 560 ON GRAPH SET GRMERGE ON ON GRAPH PCHOLD AS OUTFILE FORMAT HTML ON GRAPH SET GRAPHSTYLE * setSeriesType(0,0); setSeriesType(1,0); setMarkerDisplay(true); setUseSeriesShapes(true); setConnectLineMarkers(true); setConnectScatterMarkers(true); setO1LabelDisplay(true); setO1AxisSide(0); setO1MajorGridDisplay(true); setO1MajorGridStyle(0); setO1MinorGridDisplay(false); setAxisAssignment(0,0); setSeriesType(0,2); setAxisAssignment(1,1); setSeriesType(1,2); setY1LabelDisplay(true); setY1AxisSide(0); setY1MajorGridDisplay(true); setY1MajorGridStyle(0); setY1MinorGridDisplay(false); setTextFormatPreset(getY1Label(),-1); setTextFormatPattern(getY1Label(),"#.##"); setLegendDisplay(true); setTextJustHoriz(getTitle(),1); setFontSizeAbsolute(getTitle(),true); setFontSize(getTitle(),11); setTextJustHoriz(getSubtitle(),1); setFontSizeAbsolute(getSubtitle(),true); setFontSize(getSubtitle(),10); setFontSizeAbsolute(getFootnote(),true); setFontSize(getFootnote(),9); setFontStyle(getFootnote(),0); setLegendTextAutofit(true); -* -*setLegendMarkerSizeMax(500); -*setLegendMarkersPerRow(7); -* setFontSizeAbsolute(getY1Title(),true); setFontName(getY1Label(),"Dialog"); setFontSizeAbsolute(getY1Label(),true); setFontSizeAbsolute(getO1Title(),true); setTextJustHoriz(getO1Label(),1); setY1TitleString("CAR"); setX1TitleString("MODEL"); setO1LabelAutofit(true); setTextRotation(getO1Label(),0); ENDSTYLE END -RUN -EXIT
*********************************************
Now my program has a lot of legends, something like 24 and I cant show all the legends down at the bottom of the graph(ENGLAND, FRANCE..). So I wanted to add a legend scroll to show, let say, 6 legends and the user could scroll to view the rest.
But isn't the result of this going to be a static image displayed in a browser? What I think you need to do to get a dynamic graph is to use client side processing.
I've only played around with the WF graph stuff and found it not very clear on many things so maybe my understanding of what's going on isn't complete.