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.
We are using xaxis: { groupFit: {rule: string', value: value } } to shrink the bar graph, but it aligns incorrectly to the left side.
How do we align the below graph to the center of the border.
GRAPH FILE GGSALES
SUM DOLLARS BUDDOLLARS UNITS BUDUNITS
BY PRODUCT
WHERE CATEGORY EQ 'Gifts'
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET STYLE *
-*TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $
TYPE=REPORT, JUSTIFY=CENTER,COLUMN=PRODUCT,GRID=ON, BORDER=HEAVY, $
TYPE=DATA,JUSTIFY=CENTER ,COLUMN=PRODUCT, $
TYPE=TITLE,JUSTIFY=CENTER, $
TYPE=HEADING, JUSTIFY=CENTER, FONT='ARIAL', SIZE=10, COLOR=RGB(100 100 100), STYLE=BOLD, $
TYPE=HEADING, LINE=1, ITEM=1, OBJECT=TEXT, FONT='Trebuchet MS', SIZE=12, COLOR=RGB(66 70 73), STYLE=BOLD, $
TYPE=FOOTING, JUSTIFY=CENTER,FONT='ARIAL', SIZE=9, STYLE=BOLD, COLOR=RGB(100 100 100), $
*GRAPH_JS
xaxis:{ groupFit: {rule: 'exactSize', value: 100}}
*END
ENDSTYLE
END
Alternatively, how do we align the entire graph under header
GRAPH FILE GGSALES
SUM DOLLARS BUDDOLLARS UNITS BUDUNITS
BY PRODUCT
WHERE CATEGORY EQ 'Gifts'
HEADING
"Title"
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET VZERO OFF
ON GRAPH SET HAXIS 400
ON GRAPH SET VAXIS 600
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET STYLE *
TYPE=REPORT, JUSTIFY=CENTER,COLUMN=PRODUCT,GRID=ON, BORDER=HEAVY, $
TYPE=DATA,JUSTIFY=CENTER ,COLUMN=PRODUCT, $
TYPE=TITLE,JUSTIFY=CENTER, $
TYPE=HEADING, JUSTIFY=CENTER, FONT='ARIAL', SIZE=10, COLOR=RGB(100 100 100), STYLE=BOLD, $
TYPE=HEADING, LINE=1, ITEM=1, OBJECT=TEXT, FONT='Trebuchet MS', SIZE=12, COLOR=RGB(66 70 73), STYLE=BOLD, $
TYPE=FOOTING, JUSTIFY=CENTER,FONT='ARIAL', SIZE=9, STYLE=BOLD, COLOR=RGB(100 100 100), $
ENDSTYLE
END
This message has been edited. Last edited by: FP Mod Chuck,
EMBEDHEADING ON doesn't help me as it aligns the entire graph to left with the title. I would like the graph to align to the center or to a set position. I am looking for a HTML function similar to leftgap for PDF output.
HTMLFORM approach was my last option. I was just wondering if there was a way around it, but looks like its the way to go.
I tried HTMLTABLE and found that the presentation is very different than JSCHART also i can't use JSchart scripts anymore. How do I retain the JSchart styling.
Regards, KRThis message has been edited. Last edited by: rkiran1,