On my HTML i have a Ring pie chart with nothing in the middle of the ring. I have created a report that returns that value i want for that to show. I am using HTML editor and i inserted a report, linked to the report and the value shows and i even made the background of the report Transparent. Here's the deal... the border of the report on the HTML is still showing, even though i have turned all borders to "none".... any other way i can remove the chart border?
TABLE FILE WFX_SETTINGS_COMPARE SUM COMPUTE DIV_PCT/P12% = ( TOTAL_MISMATCHES / 308 ) * 100; AS '' WHERE WFX_SETTINGS_COMPARE.WFX_SETTINGS_COMPARE.DIV_DESCS EQ 'Central Division'; ON TABLE SET PAGE-NUM NOLEAD ON TABLE SET ASNAMES ON ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT HTML ON TABLE SET HTMLEMBEDIMG ON ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/enwarm.sty, $ TYPE=DATA, COLUMN=N1, BORDER-TOP=OFF, BORDER-BOTTOM=OFF, BORDER-LEFT=OFF, BORDER-RIGHT=OFF, FONT='TIMES NEW ROMAN', SIZE=26, COLOR='BLUE', BACKCOLOR='NONE', $ ENDSTYLE ENDThis message has been edited. Last edited by: FP Mod Chuck,
AS Version: 8201 Gen: 10202016 Windows, All Outputs
November 03, 2017, 04:26 AM
Tony A
If you use search a little more often, you will find gems like this, in which Porter shares something that I believe is what you are trying to achieve.
There are other posts about ring charts as well that you may find useful.
Remember that it is likely that someone has had a similar question to yours before. It is also likely that it was answered, so this makes performing a search prior to posting your question so important. It could save you time by being proactive instead of sitting back and waiting for a response!
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
November 03, 2017, 08:41 AM
BSBAL18
I did search, but not for ring chart because my question was in regards to a report element on the HTML page.
When i place a REPORT on my page, and remove all borders/etc, the image i posted shows a border still showing during run time. My question was , in regards to Reports on HTML page, what other settings would make that border appear/dissapear other than Style/Borders set to 'none' ?
AS Version: 8201 Gen: 10202016 Windows, All Outputs
November 03, 2017, 09:57 AM
MartinY
Why not use WF standard pie ring format instead of trying to put a report over a graph ? No need to care about borders
ENGINE INT CACHE SET ON
-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='405.0';
-DEFAULTH &WF_STYLE_WIDTH='770.0';
-DEFAULTH &WF_TITLE='WebFOCUS Report';
GRAPH FILE car
SUM COMPUTE PCT/D12.2=(RETAIL_COST - DEALER_COST) / SALES * 100; AS ''
BY CAR
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET UNITS &WF_STYLE_UNITS
ON GRAPH SET HAXIS &WF_STYLE_WIDTH
ON GRAPH SET VAXIS &WF_STYLE_HEIGHT
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 1
ON GRAPH SET GRXAXIS 0
ON GRAPH SET LOOKGRAPH PIERING
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
setPieFeelerTextDisplay(1);
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
setPieTilt(0);
setPieDepth(0);
setDepthRadius(0);
setDepthAngle(0);
*END
*GRAPH_JS
pieProperties: {
holeSize: '50%',
totalLabel: {visible: true, font: 'Bold 16pt Sans-Serif', color: 'blue', numberFormat: '#.#`%'}}
*END
ENDSTYLE
END
-RUN
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
November 03, 2017, 10:36 AM
Tulsi
i have tried your code for Car masterfile and i do not found any border on this report . The border you are seeing in html page is most probably coming from iframe of that report. got to the property of that frame and put BORDER-WIDTH 0px . if still not working then let me know i will sent u a css. This message has been edited. Last edited by: Tulsi,
webfcous 8202m windows 7
November 03, 2017, 04:15 PM
FP Mod Chuck
Hi Tulsi
Welcome to Focal Point and thanks for making your first post an answer to someone else's problem. That is the spirit!
Thank you for using Focal Point!
Chuck Wolff - Focal Point Moderator WebFOCUS 7x and 8x, Windows, Linux All output Formats