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.
How do you print a chart that is developed using the JSCHART format into a PDF document? Without making many changes to the existing JSCHART code.
Here is an example of a pie chart. Can this be saved as a .gif (or something other) that can then be imbedded into a PDF document?
GRAPH FILE CAR
SUM DEALER_COST AS 'Dealer Cost'
BY HIGHEST TOTAL DEALER_COST NOPRINT
BY COUNTRY AS 'Country'
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET LOOKGRAPH PIE
ON GRAPH SET STYLE *
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/ibi_themes/Warm.sty,$
TYPE=DATA, COLUMN=N1, BUCKET=color, $
TYPE=DATA, COLUMN=N2, BUCKET=color, $
TYPE=DATA, COLUMN=N3, BUCKET=measure, $
*GRAPH_SCRIPT
setPieFeelerTextDisplay(1);
setPieLabelDisplay(6);
*END
*GRAPH_JS_FINAL
"legend": {
"position": 'bottom',
"title": {visible: false}
},
"pieProperties": {
"label": {visible: false},
"totalLabel": { visible: true},
"holeSize": "50%",
}
*END
ENDSTYLE
END
This message has been edited. Last edited by: FP Mod Chuck,
WebFocus 8.201M, Windows, App Studio
Posts: 227 | Location: Lincoln Nebraska | Registered: August 12, 2008
In current webfocus version , pdf compound document dnt support jschars. however you can achieve almost same chart in pdf format in InfoAssist+ . Use this chart codes in your pdf compound, i hope it will work.
GRAPH FILE car -* Created by Info Assist for Graph SUM CAR.SPECS.BHP BY CAR.ORIGIN.COUNTRY ON GRAPH PCHOLD FORMAT PDF ON GRAPH SET VZERO OFF ON GRAPH SET GRWIDTH 1 ON GRAPH SET HAXIS 5.0 ON GRAPH SET VAXIS 3.5 ON GRAPH SET UNITS INCHES ON GRAPH SET GRMERGE ADVANCED ON GRAPH SET GRMULTIGRAPH 0 ON GRAPH SET GRLEGEND 1 ON GRAPH SET GRXAXIS 0 ON GRAPH SET LOOKGRAPH PIEMULTR ON GRAPH SET STYLE * *GRAPH_SCRIPT