ITrendline

ITrendline class

Class represents trend line of chart series

class ITrendline : public Aspose::Slides::Charts::IOverridableText

Methods

MethodDescription
virtual System::SharedPtr<ITextFrame> AddTextFrameForOverriding(System::String)Initialize TextFrameForOverriding with the text in paramener "text". If TextFrameForOverriding is already initialized then simply changes its text.
virtual bool Equals(ptr)Compares objects using C# Object.Equals semantics.
static std::enable_if<IsSmartPtr<T1>::value&&IsSmartPtr<T2>::value, bool>::type Equals(T1 const&, T2 const&)Compares reference type objects in C# style.
static std::enable_if<!IsSmartPtr<T1>::value&&!IsSmartPtr<T2>::value, bool>::type Equals(T1 const&, T2 const&)Compares value type objects in C# style.
static bool Equals(float const&, float const&)Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN.
static bool Equals(double const&, double const&)Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN.
virtual bool FastCast(const Details::FastRttiBase&, void **) constFor internal purposes only.
virtual double get_Backward()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.
virtual System::SharedPtr<IChart> get_Chart()Returns the chart. Read-only IChart.
virtual bool get_DisplayEquation()Specifies that the equation for the trendline is displayed on the chart (in the same label as the Rsquaredvalue). Read bool.
virtual bool get_DisplayRSquaredValue()Specifies that the R-squared value of the trendline is displayed on the chart (in the same label as the equation). Read bool.
virtual System::SharedPtr<IFormat> get_Format()Represents the format of the trend line. Read IFormat.
virtual double get_Forward()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.
virtual double get_Intercept()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.
virtual uint8_t get_Order()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.
virtual uint8_t get_Period()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.
virtual System::SharedPtr<IPresentation> get_Presentation()Returns the presentation. Read-only IPresentation.
virtual System::SharedPtr<ILegendEntryProperties> get_RelatedLegendEntry()Represents legend entry related with this trendline Read-only ILegendEntryProperties.
virtual System::SharedPtr<IBaseSlide> get_Slide()Returns the base slide. Read-only IBaseSlide.
virtual System::SharedPtr<IChartTextFormat> get_TextFormat()Returns chart text format. Read-only IChartTextFormat.
virtual System::SharedPtr<ITextFrame> get_TextFrameForOverriding()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::get_TextFormat property. Read-only ITextFrame.
virtual System::String get_TrendlineName()Gets name of the trendline. Read System::String.
virtual Aspose::Slides::Charts::TrendlineType get_TrendlineType()Gets type of trend line. Read TrendlineType.
Detail::SmartPtrCounter * GetCounter()Gets reference counter data structure associated with the object.
virtual int32_t GetHashCode() constAnalog of C# Object.GetHashCode() method. Enables hashing of custom objects.
virtual const TypeInfo& GetType() constGets actual type of object. Analog of C# System.Object.GetType() call.
virtual bool Is(const TypeInfo&) constCheck if object represents an instance of type described by targetType. Analog of C# ‘is’ operator.
void Lock()Implements C# lock() statement locking. Call directly or use LockContext sentry object.
virtual ptr MemberwiseClone() constAnalog of C# Object.MemberwiseClone() method. Enables cloning custom types.
Object()Creates object. Initializes all internal data structures.
Object(Object const&)Copy constructor. Doesn’t copy anything, really, just initializes new object and enables copy constructing subclasses.
Object& operator=(Object const&)Assignment operator. Doesn’t copy anything, really, just initializes new object and enables copy constructing subclasses.
static bool ReferenceEquals(ptr const&, ptr const&)Compares objects by reference.
static std::enable_if<!IsSmartPtr<T>::value, bool>::type ReferenceEquals(T const&, T const&)Compares objects by reference.
static std::enable_if<!IsSmartPtr<T>::value, bool>::type ReferenceEquals(T const&, std::nullptr_t)Reference-compares value type object with nullptr.
bool ReferenceEquals(String const&, std::nullptr_t)Specialization of Object::ReferenceEquals for case of string and nullptr.
bool ReferenceEquals(String const&, String const&)Specialization of Object::ReferenceEquals for case of strings.
int RemovedSharedRefs(int)Decreases shared reference count by specified value.
virtual void set_Backward(double)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.
virtual void set_DisplayEquation(bool)Specifies that the equation for the trendline is displayed on the chart (in the same label as the Rsquaredvalue). Write bool.
virtual void set_DisplayRSquaredValue(bool)Specifies that the R-squared value of the trendline is displayed on the chart (in the same label as the equation). Write bool.
virtual void set_Format(System::SharedPtr<IFormat>)Represents the format of the trend line. Write IFormat.
virtual void set_Forward(double)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.
virtual void set_Intercept(double)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.
virtual void set_Order(uint8_t)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.
virtual void set_Period(uint8_t)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.
virtual void set_TrendlineName(System::String)Sets name of the trendline. Write System::String.
virtual void set_TrendlineType(Aspose::Slides::Charts::TrendlineType)Sets type of trend line. Write TrendlineType.
virtual void SetTemplateWeakPtr(uint32_t)Set n’th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode.
int SharedCount() constGets current value of shared reference counter.
Object * SharedRefAdded()Increments shared reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector.
int SharedRefRemovedSafe()Decrements and returns shared reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector.
virtual String ToString() constAnalog of C# Object.ToString() method. Enables converting custom objects to string.
static const TypeInfo& Type()Implements C# typeof(System.Object) construct.
void Unlock()Implements C# lock() statement unlocking. Call directly or use LockContext sentry object.
Detail::SmartPtrCounter * WeakRefAdded()Increments weak reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector.
void WeakRefRemoved()Decrements weak reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector.
virtual ~Object()Destroys object. Frees all internal data structures.

See Also