| Package | com.amcharts.chartClasses |
| Class | public class TrendLine |
| Inheritance | TrendLine mx.core.UIComponent |
| Property | Defined by | ||
|---|---|---|---|
| categoryAxis : CategoryAxis
category axis, set by the chart.
| TrendLine | ||
| dashLength : Number = 0
dash length
| TrendLine | ||
| finalCategory : String
Final category of a trend line.
| TrendLine | ||
| finalDate : Date
Final date of a trend line.
| TrendLine | ||
| finalValue : Number
Final value of a trend line.
| TrendLine | ||
| finalXValue : Number
final X value of a trend line.
| TrendLine | ||
| initialCategory : String
Initial category of a trend line.
| TrendLine | ||
| initialDate : Date
Initial date of a trend line.
| TrendLine | ||
| initialValue : Number
Initial value of a trend line.
| TrendLine | ||
| initialXValue : Number
Initial X value of a trend line.
| TrendLine | ||
| isProtected : Boolean
A flag which can be used to detect which trend lines should be deleted.
| TrendLine | ||
| lineAlpha : Number = 1
line opacity
| TrendLine | ||
| lineColor : Number = 0xCC0000
line color
| TrendLine | ||
| lineThickness : Number = 1
line thickness
| TrendLine | ||
| valueAxis : ValueAxis
valueAxis of a trend line.
| TrendLine | ||
| valueAxisX : ValueAxis
X valueAxis of a trend line, used by XY chart only.
| TrendLine | ||
| Method | Defined by | ||
|---|---|---|---|
|
Constructor.
| TrendLine | ||
| categoryAxis | property |
public var categoryAxis:CategoryAxiscategory axis, set by the chart.
| dashLength | property |
public var dashLength:Number = 0dash length
| finalCategory | property |
public var finalCategory:StringFinal category of a trend line. Use it with serial chart, when parseDates is false.
| finalDate | property |
public var finalDate:DateFinal date of a trend line. Use it with serial chart, when parseDates is true.
| finalValue | property |
public var finalValue:NumberFinal value of a trend line.
| finalXValue | property |
public var finalXValue:Numberfinal X value of a trend line. Used only with XY chart.
| initialCategory | property |
public var initialCategory:StringInitial category of a trend line. Use it with serial chart, when parseDates is false.
| initialDate | property |
public var initialDate:DateInitial date of a trend line. Use it with serial chart, when parseDates is true.
| initialValue | property |
public var initialValue:NumberInitial value of a trend line.
| initialXValue | property |
public var initialXValue:NumberInitial X value of a trend line. Used only with XY chart.
| isProtected | property |
public var isProtected:BooleanA flag which can be used to detect which trend lines should be deleted.
| lineAlpha | property |
public var lineAlpha:Number = 1line opacity
| lineColor | property |
public var lineColor:Number = 0xCC0000line color
| lineThickness | property |
public var lineThickness:Number = 1line thickness
| valueAxis | property |
public var valueAxis:ValueAxisvalueAxis of a trend line. Will use first value axis of a chart if not set.
| valueAxisX | property |
public var valueAxisX:ValueAxisX valueAxis of a trend line, used by XY chart only. Will use first X axis of a chart if not set.
| TrendLine | () | constructor |
public function TrendLine()Constructor.