Hi
Currently you cannot set the Start and End Angles, but I have created a few script samples including two for pie-charts.
Drop me an email, and i can send them to you.
The script for a half-pie-chart created on "OnOnline"
' This sample script is supplied for illustration only and should
' be used only as a guide to script development by end users.
' No warranty as to its functionality or suitability is expressed or implied.
'
' By Niels Borg
' 2013 TV/MIDT-VEST
'Define variables
dim txtObj(2) as xpTextObject
dim cylObj(2) as xpCylinderObject
dim intValue(2) as integer
dim intTotal as integer
'Assign XPression objects to variables
self.GetObjectByName("Val1", txtObj(0))
self.GetObjectByName("Val2", txtObj(1))
self.GetObjectByName("Val3", txtObj(2))
self.GetObjectByName("Cylinder1", cylObj(0))
self.GetObjectByName("Cylinder2", cylObj(1))
self.GetObjectByName("Cylinder3", cylObj(2))
'Assign values from the text objects to variables
intValue(0) = strConv(txtObj(0).text, vbInteger)
intValue(1) = strConv(txtObj(1).text, vbInteger)
intValue(2) = strConv(txtObj(2).text, vbInteger)
'Calculate the total sum of the values
intTotal=intValue(0)+intValue(1)+intValue(2)
'Convert the values to degrees (a fraction of 180 degrees)
intValue(0)=(intValue(0)/intTotal)*180
intValue(1)=(intValue(1)/intTotal)*180
intValue(2)=(intValue(2)/intTotal)*180
'Set the start angle of the first cylinder to 0
cylObj(0).startAngle=0
'Set the end angle to the variable intValue(0)
cylObj(0).endAngle=intValue(0)
'Set start angle of the second cylinder to the end angle of the first cylinder
cylObj(1).startAngle=intValue(0)
'Set the end angle to the sum of variable intValue(0) and intValue(1)
cylObj(1).endAngle=intValue(0)+intValue(1)
'set the start angle of third cylinder to the end angle of the second cylinder
cylObj(2).startAngle=intValue(0)+intValue(1)
'Set the end angle to the sum of variable intValue(0), intValue(1) and intValue(2)
cylObj(2).endAngle=intValue(0)+intValue(1)+intValue(2)
#XPression