Apache Flex 4.16.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
LineSeriesSegment

Package | mx.charts.series.items
Class | public class LineSeriesSegment
Inheritance | LineSeriesSegment 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

| Property | Defined 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

| Method | Defined By
--- | --- | ---
|  | LineSeriesSegment(element:LineSeries, index:uint, items:Array, start:uint, end:uint) Constructor. | LineSeriesSegment
|  | clone():LineSeriesSegment Returns a copy of this segment. | LineSeriesSegment

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

Sun Mar 5 2017, 03:42 PM +11:00