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[ |
12 |
{%Name} |
13 |
Sales: ${%Value} |
14 |
Percent: {%YPercentOfSeries}{numDecimals: 2}% |
15 |
]]></format> |
16 |
</tooltip_settings> |
17 |
<label_settings enabled="true"> |
18 |
<background enabled="false" /> |
19 |
<position anchor="Center" valign="Center" halign="Center" padding="20" /> |
20 |
<font color="White"> |
21 |
<effects> |
22 |
<drop_shadow enabled="true" distance="2" opacity="0.5" blur_x="2" blur_y="2" /> |
23 |
</effects> |
24 |
</font> |
25 |
<format><![CDATA[{%YPercentOfSeries}{numDecimals:1}%]]></format> |
26 |
</label_settings> |
27 |
</pie_series> |
28 |
</data_plot_settings> |
29 |
<data> |
30 |
<series name="Series 1" type="Pie"> |
31 |
<point name="Product A" y="1222" /> |
32 |
<point name="Product B" y="2431" /> |
33 |
<point name="Product C" y="3624" /> |
34 |
<point name="Product D" y="5243" /> |
35 |
<point name="Product E" y="8813" /> |
36 |
</series> |
37 |
</data> |
38 |
<chart_settings> |
39 |
<title enabled="true" padding="15"> |
40 |
<text><![CDATA[2D Pie Chart]]></text> |
41 |
</title> |
42 |
<legend enabled="true" position="Bottom" align="Spread" ignore_auto_item="true" padding="15"> |
43 |
<format><![CDATA[{%Icon} {%Name} (${%YValue})]]></format> |
44 |
<template /> |
45 |
<title enabled="true"> |
46 |
<text><![CDATA[Products Sales]]></text> |
47 |
</title> |
48 |
<columns_separator enabled="false" /> |
49 |
<background> |
50 |
<inside_margin left="10" right="10" /> |
51 |
</background> |
52 |
<items> |
53 |
<item source="Points" /> |
54 |
</items> |
55 |
</legend> |
56 |
</chart_settings> |
57 |
</chart> |
58 |
</charts> |
59 |
</anychart> |