(Preview)
Package | mx.charts.chartClasses |
Class | public class LegendData |
Inheritance | LegendData Object |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
legendData
property contains an Array
of LegendData objects, one for each item in the Legend.
More examples
Public Properties
Property | Defined By | ||
---|---|---|---|
aspectRatio : Number
Determines
the size and placement of the legend marker. | LegendData | ||
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
element : IChartElement
The chart item that generated this legend item. | LegendData | ||
label : String
The text identifying the series or item displayed in the legend item. | LegendData | ||
marker : IFlexDisplayObject
A visual indicator associating the legend item
with the series or item being represented. | LegendData |
Public Methods
Method | Defined By | ||
---|---|---|---|
Constructor. | LegendData | ||
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
Property Detail
aspectRatio | property |
public var aspectRatio:Number
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Determines
the size and placement of the legend marker.
If set, the LegendItem ensures that the marker's
width and height match this value.
If unset (NaN
), the legend item chooses an appropriate
default width and height.
element | property |
public var element:IChartElement
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The chart item that generated this legend item.
label | property |
public var label:String
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The text identifying the series or item displayed in the legend item.
marker | property |
public var marker:IFlexDisplayObject
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
A visual indicator associating the legend item with the series or item being represented. This DisplayObject is added as a child to the LegendItem.
Constructor Detail
LegendData | () | Constructor |
public function LegendData()
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Constructor.
Wed Nov 21 2018, 06:34 AM -08:00