IAxis

IAxis class

Encapsulates the object that represents a chart’s axis.

class IAxis : public Aspose::Slides::Charts::IFormattedTextContainer

Methods

MethodDescription
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_ActualMajorUnit()Specifies actual major unit of the axis. Call method IChart::ValidateChartLayout previously to get actual value.
virtual TimeUnitType get_ActualMajorUnitScale()Specifies actual major unit scale of the axis. Call method IChart::ValidateChartLayout previously to get actual value.
virtual double get_ActualMaxValue()Specifies actual maximum value on the axis. Call method IChart::ValidateChartLayout previously to get actual value.
virtual double get_ActualMinorUnit()Specifies actual minor unit of the axis. Call method IChart::ValidateChartLayout previously to get actual value.
virtual TimeUnitType get_ActualMinorUnitScale()Specifies actual minor unit scale of the axis. Call method IChart::ValidateChartLayout previously to get actual value.
virtual double get_ActualMinValue()Specifies actual minimum value on the axis. Call method IChart::ValidateChartLayout previously to get actual value.
virtual AxisAggregationType get_AggregationType()Represents aggregation type of category axis (binning). Applied to category. Used with Histogram or HistogramPareto series only.
virtual bool get_AxisBetweenCategories()Represents if the value axis crosses the category axis between categories. This property applies only to category axes, and it doesn’t apply to 3-D charts. Read bool.
virtual TimeUnitType get_BaseUnitScale()Specifies the smallest time unit that is represented on the date axis. Read TimeUnitType.
virtual double get_BinWidth()Specifies bin width when AggregationType property value setted to AxisAggregationType::ByBinWidth. Applied to category axes. Used with Histogram or HistogramPareto series only.
virtual Aspose::Slides::Charts::CategoryAxisType get_CategoryAxisType()Specifies the type of the category axis. Read CategoryAxisType.
virtual System::SharedPtr<IChart> get_Chart()Returns the chart. Read-only IChart.
virtual float get_CrossAt()Represents the point on the axis where the perpendicular axis crosses it. Read float.
virtual CrossesType get_CrossType()Represents the CrossType on the specified axis where the other axis crosses. Read CrossesType.
virtual DisplayUnitType get_DisplayUnit()Specifies the scaling value of the display units for the value axis. Read DisplayUnitType.
virtual System::SharedPtr<IAxisFormat> get_Format()Represents format of axis. Read-only IAxisFormat.
virtual bool get_HasTitle()Determines whether a axis has a visible title. Read bool.
virtual bool get_IsAutomaticMajorUnit()Indicates whether the major unit of the axis is automatically assigned. Read bool.
virtual bool get_IsAutomaticMaxValue()Indicates whether the max value is automatically assigned. Read bool.
virtual bool get_IsAutomaticMinorUnit()Indicates whether the minor unit of the axis is automatically assigned. Read bool.
virtual bool get_IsAutomaticMinValue()Indicates whether the min value is automatically assigned. Read bool.
virtual bool get_IsAutomaticOverflowBin()Specifies automatic overflow bin value. If false: use OverflowBin property.
virtual bool get_IsAutomaticTickLabelSpacing()Specifies automatic tick label spacing value. If false: use TickLabelSpacing property. Read bool.
virtual bool get_IsAutomaticTickMarksSpacing()Specifies automatic tick marks spacing value. If false: use TickMarksSpacing property. Read bool.
virtual bool get_IsAutomaticUnderflowBin()Specifies automatic underflow bin value. If false: use UnderflowBin property.
virtual bool get_IsLogarithmic()Represents if the value axis scale type is logarithmic or not. Read bool.
virtual bool get_IsNumberFormatLinkedToSource()Indicates whether the format is linked source data. Read bool.
virtual bool get_IsOverflowBin()Specifies if overflow bin applied. Use IsAutomaticOverflowBin and OverflowBin to adjust overflow bin value.
virtual bool get_IsPlotOrderReversed()Represents if MS PowerPoint plots data points from last to first. Read bool.
virtual bool get_IsUnderflowBin()Specifies if underflow bin applied. Use IsAutomaticUnderflowBin and UnderflowBin to adjust underflow bin value.
virtual bool get_IsVisible()Represents if the axis is visible. Read bool.
virtual uint16_t get_LabelOffset()Specifies the distance of labels from the axis. Applied to category or date axis. Value must be between 0% and 1000%. Read uint16_t.
virtual double get_LogBase()Represents the logarithmic base. Default value is 10. Read double.
virtual System::SharedPtr<IChartLinesFormat> get_MajorGridLinesFormat()Represents major gridlines format on a chart axis. Read-only IChartLinesFormat.
virtual TickMarkType get_MajorTickMark()Represents the type of major tick mark for the specified axis. Read TickMarkType.
virtual double get_MajorUnit()Represents the major units for the date or value axis. Read double.
virtual TimeUnitType get_MajorUnitScale()Represents the major unit scale for the date axis. Read TimeUnitType.
virtual double get_MaxValue()Represents the maximum value on the value axis. Read double.
virtual System::SharedPtr<IChartLinesFormat> get_MinorGridLinesFormat()Represents minor gridlines format on a chart axis. Read-only IChartLinesFormat.
virtual TickMarkType get_MinorTickMark()Represents the type of minor tick mark for the specified axis. Read TickMarkType.
virtual double get_MinorUnit()Represents the minor units for the date or value axis. Read double.
virtual TimeUnitType get_MinorUnitScale()Represents the major unit scale for the date axis. Read TimeUnitType.
virtual double get_MinValue()Represents the minimum value on the value axis. Read double.
virtual System::String get_NumberFormat()Represents the format string for the Axis Labels. Read System::String.
virtual uint32_t get_NumberOfBins()Specifies number of bins when AggregationType property value setted to AxisAggregationType::ByNumberOfBins. Applied to category axes. Used with Histogram or HistogramPareto series only.
virtual double get_OverflowBin()Specifies overflow bin custom value. Applied when IsAutomaticOverflowBin property setted to false and IsOverflowBin property equals true.
virtual AxisPositionType get_Position()Represents position of axis. Read AxisPositionType.
virtual System::SharedPtr<IPresentation> get_Presentation()Returns the presentation. Read-only IPresentation.
virtual bool get_ShowMajorGridLines()Represents if the major gridlines showed. Read-only bool.
virtual bool get_ShowMinorGridLines()Represents if the minor gridlines showed. Read-only bool.
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 TickLabelPositionType get_TickLabelPosition()Represents the position of tick-mark labels on the specified axis. Read TickLabelPositionType.
virtual float get_TickLabelRotationAngle()Represents the rotation angle of tick labels Read float.
virtual uint32_t get_TickLabelSpacing()Specifies how many tick labels to skip between label that is drawn. Read uint32_t.
virtual uint32_t get_TickMarksSpacing()Specifies how many tick marks shall be skipped before the next one shall be drawn. Applied to category or series axis. Read uint16_t.
virtual System::SharedPtr<IChartTitle> get_Title()Gets the axis’ title. Read-only IChartTitle.
virtual double get_UnderflowBin()Specifies underflow bin custom value. Applied when IsAutomaticUnderflowBin property setted to false and IsUnderflowBin property equals true.
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_AggregationType(AxisAggregationType)Represents aggregation type of category axis (binning). Applied to category. Used with Histogram or HistogramPareto series only.
virtual void set_AxisBetweenCategories(bool)Represents if the value axis crosses the category axis between categories. This property applies only to category axes, and it doesn’t apply to 3-D charts. Write bool.
virtual void set_BaseUnitScale(TimeUnitType)Specifies the smallest time unit that is represented on the date axis. Write TimeUnitType.
virtual void set_BinWidth(double)Specifies bin width when AggregationType property value setted to AxisAggregationType::ByBinWidth. Applied to category axes. Used with Histogram or HistogramPareto series only.
virtual void set_CategoryAxisType(Aspose::Slides::Charts::CategoryAxisType)Specifies the type of the category axis. Write CategoryAxisType.
virtual void set_CrossAt(float)Represents the point on the axis where the perpendicular axis crosses it. Write float.
virtual void set_CrossType(CrossesType)Represents the CrossType on the specified axis where the other axis crosses. Write CrossesType.
virtual void set_DisplayUnit(DisplayUnitType)Specifies the scaling value of the display units for the value axis. Write DisplayUnitType.
virtual void set_HasTitle(bool)Determines whether a axis has a visible title. Write bool.
virtual void set_IsAutomaticMajorUnit(bool)Indicates whether the major unit of the axis is automatically assigned. Write bool.
virtual void set_IsAutomaticMaxValue(bool)Indicates whether the max value is automatically assigned. Write bool.
virtual void set_IsAutomaticMinorUnit(bool)Indicates whether the minor unit of the axis is automatically assigned. Write bool.
virtual void set_IsAutomaticMinValue(bool)Indicates whether the min value is automatically assigned. Write bool.
virtual void set_IsAutomaticOverflowBin(bool)Specifies automatic overflow bin value. If false: use OverflowBin property.
virtual void set_IsAutomaticTickLabelSpacing(bool)Specifies automatic tick label spacing value. If false: use TickLabelSpacing property. Write bool.
virtual void set_IsAutomaticTickMarksSpacing(bool)Specifies automatic tick marks spacing value. If false: use TickMarksSpacing property. Write bool.
virtual void set_IsAutomaticUnderflowBin(bool)Specifies automatic underflow bin value. If false: use UnderflowBin property.
virtual void set_IsLogarithmic(bool)Represents if the value axis scale type is logarithmic or not. Write bool.
virtual void set_IsNumberFormatLinkedToSource(bool)Indicates whether the format is linked source data. Write bool.
virtual void set_IsOverflowBin(bool)Specifies if overflow bin applied. Use IsAutomaticOverflowBin and OverflowBin to adjust overflow bin value.
virtual void set_IsPlotOrderReversed(bool)Represents if MS PowerPoint plots data points from last to first. Write bool.
virtual void set_IsUnderflowBin(bool)Specifies if underflow bin applied. Use IsAutomaticUnderflowBin and UnderflowBin to adjust underflow bin value.
virtual void set_IsVisible(bool)Represents if the axis is visible. Write bool.
virtual void set_LabelOffset(uint16_t)Specifies the distance of labels from the axis. Applied to category or date axis. Value must be between 0% and 1000%. Write uint16_t.
virtual void set_LogBase(double)Represents the logarithmic base. Default value is 10. Write double.
virtual void set_MajorTickMark(TickMarkType)Represents the type of major tick mark for the specified axis. Write TickMarkType.
virtual void set_MajorUnit(double)Represents the major units for the date or value axis. Write double.
virtual void set_MajorUnitScale(TimeUnitType)Represents the major unit scale for the date axis. Write TimeUnitType.
virtual void set_MaxValue(double)Represents the maximum value on the value axis. Write double.
virtual void set_MinorTickMark(TickMarkType)Represents the type of minor tick mark for the specified axis. Write TickMarkType.
virtual void set_MinorUnit(double)Represents the minor units for the date or value axis. Write double.
virtual void set_MinorUnitScale(TimeUnitType)Represents the major unit scale for the date axis. Write TimeUnitType.
virtual void set_MinValue(double)Represents the minimum value on the value axis. Write double.
virtual void set_NumberFormat(System::String)Represents the format string for the Axis Labels. Write System::String.
virtual void set_NumberOfBins(uint32_t)Specifies number of bins when AggregationType property value setted to AxisAggregationType::ByNumberOfBins. Applied to category axes. Used with Histogram or HistogramPareto series only.
virtual void set_OverflowBin(double)Specifies overflow bin custom value. Applied when IsAutomaticOverflowBin property setted to false and IsOverflowBin property equals true.
virtual void set_Position(AxisPositionType)Represents position of axis. Write AxisPositionType.
virtual void set_TickLabelPosition(TickLabelPositionType)Represents the position of tick-mark labels on the specified axis. Write TickLabelPositionType.
virtual void set_TickLabelRotationAngle(float)Represents the rotation angle of tick labels Write float.
virtual void set_TickLabelSpacing(uint32_t)Specifies how many tick labels to skip between label that is drawn. Write uint32_t.
virtual void set_TickMarksSpacing(uint32_t)Specifies how many tick marks shall be skipped before the next one shall be drawn. Applied to category or series axis. Write uint16_t.
virtual void set_UnderflowBin(double)Specifies underflow bin custom value. Applied when IsAutomaticUnderflowBin property setted to false and IsUnderflowBin property equals true.
virtual void SetCategoryAxisTypeAutomatically()Sets IAxis::get(set)_CategoryAxisType property with a value that is automatically determined based on axis data.
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