Packagecom.yahoo.astra.fl.charts
Classpublic class LineChart
InheritanceLineChart Inheritance CartesianChart Inheritance Chart Inheritance fl.core.UIComponent

A chart that displays its data points with connected line segments.



Public Properties
 PropertyDefined by
 InheritedcategoryNames : Array
The names of the categories displayed on the category axis.
CartesianChart
 InheritedcontentBounds : Rectangle
The rectangular bounds where the cartesian chart's data is drawn.
CartesianChart
 InheriteddataProvider : Object
Chart
 InheriteddataTipFunction : Function
If defined, the chart will call the input function to determine the text displayed in the chart's data tip.
Chart
 InheriteddefaultSeriesType : Object
When raw data (like an Array of Numbers) is encountered where an ISeries instance is expected, it will be converted to this default type.
Chart
 InheritedhorizontalAxis : IAxis
The axis representing the horizontal range.
CartesianChart
 InheritedhorizontalAxisTitle : String
The title text displayed on the horizontal axis.
CartesianChart
 InheritedhorizontalField : String
If the items displayed on the chart are complex objects, the horizontalField string defines the property to access when determining the x value.
CartesianChart
 Inheritedlegend : ILegend
The component that will display a human-readable legend for the chart.
Chart
 InheritedoverflowEnabled : Boolean
If false, which is the default, the axes will be resized to fit within the defined bounds of the plot area.
CartesianChart
 InheritedverticalAxis : IAxis
The axis representing the vertical range.
CartesianChart
 InheritedverticalAxisTitle : String
The title text displayed on the horizontal axis.
CartesianChart
 InheritedverticalField : String
If the items displayed on the chart are complex objects, the verticalField string defines the property to access when determining the y value.
CartesianChart
Public Methods
 MethodDefined by
  
Constructor.
LineChart
  
[static]
LineChart
 Inherited
indexToSeries(index:int):ISeries
Returns the ISeries object at the specified index.
Chart
 Inherited
itemToPosition(series:ISeries, itemIndex:int):Point
Calculates the position of a data point along the axis.
CartesianChart
 Inherited
seriesToIndex(series:ISeries):int
Returns the index within this plot area of the input ISeries object.
Chart
 Inherited
setHorizontalAxisGridLinesStyle(name:String, value:Object):void
Sets a style on the horizontal axis grid lines.
CartesianChart
 Inherited
setHorizontalAxisStyle(name:String, value:Object):void
Sets a style on the horizontal axis.
CartesianChart
 Inherited
setVerticalAxisGridLinesStyle(name:String, value:Object):void
Sets a style on the vertical axis grid lines.
CartesianChart
 Inherited
setVerticalAxisStyle(name:String, value:Object):void
Sets a style on the vertical axis.
CartesianChart
Protected Methods
 MethodDefined by
 Inherited
Analyzes the input data and smartly converts it to the correct ISeries type required for drawing.
Chart
Styles
 StyleDescriptionDefined by
 Inherited Type: Boolean
Determines if data changes should be displayed with animation.
Chart
 Inherited Type: Class
Name of the class to use as the skin for the background and border of the component.
Chart
 Inherited Type: Number
The padding that separates the border of the component from its contents, in pixels.
Chart
 Inherited Type: Class
Name of the class to use as the skin for the background and border of the chart's data tip.
Chart
 Inherited Type: Number
If the datatip's content padding is customizable, it will use this value.
Chart
 Inherited Type: TextFormat
The TextFormat object to use to render data tips.
Chart
 Inherited Type: Boolean
Indicates whether embedded font outlines are used to render the text field.
Chart
 Inherited Type: uint
The line color for the horizontal axis.
CartesianChart
 Inherited Type: Array
An Array of alpha values (in the range of 0 to 1) that is used to draw alternating fills between the horizontal axis' grid lines.
CartesianChart
 Inherited Type: Array
An Array of uint color values that is used to draw alternating fills between the horizontal axis' grid lines.
CartesianChart
 Inherited Type: uint
The line color for the grid lines on the horizontal axis.
CartesianChart
 Inherited Type: Class
The class used to instantiate the horizontal axis grid lines.
CartesianChart
 Inherited Type: Object
An object containing style values to be passed to the horizontal axis grid lines renderer.
CartesianChart
 Inherited Type: int
The line weight, in pixels, for the grid lines on the horizontal axis.
CartesianChart
 Inherited Type: Boolean
If true, labels that overlap previously drawn labels on the axis will be hidden.
CartesianChart
 Inherited Type: Number
The distance, in pixels, between a label and the horizontal axis.
CartesianChart
 Inherited Type: Number
The angle, in degrees, of the labels on the horizontal axis.
CartesianChart
 Inherited Type: uint
The line color for the minor grid lines on the horizontal axis.
CartesianChart
 Inherited Type: int
The line weight, in pixels, for the minor grid lines on the horizontal axis.
CartesianChart
 Inherited Type: uint
The line color for the minor ticks on the horizontal axis.
CartesianChart
 Inherited Type: Number
The length of the minor ticks on the horizontal axis.
CartesianChart
 Inherited Type: String
The position of the minor ticks on the horizontal axis.
CartesianChart
 Inherited Type: int
The line weight, in pixels, for the minor ticks on the horizontal axis.
CartesianChart
 Inherited Type: Class
The class used to instantiate the visual representation of the horizontal axis.
CartesianChart
 Inherited Type: Object
An object containing style values to be passed to the horizontal axis renderer.
CartesianChart
 Inherited Type: TextFormat
Defines the TextFormat used by labels on the horizontal axis.
CartesianChart
 Inherited Type: uint
The line color for the ticks on the horizontal axis.
CartesianChart
 Inherited Type: Number
The length, in pixels, of the ticks on the horizontal axis.
CartesianChart
 Inherited Type: String
The position of the ticks on the horizontal axis.
CartesianChart
 Inherited Type: int
The line weight, in pixels, for the ticks on the horizontal axis.
CartesianChart
 Inherited Type: TextFormat
The TextFormat object to use to render the horizontal axis title label.
CartesianChart
 Inherited Type: int
The line weight, in pixels, for the horizontal axis.
CartesianChart
 Inherited Type: Array
The default colors for each series.
Chart
  
seriesLineWeights
Type: Array
The weight, in pixels, of the line drawn between points in each series.

An Array of values that correspond to series indices in the data provider. If the number of values in the Array is less than the number of series, then the next series will restart at index zero in the style Array. If the value of this style is an empty Array, then each individual series will use the default or modified value set on the series itself.

Example: If the seriesLineWeights style is equal to [2, 3] and there are three series in the chart's data provider, then the series at index 0 will have a line weight of 2, index 1 will have a line weight of 3, and index 2 will have a line weight of 2 (starting over from the beginning).

The default value is null.
LineChart
 Inherited Type: Array
The default size of the markers in pixels.
Chart
 Inherited Type: Array
An Array containing the default skin classes for each series.
Chart
 Inherited Type: Boolean
If false, the horizontal axis is not drawn.
CartesianChart
 Inherited Type: Boolean
If true, grid lines will be displayed on the horizontal axis.
CartesianChart
 Inherited Type: Boolean
If true, labels will be displayed on the horizontal axis.
CartesianChart
 Inherited Type: Boolean
If true, minor grid lines will be displayed on the horizontal axis.
CartesianChart
 Inherited Type: Boolean
If true, ticks will be displayed on the horizontal axis at minor positions.
CartesianChart
 Inherited Type: Boolean
If true, ticks will be displayed on the horizontal axis.
CartesianChart
 Inherited Type: Boolean
If true, the horizontal axis title will be displayed.
CartesianChart
 Inherited Type: Boolean
If false, the vertical axis is not drawn.
CartesianChart
 Inherited Type: Boolean
If true, grid lines will be displayed on the vertical axis.
CartesianChart
 Inherited Type: Boolean
If true, labels will be displayed on the vertical axis.
CartesianChart
 Inherited Type: Boolean
If true, minor grid lines will be displayed on the vertical axis.
CartesianChart
 Inherited Type: Boolean
If true, ticks will be displayed on the vertical axis at minor positions.
CartesianChart
 Inherited Type: Boolean
If true, ticks will be displayed on the vertical axis.
CartesianChart
 Inherited Type: Boolean
If true, the vertical axis title will be displayed.
CartesianChart
 Inherited Type: uint
The line color for the vertical axis.
CartesianChart
 Inherited Type: Array
An Array of alpha values (in the range of 0 to 1) that is used to draw alternating fills between the vertical axis' grid lines.
CartesianChart
 Inherited Type: Array
An Array of uint color values that is used to draw alternating fills between the vertical axis' grid lines.
CartesianChart
 Inherited Type: uint
The line color for the grid lines on the vertical axis.
CartesianChart
 Inherited Type: Class
The class used to instantiate the vertical axis grid lines.
CartesianChart
 Inherited Type: Object
An object containing style values to be passed to the vertical axis grid lines renderer.
CartesianChart
 Inherited Type: int
The line weight, in pixels, for the grid lines on the vertical axis.
CartesianChart
 Inherited Type: Boolean
If true, labels that overlap previously drawn labels on the axis will be hidden.
CartesianChart
 Inherited Type: Number
The distance, in pixels, between a label and the vertical axis.
CartesianChart
 Inherited Type: Number
The angle, in degrees, of the labels on the vertical axis.
CartesianChart
 Inherited Type: uint
The line color for the minor grid lines on the vertical axis.
CartesianChart
 Inherited Type: int
The line weight, in pixels, for the minor grid lines on the vertical axis.
CartesianChart
 Inherited Type: uint
The line color for the minor ticks on the vertical axis.
CartesianChart
 Inherited Type: Number
The length of the minor ticks on the vertical axis.
CartesianChart
 Inherited Type: String
The position of the minor ticks on the vertical axis.
CartesianChart
 Inherited Type: int
The line weight, in pixels, for the minor ticks on the vertical axis.
CartesianChart
 Inherited Type: Class
The class used to instantiate the visual representation of the vertical axis.
CartesianChart
 Inherited Type: Object
An object containing style values to be passed to the vertical axis renderer.
CartesianChart
 Inherited Type: TextFormat
Defines the TextFormat used by labels on the vertical axis.
CartesianChart
 Inherited Type: uint
The line color for the ticks on the vertical axis.
CartesianChart
 Inherited Type: Number
The length, in pixels, of the ticks on the vertical axis.
CartesianChart
 Inherited Type: String
The position of the ticks on the vertical axis.
CartesianChart
 Inherited Type: int
The line weight, in pixels, for the ticks on the vertical axis.
CartesianChart
 Inherited Type: TextFormat
The TextFormat object to use to render the vertical axis title label.
CartesianChart
 Inherited Type: int
The line weight, in pixels, for the vertical axis.
CartesianChart
Constructor detail
LineChart()constructor
public function LineChart()

Constructor.

Method detail
getStyleDefinition()method
public static function getStyleDefinition():Object

Returns
Object