Package | com.flexicious.components.tinycharts.valueobjects |
Class | public class LineSeries |
Inheritance | LineSeries CartesianSeries Series mx.styles.CSSStyleDeclaration |
Subclasses | AreaSeries |
Language Version : | ActionScript 3.0 |
Product Version : | Flex 3 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Property | Defined By | ||
---|---|---|---|
baseAtZero : Boolean
Specifies whether Flex tries to keep the minimum
and maximum values rooted at zero. | Series | ||
calculatedMinMaxSum : Array
Calculated result of the minmaxsum function. | Series | ||
chart : TinyChartBase | Series | ||
dataFunction : Function
Specifies a method that returns the value that should be used for
positioning the current chart item in the series. | Series | ||
dataPropertyName : String [override]
Returns the attribute on the series that returns the data field on the dataprovider. | LineSeries | ||
dataTipRenderer : IFactory
Renderer for the data tip. | Series | ||
displayName : String
The name of the series, for display to the user. | Series | ||
enabledFunction : Function
Given an item, returns the color for its renderer (line, or column)
| Series | ||
form : String
Specifies the line type for the chart. | LineSeries | ||
interactive : Boolean
Determines whether data tips appear when users interact
with chart data on the screen. | Series | ||
isSecondary : Boolean = false
Is this a secondary series (not used to render the axes), used
by Multi Series Charts. | Series | ||
itemFillFunction : Function = null
Given an item, returns the color for its renderer (line, or column) . | Series | ||
itemLineColorFunction : Function = null
Given an item, returns the color for its line (or border for its fill) . | Series | ||
labelFunction : Function
Specifies a callback function used to render each label
of the Series. | Series | ||
labelPropertyName : String [read-only]
Returns the attribute on the series that returns the data field on the dataprovider. | Series | ||
labelStyleName : String
This is the style name applied to labels that are drawn on top of individual datapoints
For now this is supported for 3d Pie, Funnel and Pyramid Charts, since they are the only ones
that draw a label on top of the individual data points. | Series | ||
minMaxSumFunction : Function
PLEASE NOTE: Starting 2.10 this function is deprecated. | Series | ||
minMaxSumIntervalFunction : Function
Returns an array of 4 values. | Series | ||
paintDots : Boolean = true
If true, draws a little dot on top of each line. | LineSeries | ||
painter : TinyChartPainterBase
The painter responsible for painting the series. | Series | ||
plotPoints : Array
A list of plot points we calculated to render this series
| Series | ||
selectable : Boolean
Specifies whether a series is selectable or not. | Series | ||
selectedIndex : int
Index of the selected item in the data provider of the series. | Series | ||
selectedIndices : Array
An Array of indexes of the selected items in the data provider of the series. | Series | ||
selectedItem : ChartItem
The chart item that is selected in the series. | Series | ||
selectedItems : Array
An Array of chart items that are selected in the series. | Series | ||
seriesIndex : int = 0
The index of this series within the charts series collection. | Series | ||
showDataTips : Boolean
Whether or not to show data tips on mouse over
| Series | ||
useRollover : Boolean
Flag to show a different color for the bar/area that the user has rolled over. | Series | ||
xField : String
Specifies the field of the data provider that determines the x-axis location of the column. | CartesianSeries | ||
yField : String
Specifies the field of the data provider that determines the y-axis location of the top of a column. | CartesianSeries |
Method | Defined By | ||
---|---|---|---|
Constructor. | LineSeries | ||
calculateSteps(minValue:Number, maxValue:Number, sum:Number):Array | Series | ||
defaultDataFunction(series:Series, item:Object, fieldName:String):* [static] | Series | ||
getFillForLegend():IFill [override]
Gets the fill associated with this item for this series. | LineSeries | ||
getItemFill(item:Object):IFill
First, checks to see if item is disabled, then returns disabled color style value, if one defined for the series, other wise the one defined for the chart. | Series | ||
getItemLineColor(item:Object):IFill | Series | ||
getLabelForLegend():String
Gets the label associated with this item for this series. | Series | ||
getPlotPoint(item:Object):PlotPoint
Gets the plot point for this item in this series before this one. | Series | ||
Gets the series before this one. | Series | ||
getStyleValue(prop:String):Object
If a style is defined on this series with a valid value, returns it from the series
style declaration otherwise, returns it from the chart's style declaration. | Series | ||
handleMouseClick(event:MouseEvent, clickedItem:HitData):void
Handles the click. | Series |
Style | Description | Defined By | ||
---|---|---|---|---|
Type: mx.graphics.IFill CSS Inheritance: no | Series | |||
Type: Array | Series | |||
Type: Array | Series | |||
Type: Array | Series | |||
Type: Array | Series | |||
Type: Array | Series | |||
Type: Array | Series | |||
Type: Array | Series | |||
Type: Array | Series | |||
lineWidth | Type: int CSS Inheritance: no Sets the width for the actual line segments. The default value for a LineChart control is 1 | LineSeries |
dataPropertyName | property |
dataPropertyName:String
[override] Returns the attribute on the series that returns the data field on the dataprovider. Defaults to "yField" for most series, and "field" for Pie Series.
public function get dataPropertyName():String
public function set dataPropertyName(value:String):void
form | property |
form:String
Language Version : | ActionScript 3.0 |
Product Version : | Flex 3 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Specifies the line type for the chart. Possible values are:
"curve"
:
Draws curves between data points. Curve is currently not supported."horizontal"
:
Draws only the vertical line from the x-coordinate
of the first point to the x-coordinate of the second point
at the y-coordinate of the second point.
Repeats this for each data point."vertical"
:
Draws only the vertical line from the y-coordinate
of the first point to the y-coordinate of the second point
at the x-coordinate of the second point.
Repeats this for each data point."segment"
:
Draws lines as connected segments that are angled
to connect at each data point in the series."step"
:
Draws lines as horizontal segments.
At the first data point, draws a horizontal line
and then a vertical line to the second point,
and repeats for each data point."reverseStep"
:
Draws lines as horizontal segments.
At the first data point, draws a vertical line
and then a horizontal line to the second point,
and repeats for each data point."segment"
.
public function get form():String
public function set form(value:String):void
paintDots | property |
public var paintDots:Boolean = true
If true, draws a little dot on top of each line.
LineSeries | () | Constructor |
public function LineSeries()
Language Version : | ActionScript 3.0 |
Product Version : | Flex 3 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Constructor.
getFillForLegend | () | method |
override public function getFillForLegend():IFill
Gets the fill associated with this item for this series.
ReturnsIFill |