com.aspose.slides
Interface ITrendline

All Superinterfaces:
IChartComponent, IFormattedTextContainer, IOverridableText, IPresentationComponent, ISlideComponent
All Known Implementing Classes:
Trendline

public interface ITrendline
extends IOverridableText

Class represents trend line of chart series


Method Summary
 double 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).
 IFormat getFormat()
           Represents the format of the trend line.
 double 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.
 double getIntercept()
           Specifies the value where the trendline shall cross the y axis.
 byte getOrder()
           Specifies the order of the polynomial trend line.
 byte getPeriod()
           Specifies the period of the trend line for a moving average trend line.
 java.lang.String getTrendlineName()
           Gets or sets name of the trendline.
 int getTrendlineType()
           Gets or sets type of trend line.
 void setBackward(double value)
           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.
 void setDisplayEquation(boolean value)
           Specifies that the equation for the trendline is displayed on the chart (in the same label as the Rsquaredvalue).
 void setDisplayRSquaredValue(boolean value)
           Specifies that the R-squared value of the trendline is displayed on the chart (in the same label as the equation).
 void setFormat(IFormat value)
           Represents the format of the trend line.
 void setForward(double value)
           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.
 void setIntercept(double value)
           Specifies the value where the trendline shall cross the y axis.
 void setOrder(byte value)
           Specifies the order of the polynomial trend line.
 void setPeriod(byte value)
           Specifies the period of the trend line for a moving average trend line.
 void setTrendlineName(java.lang.String value)
           Gets or sets name of the trendline.
 void setTrendlineType(int value)
           Gets or sets type of trend line.
 
Methods inherited from interface com.aspose.slides.IOverridableText
addTextFrameForOverriding, getTextFrameForOverriding
 
Methods inherited from interface com.aspose.slides.IFormattedTextContainer
getTextFormat
 
Methods inherited from interface com.aspose.slides.IChartComponent
getChart
 
Methods inherited from interface com.aspose.slides.ISlideComponent
getSlide
 
Methods inherited from interface com.aspose.slides.IPresentationComponent
getPresentation
 

Method Detail

getTrendlineName

java.lang.String getTrendlineName()

Gets or sets name of the trendline. Read/write String.


setTrendlineName

void setTrendlineName(java.lang.String value)

Gets or sets name of the trendline. Read/write String.


getTrendlineType

int getTrendlineType()

Gets or sets type of trend line. Read/write TrendlineType.


setTrendlineType

void setTrendlineType(int value)

Gets or sets type of trend line. Read/write TrendlineType.


getFormat

IFormat getFormat()

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


setFormat

void setFormat(IFormat value)

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


getBackward

double 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. Read/write double.


setBackward

void setBackward(double value)

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. Read/write double.


getForward

double 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. Read/write double.


setForward

void setForward(double value)

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. Read/write double.


getIntercept

double 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. Read/write double.


setIntercept

void setIntercept(double value)

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. Read/write double.


getDisplayEquation

boolean getDisplayEquation()

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


setDisplayEquation

void setDisplayEquation(boolean value)

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


getOrder

byte getOrder()

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


setOrder

void setOrder(byte value)

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


getPeriod

byte 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. Read/write byte.


setPeriod

void setPeriod(byte value)

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. Read/write byte.


getDisplayRSquaredValue

boolean getDisplayRSquaredValue()

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


setDisplayRSquaredValue

void setDisplayRSquaredValue(boolean value)

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



Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.