SET PIE CHART ANNOTATION FLAGS
CALL SEQUENCE
void tset_piech_annot_flag (strid, intext, flgtxt, flgval, flgper, alignt)
INPUT PARAMETERS
Pint strid;
Tpie_annot_flag intext;
Tvisibility_flag flgtxt;
Tvisibility_flag flgval;
Tvisibility_flag flgper;
Tpie_annot_alignment alignt;
ARGUMENTS
- strid
- Identifier of the structure of the pie chart with the following attributes
:
- intext
- Attributes for interior or exterior annotation:
- TANNOT_INTERNAL
- Interior annotation.
- TANNOT_EXTERNAL
- Exterior annotation.
- flgtxt
- Visibility status of slice text:
- TVISIBILITY_OFF
- The text is invisible.
- TVISIBILITY_ON
- The text is visible.
- flgval
- Visibility status of slice values:
- TVISIBILITY_OFF
- The values are invisible.
- TVISIBILITY_ON
- The values are visible.
- flgper
- Visibility status of slice percentages :
- TVISIBILITY_OFF
- The percentages are invisible.
- TVISIBILITY_ON
- The percentages are visible.
- alignt
- Type of alignment.
- TANNOT_ALIGN_LEFT
- On the left.
- TANNOT_ALIGN_CENTER
- Centered.
- TANNOT_ALIGN_RIGHT
- On the right.
- TANNOT_ALIGN_INWARDS
- Toward the interior of the pie chart.
- TANNOT_ALIGN_OUTWARDS
- Toward the exterior of the pie chart.
EFFECT
This function sets the annotation flags for the structure strid. It
defines the presence or absence of text, values and percentages for the
interior and exterior pie chart annotation.
If two types of annotation are present on the exterior of the pie chart (text
and value, text and percentage, or value and percentage) or if three types of
annotation are present, the parameter alignt can be used to specify
how the annotation boxes are aligned. This parameter is used to specify the
alignment of interior annotation if intext equals
TANNOT_INTERNAL.
If tset_piech_annot_flag is not called, the interior annotation only
includes the values (flgval=TVISIBILITY_ON) and the exterior
annotation only includes the text (flgtxt=TVISIBILITY_ON).
Examples of alignment in an annotation box where flgtxt,
flgval and flgper are all set to TVISIBILITY_ON.


