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.
By setting WINDOW-DISPLAY=TAB the chart goes to a tab instead of a window, which is what I want. But I don't see a way to change the chart size in the tab as you can in a window. Is there a way to default the chart size?
TABLE FILE CAR SUM DEALER_COST RETAIL_COST SALES BY COUNTRY BY CAR HEADING "Test Report" ON TABLE PCHOLD FORMAT AHTML ON TABLE SET STYLE * TYPE=REPORT, ARGRAPHENGINE=JSCHART, WINDOW-DISPLAY=TAB, $ ENDSTYLE END -RUN
Thanks DavidThis message has been edited. Last edited by: David M,
WebFOCUS 8.1.05M, 8.2.02M Windows, All Outputs
Posts: 34 | Location: Southern New Jersey | Registered: January 24, 2017
Thanks Doug, but that didn't work. It expanded the AHTML report not the chart.
If you run the code and choose the COUNTRY dropdown then Chart then Pie then COUNTRY, you will see that it produces a pie chart. I would just like to control the size of this chart as it is quite small.
I know that if I change WINDOW-DISPLAY=TAB to WINDOW-DISPLAY=CASCADE then I get a window that I can size. But I wanted to have the chart in a new tab instead of a window.
I may have to take Chuck's suggestion and open a case with tech support.
Thanks all
WebFOCUS 8.1.05M, 8.2.02M Windows, All Outputs
Posts: 34 | Location: Southern New Jersey | Registered: January 24, 2017
-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='100%';
-DEFAULTH &WF_STYLE_WIDTH='100%';
. . .
ON GRAPH SET AUTOFIT ON
ON GRAPH SET UNITS &WF_STYLE_UNITS
ON GRAPH SET HAXIS &WF_STYLE_WIDTH
ON GRAPH SET VAXIS &WF_STYLE_HEIGHT
Where the 100% can be numeric and not percents.
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
TABLE FILE CAR SUM DEALER_COST RETAIL_COST SALES BY COUNTRY BY CAR HEADING "Test Report" ON TABLE PCHOLD FORMAT AHTML ON GRAPH SET AUTOFIT ON ON GRAPH SET UNITS &WF_STYLE_UNITS ON GRAPH SET HAXIS &WF_STYLE_WIDTH ON GRAPH SET VAXIS &WF_STYLE_HEIGHT ON TABLE SET STYLE * TYPE=REPORT, ARGRAPHENGINE=JSCHART, WINDOW-DISPLAY=TAB, $ ENDSTYLE END -RUN
WebFOCUS 8.1.05M, 8.2.02M Windows, All Outputs
Posts: 34 | Location: Southern New Jersey | Registered: January 24, 2017
I'm not sure that'll work without all the pieces. How about opening the fex in the GUI and letting the GUI handle the auto-sizing?
Hint: Please use the < / > brackets in the above toolbar to enclose your code (It makes it easier to read). Your code would look like this:
-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='900';
-DEFAULTH &WF_STYLE_WIDTH='900';
TABLE FILE CAR
SUM DEALER_COST
RETAIL_COST
SALES
BY COUNTRY
BY CAR
HEADING
"Test Report"
ON TABLE PCHOLD FORMAT AHTML
ON GRAPH SET AUTOFIT ON
ON GRAPH SET UNITS &WF_STYLE_UNITS
ON GRAPH SET HAXIS &WF_STYLE_WIDTH
ON GRAPH SET VAXIS &WF_STYLE_HEIGHT
ON TABLE SET STYLE *
TYPE=REPORT,
ARGRAPHENGINE=JSCHART,
WINDOW-DISPLAY=TAB,
$
ENDSTYLE
END
-RUN
Thanks....
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005