Packagecom.scottlogic.sparkline
Classpublic class ColumnSparkline
InheritanceColumnSparkline Inheritance ColumnSparklineBase Inheritance SparklineBase Inheritance mx.core.UIComponent

A column sparkline represents data as a scale-less column chart.



Public Properties
 PropertyDefined by
 Inheriteddata : Object
The data property lets you pass a value to the component when you use it as an item renderer or item editor.
SparklineBase
 InheriteddataProvider : Object
The data provider for this sparkline.
SparklineBase
 InheritedlistData : BaseListData
When a component is used as a drop-in item renderer or drop-in item editor, Flex initializes the listData property of the component with the appropriate data from the list control.
SparklineBase
 InheritedxField : String
Specifies the field of the data provider that determines the x-axis location of each data point.
SparklineBase
 InheritedyField : String
Specifies the field of the data provider that determines the y-axis location of each data point.
SparklineBase
 InheritedzeroValue : Number
ColumnSparklineBase
Protected Properties
 PropertyDefined by
 Inheritedbounds : Rectangle
The bounds within which the line part of the sparkline should be restricted.
SparklineBase
 InheritedrenderData : ColumnSparklineRenderData
A cache of the data required for rendering the column sparkline, i.e.
ColumnSparklineBase
Public Methods
 MethodDefined by
  
Constructor
ColumnSparkline
Protected Methods
 MethodDefined by
 Inherited
drawBackground(width:Number, height:Number):void
Draws the background for the sparkline.
SparklineBase
 Inherited
Marks the current render data cache as dirty.
SparklineBase
 Inherited
measure():void
SparklineBase
 Inherited
updateBounds(width:Number, height:Number):void
Ensures the bounds are up to date.
SparklineBase
  
updateData():void
Updates the render data cache to reflect the current data provider values.
ColumnSparkline
 Inherited
validateData():void
If the current render data cache is considered dirty then it updates the cache.
SparklineBase
Styles
 StyleDescriptionDefined by
 Inherited Type: mx.graphics.IFill   CSS Inheritance: no
Sets the background fill for the sparkline.
SparklineBase
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Sets the horizontal gap between columns.
ColumnSparklineBase
 Inherited Type: mx.graphics.IFill   CSS Inheritance: no
Sets the fill for positive value columns.
ColumnSparklineBase
 Inherited Type: mx.graphics.IStroke   CSS Inheritance: no
Sets the stroke for negative value columns.
ColumnSparklineBase
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Sets the padding to the bottom of the sparkline.
SparklineBase
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Sets the padding to the left of the sparkline.
SparklineBase
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Sets the padding to the right of the sparkline.
SparklineBase
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Sets the padding to the top of the sparkline.
SparklineBase
 Inherited Type: mx.graphics.IFill   CSS Inheritance: no
Sets the fill for positive value columns.
ColumnSparklineBase
 Inherited Type: mx.graphics.IStroke   CSS Inheritance: no
Sets the stroke for positive value columns.
ColumnSparklineBase
 Inherited Type: mx.graphics.IStroke   CSS Inheritance: no
Sets the stroke for the line used to indicate a zero value.
ColumnSparklineBase
Constructor detail
ColumnSparkline()constructor
public function ColumnSparkline()

Constructor

Method detail
updateData()method
protected override function updateData():void

Updates the render data cache to reflect the current data provider values. Maps the data provider values to screen coordinates.