[CLOSED]how to merge 2 y axis values to get a single piechart instead of 2 pie charts
Hi ,
I am trying to explain my problem through the car example
Here is the car pie chart code:
GRAPH FILE CAR SUM RPCT.SALES SALES ACROSS COUNTRY ON GRAPH SET LOOKGRAPH PIEMULTI ON GRAPH SET GRAPHEDIT SERVER ON GRAPH SET BARNUMB OFF ON GRAPH SET 3D OFF ON GRAPH SET VZERO ON ON GRAPH SET GRID ON ON GRAPH SET VAXIS 300 ON GRAPH SET HAXIS 300 ON GRAPH PCHOLD FORMAT PNG ON GRAPH SET GRMERGE ON ON GRAPH SET GRAPHSTYLE * setMarkerDisplay(true); setConnectLineMarkers(false); setConnectScatterMarkers(false); setO1LabelDisplay(true); setO1AxisSide(0); setO1MajorGridDisplay(true); setO1MajorGridStyle(0); setO1MinorGridDisplay(false); setAxisAssignment(0,0); setAxisAssignment(1,0); setY1LabelDisplay(true); setY1AxisSide(0); setY1MajorGridDisplay(true); setY1MajorGridStyle(0); setY1MinorGridDisplay(false); setTextFormatPreset(getY1Label(),-1); setTextFormatPattern(getY1Label(),"#.##"); setPieFeelerTextDisplay(1); setPieLabelDisplay(0); setReverseGroups(true); setTextFormatPreset(getPieSliceLabel(),1); setRiserBorderMode(1); setSeriesDefaultTransparentBorderColor(true); setUseSeriesBorderDefaults(true); setLegendDisplay(true); setFontSizeAbsolute(getY1Title(),true); setFontSizeAbsolute(getY1Label(),true); setFontSizeAbsolute(getY2Title(),true); setFontSizeAbsolute(getY2Label(),true); setFontSizeAbsolute(getO1Title(),true); setPlace(true); ENDSTYLE ON GRAPH SET STYLE * SQUEEZE=ON, ORIENTATION=PORTRAIT, $ TYPE=REPORT, GRID=OFF, FONT='TIMES NEW ROMAN', SIZE=10, $ ENDSTYLE END
This pie chart will give me 2 pie charts one with SALES and other with RPCT.SALES with Country as Legend.How can I merge the 2 pie charts to get one single pie chart which shows SALES and RPCT.SALES in piechart and the legend is country.
Appreciate all your help with this.This has become a roadbloack for my project delivery tomorrow and all your help is highly appreciated.
Have a wonderful day! PujaThis message has been edited. Last edited by: Kerry,
WebFOCUS 7.6.8 Linux AHTML
August 12, 2009, 10:37 AM
GinnyJakes
Puja, that actually doesn't make any sense. A pie charge by definition shows you a visual ratio of sales vs. the whole. If you look at the two graphs, you will see that the pie slices are the same size.
You might want to look at customizing the pie feeler text with both the sales and percent by country. Check out the graphics manual for information on doing this.