com.spire.xls.core
Interface IChartTrendLine


public interface IChartTrendLine


Method Summary
 void clearFormats()
          Clears current trend line.
 double getBackward()
          Represents number of periods that the trendline extends backward.
 IChartBorder getBorder()
          Represents border object.
 IChartDataLabels getDataLabel()
          Returns data label.
 boolean getDisplayEquation()
          True if the equation for the trendline is displayed on the chart.
 boolean getDisplayRSquared()
          True if the R-squared value of the trendline is displayed on the chart.
 java.lang.String getFormula()
          Return trendline formula.
 double getForward()
          Represents number of periods that the trendline extends forward.
 double getIntercept()
          Represents point where the trendline crosses the value axis.
 boolean getInterceptIsAuto()
          True if the point where the trendline crosses the value axis is automatically determined by the regression.
 java.lang.String getName()
          Represents trendline name.
 boolean getNameIsAuto()
          Indicates if name is default.
 int getOrder()
          Represents for Moving Averange and Polynomial trend line type order value.
 TrendLineType getType()
          Represents trend line type.
 void setBackward(double value)
          Represents number of periods that the trendline extends backward.
 void setDisplayEquation(boolean value)
          True if the equation for the trendline is displayed on the chart.
 void setDisplayRSquared(boolean value)
          True if the R-squared value of the trendline is displayed on the chart.
 void setForward(double value)
          Represents number of periods that the trendline extends forward.
 void setIntercept(double value)
          Represents point where the trendline crosses the value axis.
 void setName(java.lang.String value)
          Represents trendline name.
 void setNameIsAuto(boolean value)
          Indicates if name is default.
 void setOrder(int value)
          Represents for Moving Averange and Polynomial trend line type order value.
 void setType(TrendLineType value)
          Represents trend line type.
 

Method Detail

getBorder

IChartBorder getBorder()
Represents border object. Read only.


getBackward

double getBackward()
Represents number of periods that the trendline extends backward.


setBackward

void setBackward(double value)
Represents number of periods that the trendline extends backward.


getForward

double getForward()
Represents number of periods that the trendline extends forward.


setForward

void setForward(double value)
Represents number of periods that the trendline extends forward.


getDisplayEquation

boolean getDisplayEquation()
True if the equation for the trendline is displayed on the chart.


setDisplayEquation

void setDisplayEquation(boolean value)
True if the equation for the trendline is displayed on the chart.


getDisplayRSquared

boolean getDisplayRSquared()
True if the R-squared value of the trendline is displayed on the chart.


setDisplayRSquared

void setDisplayRSquared(boolean value)
True if the R-squared value of the trendline is displayed on the chart.


getIntercept

double getIntercept()
Represents point where the trendline crosses the value axis.


setIntercept

void setIntercept(double value)
Represents point where the trendline crosses the value axis.


getInterceptIsAuto

boolean getInterceptIsAuto()
True if the point where the trendline crosses the value axis is automatically determined by the regression.


getType

TrendLineType getType()
Represents trend line type.


setType

void setType(TrendLineType value)
Represents trend line type.


getOrder

int getOrder()
Represents for Moving Averange and Polynomial trend line type order value.


setOrder

void setOrder(int value)
Represents for Moving Averange and Polynomial trend line type order value.


getNameIsAuto

boolean getNameIsAuto()
Indicates if name is default.


setNameIsAuto

void setNameIsAuto(boolean value)
Indicates if name is default.


getName

java.lang.String getName()
Represents trendline name.


setName

void setName(java.lang.String value)
Represents trendline name.


getDataLabel

IChartDataLabels getDataLabel()
Returns data label. Read only.


getFormula

java.lang.String getFormula()
Return trendline formula. Read only.


clearFormats

void clearFormats()
Clears current trend line.