Martin Yergeau Posted October 7, 2022 Share Posted October 7, 2022 I know that some chart have their "PDF" version but is it possible with the following bullet chart ?Is it possible to have a "PDF" version of it that I can include in a PDF compound document ?GRAPH FILE WF_RETAIL_LITESUM COGS_USBY TIME_DAYNAMEWHERE TIME_DAYNAME EQ 'SAT' OR 'SUN'ON GRAPH SET VAXIS 80ON GRAPH PCHOLD FORMAT JSCHARTON GRAPH SET LOOKGRAPH CUSTOMON GRAPH SET STYLE **GRAPH_JS"chartType": "bullet","yaxis": {"colorBands": [ {"start": 0, "stop": 10000, "color": "silver"}, {"start": 10000, "stop": 30000, "color": "lightgrey"}, {"start": 30000, "stop": 60000, "color": "whitesmoke"}]},"series": [ {"series": 0, "group": 0, "color": "steelblue"}, {"series": 0, "group": 1, "color": "red"} ]*ENDENDSTYLEEND Link to comment Share on other sites More sharing options...
David Beagan Posted October 9, 2022 Share Posted October 9, 2022 I wish the manual would be more clear about this. The following code seems to work. The settings for VAXIS and HAXIS are useful for sizing it on the page.GRAPH FILE WF_RETAIL_LITESUM COGS_USBY TIME_DAYNAMEWHERE TIME_DAYNAME EQ 'SAT' OR 'SUN'ON GRAPH SET UNITS PIXELSON GRAPH SET HAXIS 770ON GRAPH SET VAXIS 80ON GRAPH SET GRAPHENGINE JSCHARTON GRAPH SET LOOKGRAPH CUSTOMON GRAPH PCHOLD FORMAT PDFON GRAPH SET STYLE **GRAPH_JS"chartType": "bullet","yaxis": {"colorBands": [ {"start": 0, "stop": 10000, "color": "silver"}, {"start": 10000, "stop": 30000, "color": "lightgrey"}, {"start": 30000, "stop": 60000, "color": "whitesmoke"}]},"series": [ {"series": 0, "group": 0, "color": "steelblue"}, {"series": 0, "group": 1, "color": "red"} ]*ENDENDSTYLEEND Link to comment Share on other sites More sharing options...
Martin Yergeau Posted October 11, 2022 Author Share Posted October 11, 2022 Thanks David,Now is it possible to "remove" the page break on the region ?Below sample is giving 4 PDF pages and I would like to have all graph within one page as when on HTML.GRAPH FILE WF_RETAIL_LITESUM COGS_USBY BUSINESS_REGIONBY TIME_DAYNAMEWHERE TIME_DAYNAME EQ 'SAT' OR 'SUN';HEADING"<BUSINESS_REGION"ON GRAPH SET UNITS PIXELSON GRAPH SET HAXIS 700ON GRAPH SET VAXIS 50-*-* FOR PDF FMT-*ON GRAPH SET GRAPHENGINE JSCHART-*ON GRAPH SET LOOKGRAPH CUSTOM-*ON GRAPH PCHOLD FORMAT PDF-* FOR HTML FMTON GRAPH SET LOOKGRAPH CUSTOMON GRAPH PCHOLD FORMAT JSCHART-*-*ON GRAPH SET STYLE *TYPE=HEADING, SIZE=9, FONT=ARIAL, STYLE=BOLD,$*GRAPH_JS"chartType": "bullet","border": {"width": 0, "color": "white"},"series": [ {"series": 0, "group": 0, "color": "rgb(23,86,62)"}, {"series": 0, "group": 1, "color": "rgb(241,138,0)", "marker": {"size": 13, "position": "middle", "shape": "triangle"}}]*ENDENDSTYLEEND Link to comment Share on other sites More sharing options...
Martin Yergeau Posted October 28, 2022 Author Share Posted October 28, 2022 Just to give an update.Converting a bullet char (and several other types) into a PDF format WITHOUT having the page break is not something that is yet possible.A NFR is open regarding that. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now