[CLOSED] WebFOCUS 8 Bar Graph - Bar width & Series Label Questions
Hello
I have 2 questions with a bar graph using Info Assist in WebFOCUS 8. Below is the same code
ENGINE INT CACHE SET ON
-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='400.0';
-DEFAULTH &WF_STYLE_WIDTH='770.0';
GRAPH FILE CAR
-* Created by Info Assist for Graph
SUM CAR.BODY.SALES AS ''
BY CAR.ORIGIN.COUNTRY
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
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 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
TYPE=REPORT, TITLETEXT='WebFOCUS Report', $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
*END
ENDSTYLE
END
1. How can I reduce the width of bar in the graph? I tried using setRiserWidth but there was no change.
2. I do not want to have label for Y-Axis (Sales in this example). So I placed a blank as column title for SALES. But when this is done, when you hover on any bar on the graph, it shows "Series 0". How can this be avoided? If I enable column title by removing blank, then "Series 0" is replaced by Sales. I am trying to remove Series 0 or show Sales when hovering on a bar but avoiding the Y-axis label.
Please suggest..
Thank you..This message has been edited. Last edited by: FP Mod Chuck,
WF 8.2.01 APP STUDIO PDF,HTML,EXL2K,Active
September 15, 2013, 05:30 PM
WF1326
1: setRiserWidth does not work if your output format is JSCHART
2: Same here. It will not work since your file format is JSCHARTThis message has been edited. Last edited by: WF1326,
WebFOCUS 7703/7705/8105m/8201m/8202m
October 02, 2013, 12:10 AM
WF1326
Use the following code in the styling for the bar width