Focal Point
[CLOSED] Multiple sort fields in stacked bar graph

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/6737007076

May 15, 2014, 07:16 AM
csmathan
[CLOSED] Multiple sort fields in stacked bar graph
Hi,

Is it possible to give 4 sort fields (2 fields as noprint) in stacked vertical bar graph?

Example:-

GRAPH FILE CAR
SUM SALES
BY COUNTRY NOPRINT
BY BODYTYPE AS 'Bodytype'
ACROSS CAR NOPRINT
ACROSS MODEL AS 'Model;
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET HAXIS 770
ON GRAPH SET VAXIS 405
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VBRSTK1
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 2
ON GRAPH SET GRAPHSTYLE *
setTemplateFile("/images/tdg/template/IBISouthWestern.txt");
setReportParsingErrors(false);
setSelectionEnableMove(false);
setTransparentBorderColor(getSeries(0),true);
setTransparentBorderColor(getSeries(1),true);
setTransparentBorderColor(getSeries(2),true);
setTransparentBorderColor(getSeries(3),true);
setTransparentBorderColor(getSeries(4),true);
setTransparentBorderColor(getSeries(5),true);
setTransparentBorderColor(getSeries(6),true);
setTransparentBorderColor(getSeries(7),true);
setTransparentBorderColor(getSeries(8),true);
setTransparentBorderColor(getSeries(9),true);
setTransparentBorderColor(getSeries(10),true);
setTransparentBorderColor(getChartBackground(),true);
setPlace(true);
setDepthRadius(0);
setDepthAngle(0);
ENDSTYLE
END

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 7.x
Windows, All Outputs
May 15, 2014, 08:24 AM
MartinY
ON GRAPH SET GRXAXIS 4

Need to match the number of BY/ACROSS


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
May 20, 2014, 04:43 AM
csmathan
Thanks Martin..

the given "noprint" are not working in graph as like report.I used Country and Car as noprint. It's working good in report but not in Graph(Stacked Bar Graph)

This message has been edited. Last edited by: csmathan,


WebFOCUS 7.x
Windows, All Outputs