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'm looping through my graphs and creating one graph for each account and displaying it within my reports. If I remove the -*ON GRAPH SAVE AS PCSSOGR&COUNT FORMAT SVG and just display the graphs to my screen my legend appears to the right of my pie graph. If I put it in my report TYPE=REPORT, IMAGE=PCSSOGR&COUNT.EVAL.SVG, POSITION=(1.5 1.65), SIZE=(9.5 6.0), the legend on the 2nd graph always appears below the graph. I removed the position and size statements from TYPE=REPORT and it still stays that way. If I change it to .GIF, it appears correctly with the legend to the right on both graphs. Has anyone else come across this problem? Does anyone know how I can fix it?
Here are the graph commands I am using setFontSize(getLegendText(),16); setFillMissingData(0); setLegendMarkerPosition(3); setTextJustHoriz(getLegendText(),0); setRect(getFrame(),new Rectangle(-12000,-8000,21000,18000)); setLegendTextAutofit(true); setAutofit(getLegendText(),true); setFontSizeVC(getLegendText(),1100); setLegendOrient(0); setRect(getLegendArea(),new Rectangle(-15500,-15500,21000,4000)); setLegendMarkerPosition(0); setFontSizeAbsolute(getLegendText(),true); setLegendTextAutofit(true); setLegendAutomatic(true);
Note: If I don't have setRect(getLegendArea(),new Rectangle(-15500,-15500,21000,4000)); the legend appears below the graph. I've tried changing the values to move the legend more to the left (closer to the graph) and it does not seem to respond.
This is going back a couple of years for me, but I think you have to tell it that you want your legend changes to be applied, therefore you have to issue:
setLegendAutomatic(false);
Otherwise, positional changes are ignored. Or at least that's what I've observed.