Axis

Overview

Axis is a class in Aspose.Slides FOSS for Python. Inherits from: IAxis.

Encapsulates the object that represents a chart’s axis.

This class provides 1 method for working with Axis objects in Python programs. Available methods include: set_category_axis_type_automatically. All public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package. Properties: actual_major_unit, actual_major_unit_scale, actual_max_value, actual_min_value, actual_minor_unit, actual_minor_unit_scale, and 46 more.

Properties

NameTypeAccessDescription
axis_between_categoriesboolRead/WriteGets or sets the axis between categories.
category_axis_typeCategoryAxisTypeRead/WriteGets or sets the category axis type.
cross_typeCrossesTypeRead/WriteGets or sets the cross type.
cross_atfloatRead/WriteGets or sets the cross at.
display_unitDisplayUnitTypeRead/WriteGets or sets the display unit.
max_valuefloatRead/WriteGets or sets the max value.
is_automatic_max_valueboolRead/WriteGets or sets the is automatic max value.
min_valuefloatRead/WriteGets or sets the min value.
is_automatic_min_valueboolRead/WriteGets or sets the is automatic min value.
major_unitfloatRead/WriteGets or sets the major unit.
is_automatic_major_unitboolRead/WriteGets or sets the is automatic major unit.
minor_unitfloatRead/WriteGets or sets the minor unit.
is_automatic_minor_unitboolRead/WriteGets or sets the is automatic minor unit.
is_logarithmicboolRead/WriteGets or sets the is logarithmic.
log_basefloatRead/WriteGets or sets the log base.
is_plot_order_reversedboolRead/WriteGets or sets the is plot order reversed.
is_visibleboolRead/WriteGets or sets the is visible.
positionAxisPositionTypeRead/WriteGets or sets the position.
major_tick_markTickMarkTypeRead/WriteGets or sets the major tick mark.
minor_tick_markTickMarkTypeRead/WriteGets or sets the minor tick mark.
tick_label_positionTickLabelPositionTypeRead/WriteGets or sets the tick label position.
tick_label_spacingintRead/WriteGets or sets the tick label spacing.
is_automatic_tick_label_spacingboolRead/WriteGets or sets the is automatic tick label spacing.
tick_marks_spacingintRead/WriteGets or sets the tick marks spacing.
is_automatic_tick_marks_spacingboolRead/WriteGets or sets the is automatic tick marks spacing.
tick_label_rotation_anglefloatRead/WriteGets or sets the tick label rotation angle.
label_offsetintRead/WriteGets or sets the label offset.
number_formatstrRead/WriteGets or sets the number format.
is_number_format_linked_to_sourceboolRead/WriteGets or sets the is number format linked to source.
has_titleboolRead/WriteGets or sets the has title.
show_major_grid_linesboolReadGets the show major grid lines.
show_minor_grid_linesboolReadGets the show minor grid lines.
major_unit_scaleTimeUnitTypeRead/WriteGets or sets the major unit scale.
minor_unit_scaleTimeUnitTypeRead/WriteGets or sets the minor unit scale.
base_unit_scaleTimeUnitTypeRead/WriteGets or sets the base unit scale.
actual_max_valuefloatReadGets the actual max value.
actual_min_valuefloatReadGets the actual min value.
actual_major_unitfloatReadGets the actual major unit.
actual_minor_unitfloatReadGets the actual minor unit.
actual_major_unit_scaleTimeUnitTypeReadGets the actual major unit scale.
actual_minor_unit_scaleTimeUnitTypeReadGets the actual minor unit scale.
format``ReadReturns the format of the axis.
text_format``ReadReturns the chart text format for axis labels.
title``ReadGets the axis’ title.
major_grid_lines_format``ReadReturns the format of major gridlines.
minor_grid_lines_format``ReadReturns the format of minor gridlines.
as_i_chart_componentIChartComponentReadReturns IChartComponent interface.
chartIChartReadGets the chart.
as_i_slide_componentISlideComponentReadGets the as i slide component.
slideIBaseSlideReadGets the slide.
as_i_presentation_componentIPresentationComponentReadGets the as i presentation component.
presentationIPresentationReadGets the presentation.

Methods

SignatureDescription
set_category_axis_type_automatically()Configures the axis to determine its category type automatically

See Also