com.aspose.slides
Class TrendlineEx

java.lang.Object
  extended by com.aspose.slides.TrendlineEx

public class TrendlineEx
extends java.lang.Object

Class represents trend line of chart series


Constructor Summary
TrendlineEx(ChartSeriesEx parent)
           Creates a new instance of TrendlineEx class.
 
Method Summary
 float getBackward()
           Specifies the number of categories (or units on a scatter chart) that the trend line extends before the data for the series that is being trended.
 boolean getDisplayEquation()
           Specifies that the equation for the trendline is displayed on the chart (in the same label as the Rsquaredvalue).
 boolean getDisplayRSquaredValue()
           Specifies that the R-squared value of the trendline is displayed on the chart (in the same label as the equation).
 FormatEx getFormat()
           Represents the format of the trend line.
 float getForward()
           Specifies the number of categories (or units on a scatter chart) that the trendline extends after the data for the series that is being trended.
 float getIntercept()
           Specifies the value where the trendline shall cross the y axis.
 long getOrder()
           Specifies the order of the polynomial trend line.
 long getPeriod()
           Specifies the period of the trend line for a moving average trend line.
 TextFrameEx getTextFrame()
           Returns a text frame of the trend line.
 TextFrameEx getTextProperties()
           Returns text properties of the trend line.
 java.lang.String getTrendlineName()
           Gets or sets name of the trendline
 int getTrendlineType()
           Gets or sets type of trend line.
 void setBackward(float value)
           
 void setDisplayEquation(boolean value)
           
 void setDisplayRSquaredValue(boolean value)
           
 void setFormat(FormatEx value)
           
 void setForward(float value)
           
 void setIntercept(float value)
           
 void setOrder(long value)
           
 void setPeriod(long value)
           
 void setTextFrame(TextFrameEx value)
           
 void setTrendlineName(java.lang.String value)
           
 void setTrendlineType(int value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrendlineEx

public TrendlineEx(ChartSeriesEx parent)

Creates a new instance of TrendlineEx class.

Method Detail

getTrendlineName

public java.lang.String getTrendlineName()

Gets or sets name of the trendline


setTrendlineName

public void setTrendlineName(java.lang.String value)

getTrendlineType

public int getTrendlineType()

Gets or sets type of trend line.


setTrendlineType

public void setTrendlineType(int value)

getTextFrame

public TextFrameEx getTextFrame()

Returns a text frame of the trend line.


setTextFrame

public void setTextFrame(TextFrameEx value)

getTextProperties

public TextFrameEx getTextProperties()

Returns text properties of the trend line. Readonly TextFrameEx.


getFormat

public FormatEx getFormat()

Represents the format of the trend line. Read/write FormatEx.


setFormat

public void setFormat(FormatEx value)

getBackward

public float getBackward()

Specifies the number of categories (or units on a scatter chart) that the trend line extends before the data for the series that is being trended. On scatter and non-scatter charts, the value shall be any nonnegative value.


setBackward

public void setBackward(float value)

getForward

public float getForward()

Specifies the number of categories (or units on a scatter chart) that the trendline extends after the data for the series that is being trended. On scatter and non-scatter charts, the value shall be any non-negative value.


setForward

public void setForward(float value)

getIntercept

public float getIntercept()

Specifies the value where the trendline shall cross the y axis. This property shall be supported only when the trendline type is exp, linear, or poly.


setIntercept

public void setIntercept(float value)

getDisplayEquation

public boolean getDisplayEquation()

Specifies that the equation for the trendline is displayed on the chart (in the same label as the Rsquaredvalue).


setDisplayEquation

public void setDisplayEquation(boolean value)

getOrder

public long getOrder()

Specifies the order of the polynomial trend line. It is ignored for other trend line types. Value must be between 2 and 6.


setOrder

public void setOrder(long value)

getPeriod

public long getPeriod()

Specifies the period of the trend line for a moving average trend line. It is ignored for other trend line variants. Value must be between 2 and 255.


setPeriod

public void setPeriod(long value)

getDisplayRSquaredValue

public boolean getDisplayRSquaredValue()

Specifies that the R-squared value of the trendline is displayed on the chart (in the same label as the equation).


setDisplayRSquaredValue

public void setDisplayRSquaredValue(boolean value)