Represents the axis options of the chart.
Shows how to insert a chart and modify the appearance of its axes.
#include <Aspose.Words.Cpp/Drawing/Charts/ChartAxis.h>
Public Member Functions | |
SharedPtr< Aspose::Words::Drawing::Charts::Core::ComplexTypes::DmlChartTx > | GenerateAutoTitle (SharedPtr< Aspose::Words::ApsBuilder::Dml::Charts::DmlChartRenderingContext > context) override |
bool | get_AxisBetweenCategories () |
Gets or sets a flag indicating whether the value axis crosses the category axis between categories. More... | |
AxisTimeUnit | get_BaseTimeUnit () |
Returns or sets the smallest time unit that is represented on the time category axis. More... | |
AxisCategoryType | get_CategoryType () |
Gets or sets type of the category axis. More... | |
AxisCrosses | get_Crosses () |
Specifies how this axis crosses the perpendicular axis. More... | |
double | get_CrossesAt () |
Specifies where on the perpendicular axis the axis crosses. More... | |
SharedPtr< AxisDisplayUnit > | get_DisplayUnit () |
Specifies the scaling value of the display units for the value axis. More... | |
SharedPtr< DocumentBase > | get_Document () override |
Returns the Document the title holder belongs. More... | |
SharedPtr< Aspose::Collections::StringToObjDictionary< SharedPtr< Aspose::Words::Drawing::Core::Dml::DmlExtension > > > | get_Extensions () override |
bool | get_Hidden () |
Gets or sets a flag indicating whether this axis is hidden or not. More... | |
bool | get_IsInherited () override |
bool | get_IsVisible () override |
AxisTickMark | get_MajorTickMark () |
Returns or sets the major tick marks. More... | |
double | get_MajorUnit () |
Returns or sets the distance between major tick marks. More... | |
bool | get_MajorUnitIsAuto () |
Gets or sets a flag indicating whether default distance between major tick marks shall be used. More... | |
AxisTimeUnit | get_MajorUnitScale () |
Returns or sets the scale value for major tick marks on the time category axis. More... | |
AxisTickMark | get_MinorTickMark () |
Returns or sets the minor tick marks for the axis. More... | |
double | get_MinorUnit () |
Returns or sets the distance between minor tick marks. More... | |
bool | get_MinorUnitIsAuto () |
Gets or sets a flag indicating whether default distance between minor tick marks shall be used. More... | |
AxisTimeUnit | get_MinorUnitScale () |
Returns or sets the scale value for minor tick marks on the time category axis. More... | |
SharedPtr< ChartNumberFormat > | get_NumberFormat () |
Returns a ChartNumberFormat object that allows defining number formats for the axis. More... | |
SharedPtr< Aspose::Words::Drawing::Charts::Core::ComplexTypes::DmlChartNumFormat > | get_NumFmt_INumberFormatProvider () override |
bool | get_ReverseOrder () |
Returns or sets a flag indicating whether values of axis should be displayed in reverse order, i.e. from max to min. More... | |
SharedPtr< AxisScaling > | get_Scaling () |
Provides access to the scaling options of the axis. More... | |
ParagraphAlignment | get_TickLabelAlignment () |
Gets or sets text alignment of axis tick labels. More... | |
int32_t | get_TickLabelOffset () |
Gets or sets the distance of labels from the axis. More... | |
AxisTickLabelPosition | get_TickLabelPosition () |
Returns or sets the position of the tick labels on the axis. More... | |
int32_t | get_TickLabelSpacing () |
Gets or sets the interval, at which tick labels are drawn. More... | |
bool | get_TickLabelSpacingIsAuto () |
Gets or sets a flag indicating whether automatic interval of drawing tick labels shall be used. More... | |
int32_t | get_TickMarkSpacing () |
Gets or sets the interval, at which tick marks are drawn. More... | |
SharedPtr< ChartTitle > | get_Title () override |
bool | get_TitleDeleted () override |
Aspose::Words::Drawing::Charts::Core::SimpleTypes::TitlePosition | get_TitlePosition () override |
ChartAxisType | get_Type () const |
Returns type of the axis. More... | |
virtual const TypeInfo & | GetType () const override |
virtual bool | Is (const TypeInfo &target) const override |
void | set_AxisBetweenCategories (bool value) |
Setter for get_AxisBetweenCategories. More... | |
void | set_BaseTimeUnit (AxisTimeUnit value) |
Setter for get_BaseTimeUnit. More... | |
void | set_CategoryType (AxisCategoryType value) |
Setter for get_CategoryType. More... | |
void | set_Crosses (AxisCrosses value) |
Setter for get_Crosses. More... | |
void | set_CrossesAt (double value) |
Setter for get_CrossesAt. More... | |
void | set_Extensions (SharedPtr< Aspose::Collections::StringToObjDictionary< SharedPtr< Aspose::Words::Drawing::Core::Dml::DmlExtension >>> value) override |
void | set_Hidden (bool value) |
Setter for get_Hidden. More... | |
void | set_MajorTickMark (AxisTickMark value) |
Setter for get_MajorTickMark. More... | |
void | set_MajorUnit (double value) |
Setter for get_MajorUnit. More... | |
void | set_MajorUnitIsAuto (bool value) |
Setter for get_MajorUnitIsAuto. More... | |
void | set_MajorUnitScale (AxisTimeUnit value) |
Setter for get_MajorUnitScale. More... | |
void | set_MinorTickMark (AxisTickMark value) |
Setter for get_MinorTickMark. More... | |
void | set_MinorUnit (double value) |
Setter for get_MinorUnit. More... | |
void | set_MinorUnitIsAuto (bool value) |
Setter for get_MinorUnitIsAuto. More... | |
void | set_MinorUnitScale (AxisTimeUnit value) |
Setter for get_MinorUnitScale. More... | |
void | set_NumFmt_INumberFormatProvider (SharedPtr< Aspose::Words::Drawing::Charts::Core::ComplexTypes::DmlChartNumFormat > value) override |
void | set_ReverseOrder (bool value) |
Setter for get_ReverseOrder. More... | |
void | set_TickLabelAlignment (ParagraphAlignment value) |
Setter for get_TickLabelAlignment. More... | |
void | set_TickLabelOffset (int32_t value) |
Setter for get_TickLabelOffset. More... | |
void | set_TickLabelPosition (AxisTickLabelPosition value) |
Setter for get_TickLabelPosition. More... | |
void | set_TickLabelSpacing (int32_t value) |
Setter for get_TickLabelSpacing. More... | |
void | set_TickLabelSpacingIsAuto (bool value) |
Setter for get_TickLabelSpacingIsAuto. More... | |
void | set_TickMarkSpacing (int32_t value) |
Setter for get_TickMarkSpacing. More... | |
void | set_Title (SharedPtr< ChartTitle > value) override |
void | set_TitleDeleted (bool value) override |
Static Public Member Functions | |
static const TypeInfo & | Type () |
|
override |
bool Aspose::Words::Drawing::Charts::ChartAxis::get_AxisBetweenCategories | ( | ) |
Gets or sets a flag indicating whether the value axis crosses the category axis between categories.
Shows how to get a graph axis to cross at a custom location.
Aspose::Words::Drawing::Charts::AxisTimeUnit Aspose::Words::Drawing::Charts::ChartAxis::get_BaseTimeUnit | ( | ) |
Returns or sets the smallest time unit that is represented on the time category axis.
Shows how to insert chart with date/time values.
Aspose::Words::Drawing::Charts::AxisCategoryType Aspose::Words::Drawing::Charts::ChartAxis::get_CategoryType | ( | ) |
Gets or sets type of the category axis.
Shows how to insert a chart and modify the appearance of its axes.
Aspose::Words::Drawing::Charts::AxisCrosses Aspose::Words::Drawing::Charts::ChartAxis::get_Crosses | ( | ) |
Specifies how this axis crosses the perpendicular axis.
Default value is Automatic.
The property is not supported by MS Office 2016 new charts.
Shows how to insert a chart and modify the appearance of its axes.
double Aspose::Words::Drawing::Charts::ChartAxis::get_CrossesAt | ( | ) |
Specifies where on the perpendicular axis the axis crosses.
The property has effect only if Crosses are set to Custom. It is not supported by MS Office 2016 new charts.
The units are determined by the type of axis. When the axis is a value axis, the value of the property is a decimal number on the value axis. When the axis is a time category axis, the value is defined as an integer number of days relative to the base date (30/12/1899). For a text category axis, the value is an integer category number, starting with 1 as the first category.
Shows how to get a graph axis to cross at a custom location.
System::SharedPtr<Aspose::Words::Drawing::Charts::AxisDisplayUnit> Aspose::Words::Drawing::Charts::ChartAxis::get_DisplayUnit | ( | ) |
Specifies the scaling value of the display units for the value axis.
Shows how to manipulate the tick marks and displayed values of a chart axis.
|
override |
Returns the Document the title holder belongs.
|
override |
bool Aspose::Words::Drawing::Charts::ChartAxis::get_Hidden | ( | ) |
Gets or sets a flag indicating whether this axis is hidden or not.
Shows how to hide chart axes.
|
override |
|
override |
Aspose::Words::Drawing::Charts::AxisTickMark Aspose::Words::Drawing::Charts::ChartAxis::get_MajorTickMark | ( | ) |
Returns or sets the major tick marks.
Shows how to insert a chart and modify the appearance of its axes.
double Aspose::Words::Drawing::Charts::ChartAxis::get_MajorUnit | ( | ) |
Returns or sets the distance between major tick marks.
Valid range of a value is greater than zero. The property has effect for time category and value axes.
Setting this property sets the MajorUnitIsAuto property to false.
Shows how to insert a chart and modify the appearance of its axes.
bool Aspose::Words::Drawing::Charts::ChartAxis::get_MajorUnitIsAuto | ( | ) |
Gets or sets a flag indicating whether default distance between major tick marks shall be used.
Shows how to manipulate the tick marks and displayed values of a chart axis.
Aspose::Words::Drawing::Charts::AxisTimeUnit Aspose::Words::Drawing::Charts::ChartAxis::get_MajorUnitScale | ( | ) |
Returns or sets the scale value for major tick marks on the time category axis.
Shows how to manipulate the tick marks and displayed values of a chart axis.
Aspose::Words::Drawing::Charts::AxisTickMark Aspose::Words::Drawing::Charts::ChartAxis::get_MinorTickMark | ( | ) |
Returns or sets the minor tick marks for the axis.
Shows how to insert a chart and modify the appearance of its axes.
double Aspose::Words::Drawing::Charts::ChartAxis::get_MinorUnit | ( | ) |
Returns or sets the distance between minor tick marks.
Valid range of a value is greater than zero. The property has effect for time category and value axes.
Setting this property sets the MinorUnitIsAuto property to false.
Shows how to insert a chart and modify the appearance of its axes.
bool Aspose::Words::Drawing::Charts::ChartAxis::get_MinorUnitIsAuto | ( | ) |
Gets or sets a flag indicating whether default distance between minor tick marks shall be used.
Shows how to manipulate the tick marks and displayed values of a chart axis.
Aspose::Words::Drawing::Charts::AxisTimeUnit Aspose::Words::Drawing::Charts::ChartAxis::get_MinorUnitScale | ( | ) |
Returns or sets the scale value for minor tick marks on the time category axis.
Shows how to manipulate the tick marks and displayed values of a chart axis.
System::SharedPtr<Aspose::Words::Drawing::Charts::ChartNumberFormat> Aspose::Words::Drawing::Charts::ChartAxis::get_NumberFormat | ( | ) |
Returns a ChartNumberFormat object that allows defining number formats for the axis.
Shows how to set formatting for chart values.
|
override |
bool Aspose::Words::Drawing::Charts::ChartAxis::get_ReverseOrder | ( | ) |
Returns or sets a flag indicating whether values of axis should be displayed in reverse order, i.e. from max to min.
Shows how to insert a chart and modify the appearance of its axes.
System::SharedPtr<Aspose::Words::Drawing::Charts::AxisScaling> Aspose::Words::Drawing::Charts::ChartAxis::get_Scaling | ( | ) |
Provides access to the scaling options of the axis.
Shows how to insert chart with date/time values.
Aspose::Words::ParagraphAlignment Aspose::Words::Drawing::Charts::ChartAxis::get_TickLabelAlignment | ( | ) |
Gets or sets text alignment of axis tick labels.
This property has effect only for multi-line labels.
Default value is Center.
Shows how to manipulate the tick marks and displayed values of a chart axis.
int32_t Aspose::Words::Drawing::Charts::ChartAxis::get_TickLabelOffset | ( | ) |
Gets or sets the distance of labels from the axis.
The property represents a percentage of the default label offset.
Valid range is from 0 to 1000 percent inclusive. Default value is 100%.
The property has effect only for category axes. It is not supported by MS Office 2016 new charts.
Shows how to insert a chart and modify the appearance of its axes.
Aspose::Words::Drawing::Charts::AxisTickLabelPosition Aspose::Words::Drawing::Charts::ChartAxis::get_TickLabelPosition | ( | ) |
Returns or sets the position of the tick labels on the axis.
Shows how to insert a chart and modify the appearance of its axes.
int32_t Aspose::Words::Drawing::Charts::ChartAxis::get_TickLabelSpacing | ( | ) |
Gets or sets the interval, at which tick labels are drawn.
The property has effect for text category and series axes. It is not supported by MS Office 2016 new charts. Valid range of a value is greater than or equal to 1.
Setting this property sets the TickLabelSpacingIsAuto property to false.
Shows how to manipulate the tick marks and displayed values of a chart axis.
bool Aspose::Words::Drawing::Charts::ChartAxis::get_TickLabelSpacingIsAuto | ( | ) |
Gets or sets a flag indicating whether automatic interval of drawing tick labels shall be used.
Default value is true.
The property has effect for text category and series axes. It is not supported by MS Office 2016 new charts.
Shows how to insert a chart and modify the appearance of its axes.
int32_t Aspose::Words::Drawing::Charts::ChartAxis::get_TickMarkSpacing | ( | ) |
Gets or sets the interval, at which tick marks are drawn.
The property has effect for text category and series axes. It is not supported by MS Office 2016 new charts.
Valid range of a value is greater than or equal to 1.
Shows how to insert a chart and modify the appearance of its axes.
|
override |
|
override |
|
override |
Aspose::Words::Drawing::Charts::ChartAxisType Aspose::Words::Drawing::Charts::ChartAxis::get_Type | ( | ) | const |
Returns type of the axis.
Shows how to create an appropriate type of chart series for a graph type.
|
overridevirtual |
|
overridevirtual |
void Aspose::Words::Drawing::Charts::ChartAxis::set_AxisBetweenCategories | ( | bool | value | ) |
void Aspose::Words::Drawing::Charts::ChartAxis::set_BaseTimeUnit | ( | Aspose::Words::Drawing::Charts::AxisTimeUnit | value | ) |
void Aspose::Words::Drawing::Charts::ChartAxis::set_CategoryType | ( | Aspose::Words::Drawing::Charts::AxisCategoryType | value | ) |
void Aspose::Words::Drawing::Charts::ChartAxis::set_Crosses | ( | Aspose::Words::Drawing::Charts::AxisCrosses | value | ) |
void Aspose::Words::Drawing::Charts::ChartAxis::set_CrossesAt | ( | double | value | ) |
|
override |
void Aspose::Words::Drawing::Charts::ChartAxis::set_Hidden | ( | bool | value | ) |
void Aspose::Words::Drawing::Charts::ChartAxis::set_MajorTickMark | ( | Aspose::Words::Drawing::Charts::AxisTickMark | value | ) |
void Aspose::Words::Drawing::Charts::ChartAxis::set_MajorUnit | ( | double | value | ) |
void Aspose::Words::Drawing::Charts::ChartAxis::set_MajorUnitIsAuto | ( | bool | value | ) |
void Aspose::Words::Drawing::Charts::ChartAxis::set_MajorUnitScale | ( | Aspose::Words::Drawing::Charts::AxisTimeUnit | value | ) |
void Aspose::Words::Drawing::Charts::ChartAxis::set_MinorTickMark | ( | Aspose::Words::Drawing::Charts::AxisTickMark | value | ) |
void Aspose::Words::Drawing::Charts::ChartAxis::set_MinorUnit | ( | double | value | ) |
void Aspose::Words::Drawing::Charts::ChartAxis::set_MinorUnitIsAuto | ( | bool | value | ) |
void Aspose::Words::Drawing::Charts::ChartAxis::set_MinorUnitScale | ( | Aspose::Words::Drawing::Charts::AxisTimeUnit | value | ) |
|
override |
void Aspose::Words::Drawing::Charts::ChartAxis::set_ReverseOrder | ( | bool | value | ) |
void Aspose::Words::Drawing::Charts::ChartAxis::set_TickLabelAlignment | ( | Aspose::Words::ParagraphAlignment | value | ) |
void Aspose::Words::Drawing::Charts::ChartAxis::set_TickLabelOffset | ( | int32_t | value | ) |
void Aspose::Words::Drawing::Charts::ChartAxis::set_TickLabelPosition | ( | Aspose::Words::Drawing::Charts::AxisTickLabelPosition | value | ) |
void Aspose::Words::Drawing::Charts::ChartAxis::set_TickLabelSpacing | ( | int32_t | value | ) |
void Aspose::Words::Drawing::Charts::ChartAxis::set_TickLabelSpacingIsAuto | ( | bool | value | ) |
void Aspose::Words::Drawing::Charts::ChartAxis::set_TickMarkSpacing | ( | int32_t | value | ) |
|
override |
|
override |
|
static |