Doug,
The graphic in
"Webfocus online help -> Creating Graphs With Advanced Graph Assistant ->
Creating Multiple Graphs With Advanced Merge ->
Procedure: How to Create a Merged Graph " is closed to what I need. But further more, the X lable should sorted by code number, but display X label with name.
Here is my code: *******
JOIN
GGSALES.SALES01.STCD IN GGSALES TO UNIQUE GGSTORES.STORES01.STORE_CODE
IN GGSTORES TAG J0 AS J0
END
TABLE FILE GGSALES
SUM
'GGSALES.SALES01.DOLLARS'
BY 'GGSALES.SALES01.STCD'
BY 'J0.STORES01.STORE_NAME'
BY 'GGSALES.SALES01.CATEGORY'
ON TABLE HOLD AS SALEHOLD
END
GRAPH FILE SALEHOLD
-* Created by Advanced Graph Assistant
SUM SALEHOLD.SALEHOLD.DOLLARS
BY SALEHOLD.SALEHOLD.CATEGORY
ACROSS SALEHOLD.SALEHOLD.STCD
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET HAXIS 770
ON GRAPH SET VAXIS 405
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 1
ON GRAPH SET GRXAXIS 1
ON GRAPH SET GRAPHSTYLE *
setTemplateFile("/images/tdg/template/IBISouthWestern.txt");
setReportParsingErrors(false);
setSelectionEnableMove(false);
setDepthRadius(5);
setTransparentBorderColor(getChartBackground(),true);
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);
setPlace(true);
ENDSTYLE
END
WebFOCUS 8.2.01 AppStudio
HTML, PDF, Excel