I have a pie chart and I'm displaying the text and % on a feeler line.
When the % is displayed it has ( ) around it. This denotes a negative value for us.
Does anyone know how to get rid of the ( )
We are running WF 7.1.3
Here is some car code.
Thanks,
Lenny
DEFINE FILE CAR
BTYPE/A20 = IF BODYTYPE = 'CONVERTIBLE' THEN '2 DOOR CONVERTIBLE'
ELSE IF BODYTYPE = 'COUPE' THEN 'LOW SLUNG COUPE'
ELSE IF BODYTYPE = 'HARDTOP' THEN 'BROKEN DOWN HARDTOP'
ELSE BODYTYPE;
BVAL/D6.1 = IF BODYTYPE = 'CONVERTIBLE' THEN 3
ELSE IF BODYTYPE = 'COUPE' THEN 5
ELSE IF BODYTYPE = 'HARDTOP' THEN 10
ELSE 3.9;
END
GRAPH FILE CAR
SUM BVAL
ACROSS BTYPE
ON GRAPH SET LOOKGRAPH PIE
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET VAXIS 480
ON GRAPH SET HAXIS 640
ON GRAPH SET GRAPHSTYLE *
-* The line below controls display of data values for the slices
-* Valid arguments are: 0=No Labels
-* 1=Feeler lines and text
-* 2=Labels only (no feeler lines)
-* 3=Labels on slices
setPieFeelerTextDisplay(1);
-* The line below controls how the slice values are displayed
-* 2=Integer Percent, 3=Percent in Tenths, 4=Percent in Hundredths
-* For a complete list, see the documentation
-*setTextFormatPreset(getPieSliceLabel(),1);
-*setTextFormatPreset(getPieSliceLabel(),6);
setPieFeelerTextFormat(2);
-* The line below sets the kind of information displayed for each slice
-* Valid arguments are: 0=Absolute true value of slice
-* 1=Percent value of slice
-* 2=Series (Y Axis field name) label
-* 3=Series label and percent value
setPieLabelDisplay(3);
-*setLegendAutomatic(true);
setLegendDisplay(false);
setPlace(false);
ENDSTYLE
ON GRAPH SET BARNUMB OFF
ON GRAPH SET 3D OFF
ON GRAPH SET VZERO ON
ON GRAPH SET GRID ON
END
(Production: WebFOCUS 7.1.3 on Win 2K/IIS 6/CGI)
(Test: WebFOCUS 7.1.3 on Win 2K/IIS 6/CGI)