* DECLARATION
num_e(15,4) Arr(4)
alpha(250) ArrLegends(4)
bool ArrSlices(4)
* INITIALIZATION
Arr(1)=10
Arr(2)=30
Arr(3)=15
Arr(4)=20
ArrLegends(1)='Value 1'
ArrLegends(2)='Value 2'
ArrLegends(3)='Value 3'
ArrLegends(4)='Value 4'
pie:title='Hardis'
call_method pie draw_data 4 Arr ArrLegends
ArrSlices(1)=*false
ArrSlices(2)=*false
ArrSlices(3)=*true
ArrSlices(4)=*false
call_method pie detach_slices ArrSlices