Hi,
I would like to have a bar chart that sums
one field (y axis) but for 2 fields in the x axis.
For example:
GRAPH FILE MAN_RES
HEADING
" TEST "
SUM TOTAL_EMPLOYEE
BY DEPARTMENT_CODE
BY YYEAR
WHERE (YYEAR IN (2003,2002))
AND DEPARTMENT_CODE IN (19,20,21,22)
ON GRAPH SET GRAPHSTYLE *
setLegendDisplay(true);
setLegendMarkerPosition(0);
setMarkerDisplay(true);
setConnectLineMarkers(false);
setConnectScatterMarkers(false);
setO1LabelDisplay(true);
setO1AxisSide(0);
setO1MajorGridDisplay(true);
setO1MajorGridStyle(0);
setO1MinorGridDisplay(false);
setY1LabelDisplay(true);
setY1AxisSide(0);
setTextFormatPreset(getY1Label(),1);
setY1MajorGridDisplay(true);
setY1MajorGridStyle(0);
setY1MinorGridDisplay(false);
setPieFeelerTextDisplay(1);
setTextFormatPreset(getPieSliceLabel(),1);
setPieLabelDisplay(0);
ENDSTYLE
ON GRAPH SET STYLE *
ENDSTYLE
END
The result is 4 charts with YYEAR field on Y axis (both 2002 and 2003),
and Total Employee field on X axis.
(a chart for each Department).
How can I display the same result in one chart?
(I'm using WF 5.1 and MS SQL 2000).
Any help is appreciated.
Regards,
OZ
I would like to have a bar chart that sums
one field (y axis) but for 2 fields in the x axis.
For example:
GRAPH FILE MAN_RES
HEADING
" TEST "
SUM TOTAL_EMPLOYEE
BY DEPARTMENT_CODE
BY YYEAR
WHERE (YYEAR IN (2003,2002))
AND DEPARTMENT_CODE IN (19,20,21,22)
ON GRAPH SET GRAPHSTYLE *
setLegendDisplay(true);
setLegendMarkerPosition(0);
setMarkerDisplay(true);
setConnectLineMarkers(false);
setConnectScatterMarkers(false);
setO1LabelDisplay(true);
setO1AxisSide(0);
setO1MajorGridDisplay(true);
setO1MajorGridStyle(0);
setO1MinorGridDisplay(false);
setY1LabelDisplay(true);
setY1AxisSide(0);
setTextFormatPreset(getY1Label(),1);
setY1MajorGridDisplay(true);
setY1MajorGridStyle(0);
setY1MinorGridDisplay(false);
setPieFeelerTextDisplay(1);
setTextFormatPreset(getPieSliceLabel(),1);
setPieLabelDisplay(0);
ENDSTYLE
ON GRAPH SET STYLE *
ENDSTYLE
END
The result is 4 charts with YYEAR field on Y axis (both 2002 and 2003),
and Total Employee field on X axis.
(a chart for each Department).
How can I display the same result in one chart?
(I'm using WF 5.1 and MS SQL 2000).
Any help is appreciated.
Regards,
OZ