public class TrendLine extends AbstractChartObject
SerialChartModelImpl
and XYChartModelImpl
charts which indicates the trend of your data or
covers some different purposes. Multiple can be assigned.
See documentation for properties of TrendLine JS Object.
http://docs.amcharts.com/3/javascriptcharts/TrendLine
Constructor and Description |
---|
TrendLine() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBalloonText() |
java.lang.Integer |
getDashLength() |
java.lang.String |
getFinalCategory() |
java.util.Date |
getFinalDate() |
Image |
getFinalImage() |
java.lang.Double |
getFinalValue() |
java.lang.Double |
getFinalXValue() |
java.lang.String |
getId() |
java.lang.String |
getInitialCategory() |
java.util.Date |
getInitialDate() |
Image |
getInitialImage() |
java.lang.Double |
getInitialValue() |
java.lang.Double |
getInitialXValue() |
java.lang.Double |
getLineAlpha() |
Color |
getLineColor() |
java.lang.Integer |
getLineThickness() |
java.lang.Boolean |
getProtected() |
java.lang.String |
getValueAxis() |
java.lang.String |
getValueAxisX() |
TrendLine |
setBalloonText(java.lang.String balloonText)
Sets balloon text.
|
TrendLine |
setDashLength(java.lang.Integer dashLength)
Sets dash length.
|
TrendLine |
setFinalCategory(java.lang.String finalCategory)
Sets string, equal to category value to which trend line should be drawn.
|
TrendLine |
setFinalDate(java.util.Date finalDate)
Sets date to which trend line should be drawn.
|
TrendLine |
setFinalImage(Image finalImage)
Sets an image to the end of a trend line.
|
TrendLine |
setFinalValue(java.lang.Double finalValue)
Sets value at which trend line should end.
|
TrendLine |
setFinalXValue(java.lang.Double finalXValue)
Sets X value at which trend line should end.
|
TrendLine |
setId(java.lang.String id)
Sets unique id of a trend line.
|
TrendLine |
setInitialCategory(java.lang.String initialCategory)
Sets string equal to category value from which trend line should start.
|
TrendLine |
setInitialDate(java.util.Date initialDate)
Sets date from which trend line should start.
|
TrendLine |
setInitialImage(Image initialImage)
Sets an image to the beginning of a trend line.
|
TrendLine |
setInitialValue(java.lang.Double initialValue)
Sets value from which trend line should start.
|
TrendLine |
setInitialXValue(java.lang.Double initialXValue)
Sets X value from which trend line should start.
|
TrendLine |
setLineAlpha(java.lang.Double lineAlpha)
Sets line opacity.
|
TrendLine |
setLineColor(Color lineColor)
Sets line color.
|
TrendLine |
setLineThickness(java.lang.Integer lineThickness)
Sets line thickness.
|
TrendLine |
setProtected(java.lang.Boolean aProtected)
Set isProtected to true if trend line shouldn't be removed when clicked on eraser tool.
|
TrendLine |
setValueAxis(java.lang.String valueAxis)
Sets value axis of the trend line.
|
TrendLine |
setValueAxisX(java.lang.String valueAxisX)
Sets X axis of the trend line.
|
public java.lang.String getBalloonText()
public TrendLine setBalloonText(java.lang.String balloonText)
balloonText
- balloon textpublic java.lang.Integer getDashLength()
public TrendLine setDashLength(java.lang.Integer dashLength)
dashLength
- dash lengthpublic java.lang.String getFinalCategory()
public TrendLine setFinalCategory(java.lang.String finalCategory)
finalCategory
- final category stringpublic java.util.Date getFinalDate()
public TrendLine setFinalDate(java.util.Date finalDate)
finalDate
- final datepublic java.lang.Double getFinalValue()
public TrendLine setFinalValue(java.lang.Double finalValue)
finalValue
- final valuepublic java.lang.Double getFinalXValue()
public TrendLine setFinalXValue(java.lang.Double finalXValue)
finalXValue
- final X valuepublic java.lang.String getInitialCategory()
public TrendLine setInitialCategory(java.lang.String initialCategory)
initialCategory
- initial categorypublic java.util.Date getInitialDate()
public TrendLine setInitialDate(java.util.Date initialDate)
initialDate
- initial datepublic java.lang.Double getInitialValue()
public TrendLine setInitialValue(java.lang.Double initialValue)
initialValue
- initial valuepublic java.lang.Double getInitialXValue()
public TrendLine setInitialXValue(java.lang.Double initialXValue)
initialXValue
- initial X valuepublic java.lang.Boolean getProtected()
public TrendLine setProtected(java.lang.Boolean aProtected)
aProtected
- isProtected optionpublic java.lang.Double getLineAlpha()
public TrendLine setLineAlpha(java.lang.Double lineAlpha)
lineAlpha
- opacitypublic Color getLineColor()
public TrendLine setLineColor(Color lineColor)
lineColor
- colorpublic java.lang.Integer getLineThickness()
public TrendLine setLineThickness(java.lang.Integer lineThickness)
lineThickness
- thicknesspublic java.lang.String getValueAxis()
public TrendLine setValueAxis(java.lang.String valueAxis)
valueAxis
- value axis idpublic java.lang.String getValueAxisX()
public TrendLine setValueAxisX(java.lang.String valueAxisX)
valueAxisX
- value axis X idpublic java.lang.String getId()
public TrendLine setId(java.lang.String id)
id
- idpublic Image getFinalImage()
public TrendLine setFinalImage(Image finalImage)
finalImage
- final imagepublic Image getInitialImage()