mx.charts.series.items

# LineSeriesSegment - AS3 Flex

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
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | constructor : 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
|  | start : uint The index into the items array of the first item in this segment. | LineSeriesSegment

Public Methods
Hide Inherited Public Methods
Show Inherited 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
|  | hasOwnProperty(name:String):Boolean Indicates whether an object has a specified property defined. | Object
|  | isPrototypeOf(theClass:Object):Boolean Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter. | Object
|  | propertyIsEnumerable(name:String):Boolean Indicates whether the specified property exists and is enumerable. | Object
|  | setPropertyIsEnumerable(name:String, isEnum:Boolean = true):void Sets the availability of a dynamic property for loop operations. | Object
|  | toLocaleString():String Returns the string representation of this object, formatted according to locale-specific conventions. | Object
|  | toString():String Returns the string representation of the specified object. | Object
|  | valueOf():Object 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` — A copy of this segment.

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00