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.
New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.
What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.
During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.
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.