Aspose::Slides::Charts::ITrendline Class Referenceabstract

Class represents trend line of chart series More...

Inherits Aspose::Slides::Charts::IOverridableText.

Inherited by Aspose::Slides::Charts::Trendline.

Public Member Functions

virtual System::String get_TrendlineName ()=0
 Gets name of the trendline. Read System::String. More...
 
virtual void set_TrendlineName (System::String value)=0
 Sets name of the trendline. Write System::String. More...
 
virtual Aspose::Slides::Charts::TrendlineType get_TrendlineType ()=0
 Gets type of trend line. Read TrendlineType. More...
 
virtual void set_TrendlineType (Aspose::Slides::Charts::TrendlineType value)=0
 Sets type of trend line. Write TrendlineType. More...
 
virtual System::SharedPtr< IFormatget_Format ()=0
 Represents the format of the trend line. Read IFormat. More...
 
virtual void set_Format (System::SharedPtr< IFormat > value)=0
 Represents the format of the trend line. Write IFormat. More...
 
virtual double get_Backward ()=0
 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 double. More...
 
virtual void set_Backward (double value)=0
 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. Write double. More...
 
virtual double get_Forward ()=0
 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 double. More...
 
virtual void set_Forward (double value)=0
 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. Write double. More...
 
virtual double get_Intercept ()=0
 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 double. More...
 
virtual void set_Intercept (double value)=0
 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. Write double. More...
 
virtual bool get_DisplayEquation ()=0
 Specifies that the equation for the trendline is displayed on the chart (in the same label as the Rsquaredvalue). Read bool. More...
 
virtual void set_DisplayEquation (bool value)=0
 Specifies that the equation for the trendline is displayed on the chart (in the same label as the Rsquaredvalue). Write bool. More...
 
virtual uint8_t get_Order ()=0
 Specifies the order of the polynomial trend line. It is ignored for other trend line types. Value must be between 2 and 6. Read uint8_t. More...
 
virtual void set_Order (uint8_t value)=0
 Specifies the order of the polynomial trend line. It is ignored for other trend line types. Value must be between 2 and 6. Write uint8_t. More...
 
virtual uint8_t get_Period ()=0
 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 uint8_t. More...
 
virtual void set_Period (uint8_t value)=0
 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. Write uint8_t. More...
 
virtual bool get_DisplayRSquaredValue ()=0
 Specifies that the R-squared value of the trendline is displayed on the chart (in the same label as the equation). Read bool. More...
 
virtual void set_DisplayRSquaredValue (bool value)=0
 Specifies that the R-squared value of the trendline is displayed on the chart (in the same label as the equation). Write bool. More...
 
virtual System::SharedPtr< ILegendEntryPropertiesget_RelatedLegendEntry ()=0
 Represents legend entry related with this trendline Read-only ILegendEntryProperties. More...
 
- Public Member Functions inherited from Aspose::Slides::Charts::IOverridableText
virtual System::SharedPtr< ITextFrameget_TextFrameForOverriding ()=0
 Can contain a rich formatted text. If this property is not null then this formatted text value overrides auto-generated text. Auto-generated text is an implicit property of the data label, the display unit label of the value axis, the axis title, the chart title, the label of the trendline. Auto-generated text is formatted with the IFormattedTextContainer.TextFormat property. Read-only ITextFrame. More...
 
virtual System::SharedPtr< ITextFrameAddTextFrameForOverriding (System::String text)=0
 Initialize TextFrameForOverriding with the text in paramener "text". If TextFrameForOverriding is already initialized then simply changes its text. More...
 
- Public Member Functions inherited from Aspose::Slides::Charts::IFormattedTextContainer
virtual System::SharedPtr< IChartTextFormatget_TextFormat ()=0
 Returns chart text format. Read-only IChartTextFormat. More...
 
- Public Member Functions inherited from Aspose::Slides::Charts::IChartComponent
virtual System::SharedPtr< IChartget_Chart ()=0
 Returns the chart. Read-only IChart. More...
 
- Public Member Functions inherited from Aspose::Slides::ISlideComponent
virtual System::SharedPtr< IBaseSlideget_Slide ()=0
 Returns the base slide. Read-only IBaseSlide. More...
 
- Public Member Functions inherited from Aspose::Slides::IPresentationComponent
virtual System::SharedPtr< IPresentationget_Presentation ()=0
 Returns the presentation. Read-only IPresentation. More...
 
- Public Member Functions inherited from System::Object
 Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ~Object ()
 Destroys object. Frees all internal data structures. More...
 
 Object (Object const &x)
 Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
Objectoperator= (Object const &x)
 Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
ObjectSharedRefAdded ()
 Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int SharedRefRemovedSafe ()
 Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int RemovedSharedRefs (int count)
 Decreases shared reference count by specified value. More...
 
Detail::SmartPtrCounter * WeakRefAdded ()
 Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
void WeakRefRemoved ()
 Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
Detail::SmartPtrCounter * GetCounter ()
 Gets reference counter data structure associated with the object. More...
 
int SharedCount () const
 Gets current value of shared refernce counter. More...
 
void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual int GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual String ToString () ASPOSE_CONST
 Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
 
virtual ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
virtual void SetTemplateWeakPtr (unsigned int argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 
template<>
bool Equals (double const &objA, double const &objB)
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
typedef System::Details::SharedMembersType shared_members_type
 structure to keep list of shared pointers contained in object. More...
 
- Static Public Member Functions inherited from System::Object
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 Reference-compares value type object with nullptr. More...
 
template<typename T1 , typename T2 >
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares reference type objects in C# style. More...
 
template<typename T1 , typename T2 >
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares value type objects in C# style. More...
 
static const TypeInfoType ()
 Impleemnts C# typeof(System.Object) construct. More...
 

Detailed Description

Class represents trend line of chart series

Member Function Documentation

◆ get_Backward()

virtual double Aspose::Slides::Charts::ITrendline::get_Backward ( )
pure virtual

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 double.

Implemented in Aspose::Slides::Charts::Trendline.

◆ get_DisplayEquation()

virtual bool Aspose::Slides::Charts::ITrendline::get_DisplayEquation ( )
pure virtual

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

Implemented in Aspose::Slides::Charts::Trendline.

◆ get_DisplayRSquaredValue()

virtual bool Aspose::Slides::Charts::ITrendline::get_DisplayRSquaredValue ( )
pure virtual

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

Implemented in Aspose::Slides::Charts::Trendline.

◆ get_Format()

virtual System::SharedPtr<IFormat> Aspose::Slides::Charts::ITrendline::get_Format ( )
pure virtual

Represents the format of the trend line. Read IFormat.

Implemented in Aspose::Slides::Charts::Trendline.

◆ get_Forward()

virtual double Aspose::Slides::Charts::ITrendline::get_Forward ( )
pure virtual

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 double.

Implemented in Aspose::Slides::Charts::Trendline.

◆ get_Intercept()

virtual double Aspose::Slides::Charts::ITrendline::get_Intercept ( )
pure virtual

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 double.

Implemented in Aspose::Slides::Charts::Trendline.

◆ get_Order()

virtual uint8_t Aspose::Slides::Charts::ITrendline::get_Order ( )
pure virtual

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

Implemented in Aspose::Slides::Charts::Trendline.

◆ get_Period()

virtual uint8_t Aspose::Slides::Charts::ITrendline::get_Period ( )
pure virtual

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 uint8_t.

Implemented in Aspose::Slides::Charts::Trendline.

◆ get_RelatedLegendEntry()

virtual System::SharedPtr<ILegendEntryProperties> Aspose::Slides::Charts::ITrendline::get_RelatedLegendEntry ( )
pure virtual

Represents legend entry related with this trendline Read-only ILegendEntryProperties.

Implemented in Aspose::Slides::Charts::Trendline.

◆ get_TrendlineName()

virtual System::String Aspose::Slides::Charts::ITrendline::get_TrendlineName ( )
pure virtual

Gets name of the trendline. Read System::String.

Implemented in Aspose::Slides::Charts::Trendline.

◆ get_TrendlineType()

virtual Aspose::Slides::Charts::TrendlineType Aspose::Slides::Charts::ITrendline::get_TrendlineType ( )
pure virtual

Gets type of trend line. Read TrendlineType.

Implemented in Aspose::Slides::Charts::Trendline.

◆ set_Backward()

virtual void Aspose::Slides::Charts::ITrendline::set_Backward ( double  value)
pure virtual

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. Write double.

Implemented in Aspose::Slides::Charts::Trendline.

◆ set_DisplayEquation()

virtual void Aspose::Slides::Charts::ITrendline::set_DisplayEquation ( bool  value)
pure virtual

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

Implemented in Aspose::Slides::Charts::Trendline.

◆ set_DisplayRSquaredValue()

virtual void Aspose::Slides::Charts::ITrendline::set_DisplayRSquaredValue ( bool  value)
pure virtual

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

Implemented in Aspose::Slides::Charts::Trendline.

◆ set_Format()

virtual void Aspose::Slides::Charts::ITrendline::set_Format ( System::SharedPtr< IFormat value)
pure virtual

Represents the format of the trend line. Write IFormat.

Implemented in Aspose::Slides::Charts::Trendline.

◆ set_Forward()

virtual void Aspose::Slides::Charts::ITrendline::set_Forward ( double  value)
pure virtual

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. Write double.

Implemented in Aspose::Slides::Charts::Trendline.

◆ set_Intercept()

virtual void Aspose::Slides::Charts::ITrendline::set_Intercept ( double  value)
pure virtual

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. Write double.

Implemented in Aspose::Slides::Charts::Trendline.

◆ set_Order()

virtual void Aspose::Slides::Charts::ITrendline::set_Order ( uint8_t  value)
pure virtual

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

Implemented in Aspose::Slides::Charts::Trendline.

◆ set_Period()

virtual void Aspose::Slides::Charts::ITrendline::set_Period ( uint8_t  value)
pure virtual

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. Write uint8_t.

Implemented in Aspose::Slides::Charts::Trendline.

◆ set_TrendlineName()

virtual void Aspose::Slides::Charts::ITrendline::set_TrendlineName ( System::String  value)
pure virtual

Sets name of the trendline. Write System::String.

Implemented in Aspose::Slides::Charts::Trendline.

◆ set_TrendlineType()

virtual void Aspose::Slides::Charts::ITrendline::set_TrendlineType ( Aspose::Slides::Charts::TrendlineType  value)
pure virtual

Sets type of trend line. Write TrendlineType.

Implemented in Aspose::Slides::Charts::Trendline.