01 |
<?xml version="1.0" encoding="UTF-8"?> |
02 |
< anychart > |
03 |
< settings > |
04 |
< animation enabled = "True" /> |
05 |
</ settings > |
06 |
< charts > |
07 |
< chart plot_type = "Doughnut" > |
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 = "5%" /> |
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 |
< interactivity allow_select = "false" use_hand_cursor = "false" /> |
32 |
</ pie_series > |
33 |
</ data_plot_settings > |
34 |
< data > |
35 |
< series name = "Series 1" type = "Pie" palette = "Default" > |
36 |
< point name = "Product A" y = "1222" /> |
37 |
< point name = "Product B" y = "2431" /> |
38 |
< point name = "Product C" y = "3624" /> |
39 |
< point name = "Product D" y = "5243" /> |
40 |
< point name = "Product E" y = "6813" /> |
41 |
< point name = "Product F" y = "5321" /> |
42 |
< point name = "Product G" y = "1567" /> |
43 |
< point name = "Product H" y = "3876" /> |
44 |
< point name = "Product I" y = "2187" /> |
45 |
</ series > |
46 |
</ data > |
47 |
< chart_settings > |
48 |
< title enabled = "true" padding = "15" > |
49 |
< text > <![CDATA[ 2D Doughnut Chart: Outside Labels with connectors ]]> </ text > |
50 |
</ title > |
51 |
</ chart_settings > |
52 |
</ chart > |
53 |
</ charts > |
54 |
</ anychart > |