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.
WF 8.2.01 APP STUDIO
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,
Use the following code in the styling for the bar width
Note: The barGroupGapWidth:0.2 by default and can range from 0.0 to 1.0
|Powered by Social Strata|