01 |
<?xml version="1.0" encoding="UTF-8"?> |
02 |
<anychart> |
03 |
<settings> |
04 |
<animation enabled="True" /> |
05 |
</settings> |
06 |
<charts> |
07 |
<chart plot_type="Pie"> |
08 |
<data_plot_settings enable_3d_mode="false"> |
09 |
<pie_series> |
10 |
<tooltip_settings enabled="true"> |
11 |
<format><![CDATA[{%Name} |
12 |
Sales: ${%Value} |
13 |
Percent: {%YPercentOfSeries}{numDecimals: 2}%]]></format> |
14 |
<background> |
15 |
<corners type="Rounded" all="3" /> |
16 |
</background> |
17 |
</tooltip_settings> |
18 |
<label_settings enabled="true" mode="Outside" multi_line_align="Center"> |
19 |
<background enabled="false" /> |
20 |
<position anchor="Center" valign="Center" halign="Center" padding="20" /> |
21 |
<format><![CDATA[{%Name} |
22 |
${%Value} ({%YPercentOfSeries}{numDecimals:1}%)]]></format> |
23 |
<font bold="False" /> |
24 |
<states> |
25 |
<hover> |
26 |
<font underline="true" /> |
27 |
</hover> |
28 |
</states> |
29 |
</label_settings> |
30 |
<connector color="Black" opacity="0.4" /> |
31 |
</pie_series> |
32 |
</data_plot_settings> |
33 |
<data> |
34 |
<series name="Series 1"> |
35 |
<point name="Product A" y="1222" /> |
36 |
<point name="Product B" y="2431" /> |
37 |
<point name="Product C" y="3624" /> |
38 |
<point name="Product D" y="5243" /> |
39 |
<point name="Product E" y="8813" /> |
40 |
</series> |
41 |
</data> |
42 |
<chart_settings> |
43 |
<title enabled="true" padding="15"> |
44 |
<text><![CDATA[2D Pie Chart: Outside Labels with connectors]]></text> |
45 |
</title> |
46 |
</chart_settings> |
47 |
</chart> |
48 |
</charts> |
49 |
</anychart> |