Packagecom.amcharts.pie
Classpublic class Slice

Slice is data item of a Pie chart.



Public Properties
 PropertyDefined by
  alpha : Number
Opacity of a slice.
Slice
  color : Number
Color of a slice.
Slice
  dataContext : Object
original object from data provider
Slice
  description : String
Slice description
Slice
  hidden : Boolean
specifies whether the slice is hidden
Slice
  legendAlpha : Number
legend marker opacity
Slice
  legendColor : Number
legend marker color
Slice
  legendKeyColor : Number
[read-only]
Slice
  markerType : String
marker type in the legend
Slice
  percents : Number
percent value of a slice
Slice
  pulled : Boolean
specifies whether the slice is pulled or not
Slice
  title : String
Slice title
Slice
  url : String
url of a slice
Slice
  value : Number
value of a slice
Slice
  visibleInLegend : Boolean = true
specifies whether this slice has a legend entry
Slice
Property detail
alphaproperty
alpha:Number  [read-write]

Opacity of a slice.

Implementation
    public function get alpha():Number
    public function set alpha(value:Number):void
colorproperty 
color:Number  [read-write]

Color of a slice.

Implementation
    public function get color():Number
    public function set color(value:Number):void
dataContextproperty 
public var dataContext:Object

original object from data provider

descriptionproperty 
public var description:String

Slice description

hiddenproperty 
public var hidden:Boolean

specifies whether the slice is hidden

legendAlphaproperty 
public var legendAlpha:Number

legend marker opacity

legendColorproperty 
public var legendColor:Number

legend marker color

legendKeyColorproperty 
legendKeyColor:Number  [read-only]Implementation
    public function get legendKeyColor():Number
markerTypeproperty 
public var markerType:String

marker type in the legend

percentsproperty 
public var percents:Number

percent value of a slice

pulledproperty 
public var pulled:Boolean

specifies whether the slice is pulled or not

titleproperty 
public var title:String

Slice title

urlproperty 
public var url:String

url of a slice

valueproperty 
public var value:Number

value of a slice

visibleInLegendproperty 
public var visibleInLegend:Boolean = true

specifies whether this slice has a legend entry