Slice
Type class
Slice is an item of AmPieChart's chartData Array and holds all the information about the slice. When working with a pie chart, you do not create slices or change it's properties directly, instead you set array of data using dataProvider property. Consider properties of a Slice read-only - change values in chart's data provider if you need to.
Sources
This information about Slice is provided for reference only and is not available through exported packages and thus should not be imported or used on its own.
Inheritance
Slice does not extend any other symbol.
Slice is not extended by any other symbol.
Properties
alphaType
numberOpacity of a slice.
colorType
colorColor of a slice.
dataContextType
objectOriginal object from data provider.
descriptionType
stringSlice description.
Type
booleanSpecifies whether the slice is hidden
percentsType
numberPercent value of a slice.
pulledType
booleanSpecifies whether the slice is pulled or not.
titleType
stringSlice title
urlType
stringUrl of a slice
valueType
numberValue of a slice
visibleInLegendType
booleanspecifies whether this slice has a legend entry
Methods
Slice does not have any methods.
Events
Slice does not have any events.