Class Trendline
java.lang.Object
com.independentsoft.office.charts.Trendline
The Class Trendline.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()doubleGets the backward.Gets the chart shape properties.doubleGets the forward.doubleGets the intercept.getLabel()Gets the label.getName()Gets the name.intgetOrder()Gets the order.intGets the period.getType()Gets the type.booleanChecks if is display equation.booleanChecks if is display r squared value.voidsetBackward(double backward)Sets the backward.voidsetDisplayEquation(boolean displayEquation)Sets the display equation.voidsetDisplayRSquaredValue(boolean displayRSquaredValue)Sets the display r squared value.voidsetForward(double forward)Sets the forward.voidsetIntercept(double intercept)Sets the intercept.voidsetLabel(TrendlineLabel label)Sets the label.voidSets the name.voidsetOrder(int order)Sets the order.voidsetPeriod(int period)Sets the period.voidsetType(TrendlineType type)Sets the type.toString()
-
Constructor Details
-
Trendline
public Trendline()Instantiates a new trendline.
-
-
Method Details
-
clone
-
toString
-
getBackward
public double getBackward()Gets the backward.- Returns:
- the backward
-
setBackward
public void setBackward(double backward)Sets the backward.- Parameters:
backward- the new backward
-
isDisplayEquation
public boolean isDisplayEquation()Checks if is display equation.- Returns:
- true, if is display equation
-
setDisplayEquation
public void setDisplayEquation(boolean displayEquation)Sets the display equation.- Parameters:
displayEquation- the new display equation
-
isDisplayRSquaredValue
public boolean isDisplayRSquaredValue()Checks if is display r squared value.- Returns:
- true, if is display r squared value
-
setDisplayRSquaredValue
public void setDisplayRSquaredValue(boolean displayRSquaredValue)Sets the display r squared value.- Parameters:
displayRSquaredValue- the new display r squared value
-
getForward
public double getForward()Gets the forward.- Returns:
- the forward
-
setForward
public void setForward(double forward)Sets the forward.- Parameters:
forward- the new forward
-
getIntercept
public double getIntercept()Gets the intercept.- Returns:
- the intercept
-
setIntercept
public void setIntercept(double intercept)Sets the intercept.- Parameters:
intercept- the new intercept
-
getName
Gets the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name- the new name
-
getOrder
public int getOrder()Gets the order.- Returns:
- the order
-
setOrder
public void setOrder(int order)Sets the order.- Parameters:
order- the new order
-
getPeriod
public int getPeriod()Gets the period.- Returns:
- the period
-
setPeriod
public void setPeriod(int period)Sets the period.- Parameters:
period- the new period
-
getChartShapeProperties
Gets the chart shape properties.- Returns:
- the chart shape properties
-
getLabel
Gets the label.- Returns:
- the label
-
setLabel
Sets the label.- Parameters:
label- the new label
-
getType
Gets the type.- Returns:
- the type
-
setType
Sets the type.- Parameters:
type- the new type
-