Adobe® Flex® 4 Language Reference
Show Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
mx.charts.series.items 
LineSeriesSegment 
Packagemx.charts.series.items
Classpublic class LineSeriesSegment
InheritanceLineSeriesSegment Inheritance Object

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Represents the information required to render a segment in a LineSeries. The LineSeries class passes a LineSeriesSegment to its lineRenderer when rendering.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  element : LineSeries
The series or element that owns this segment.
LineSeriesSegment
  end : uint
The index into the items array of the last item in this segment, inclusive.
LineSeriesSegment
  index : uint
The index of this segment in the array of segments representing the line series.
LineSeriesSegment
  items : Array
The array of chartItems representing the full line series that owns this segment.
LineSeriesSegment
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
  start : uint
The index into the items array of the first item in this segment.
LineSeriesSegment
Public Methods
 MethodDefined By
  
LineSeriesSegment(element:LineSeries, index:uint, items:Array, start:uint, end:uint)
Constructor.
LineSeriesSegment
  
Returns a copy of this segment.
LineSeriesSegment
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail

element

property
public var element:LineSeries

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

The series or element that owns this segment.

end

property 
public var end:uint

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

The index into the items array of the last item in this segment, inclusive.

index

property 
public var index:uint

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

The index of this segment in the array of segments representing the line series.

items

property 
public var items:Array

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

The array of chartItems representing the full line series that owns this segment.

start

property 
public var start:uint

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

The index into the items array of the first item in this segment.

Constructor Detail

LineSeriesSegment

()Constructor
public function LineSeriesSegment(element:LineSeries, index:uint, items:Array, start:uint, end:uint)

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Constructor.

Parameters
element:LineSeries — The owning series.
 
index:uint — The index of the segment in the Array of segments representing the line series.
 
items:Array — The Array of LineSeriesItems representing the full line series.
 
start:uint — The index in the items Array of the first item in this segment.
 
end:uint — The index in the items Array of the last item in this segment, inclusive.
Method Detail

clone

()method
public function clone():LineSeriesSegment

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Returns a copy of this segment.

Returns
LineSeriesSegment