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
  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
  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
Property Detail
elementproperty
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.

endproperty 
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.

indexproperty 
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.

itemsproperty 
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.

startproperty 
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 — A copy of this segment.