PieChartInnerLabelTexts
PieChartInnerLabelTexts ( text1 ; text2 ; . . . ; text10000 )
Argument | Type | Range | Default | Note |
---|---|---|---|---|
text1 | styt | 0..1000 | "" | Max. 1000 chars. |
text2 | styt | 0..1000 | "" | Max. 1000 chars. |
... | styt | 0..1000 | "" | Max. 1000 chars. |
text10000 | styt | 0..1000 | "" | Max. 1000 chars. |
Examples
PieChartInnerLabelTexts("|||f1|%") /* Show percent values. */
PieChartInnerLabelTexts("|u|\n(|f1|%)") /* Show abs. & percent values. */
Description
As the default, labels are positioned outside the pie chart (appearanceConstants = label). By using the PieChartInnerLabelTexts(), PieChartInnerLabelStyle() , PieChartInnerLabelBackground() and PieChartInnerLabelBackgroundOptions() functions, it is also possible to place labels inside the chart. The setup and operation of the four functions is the same as for the "standard" LabelTexts() , LabelStyle() , LabelBackground() and LabelBackgroundOptions() functions.
| PIE_CHART_INNER_LABEL_TEXTS_01 |
1 | OpenDrawing(160;160) |
2 | ChartData(100 75 50 25) |
3 | |
4 | PieChartInnerLabelTexts("A";"B";"C";"D") |
5 | PieChartInnerLabelStyle(Arial;12;bold;white) |
6 | /* Set up styles. */ |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | ShadowStyle(all;2 2 3) |
13 |
| PIE_CHART_INNER_LABEL_TEXTS_02 |
1 | OpenDrawing(220;220) |
2 | |
3 | ChartData(100 75 50 25) |
4 | |
5 | PieChartInnerLabelTexts("|u|") /* Absolute values. */ |
6 | PieChartInnerLabelStyle(Arial;10;plain;#333) |
7 | PieChartInnerLabelBackground(#fffa;;0;white) |
8 | /* Set up styles. */ |
9 | |
10 | |
11 | |
12 | |
13 | BorderStyle(all;;1.5;white) |
14 | ShadowStyle(all;2 2 3) |
15 | LabelTexts(1;"|||f1|%") /* Relative values. */ |
16 | LabelStyle(1;Arial;10;plain;#333) |
17 | |
18 |
For further information, e.g. styled texts, hyphenation, please refer to Texts.