IAxis
Overview
IAxis is a class in Aspose.Slides FOSS for Python.
Inherits from: IFormattedTextContainer, ABC.
Encapsulates the object that represents a chart’s axis.
This class declares 1 method for IAxis objects in Python programs.
Available methods include: set_category_axis_type_automatically.
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
| Name | Type | Access | Description |
|---|---|---|---|
axis_between_categories | bool | Read/Write | Represents if the value axis crosses the category axis between categories. |
cross_at | float | Read/Write | Represents the point on the axis where the perpendicular axis crosses it. |
display_unit | DisplayUnitType | Read/Write | Specifies the scaling value of the display units for the value axis. |
actual_max_value | float | Read | Specifies actual maximum value on the axis. |
actual_min_value | float | Read | Specifies actual minimum value on the axis. |
actual_major_unit | float | Read | Specifies actual major unit of the axis. |
actual_minor_unit | float | Read | Specifies actual minor unit of the axis. |
actual_major_unit_scale | TimeUnitType | Read | Specifies actual major unit scale of the axis. |
actual_minor_unit_scale | TimeUnitType | Read | Specifies actual minor unit scale of the axis. |
is_automatic_max_value | bool | Read/Write | Indicates whether the max value is automatically assigned. |
max_value | float | Read/Write | Represents the maximum value on the value axis. |
minor_unit | float | Read/Write | Represents the minor units for the date or value axis. |
is_automatic_minor_unit | bool | Read/Write | Indicates whether the minor unit of the axis is automatically assigned. |
major_unit | float | Read/Write | Represents the major units for the date or value axis. |
is_automatic_major_unit | bool | Read/Write | Indicates whether the major unit of the axis is automatically assigned. |
is_automatic_min_value | bool | Read/Write | Indicates whether the min value is automatically assigned. |
min_value | float | Read/Write | Represents the minimum value on the value axis. |
is_logarithmic | bool | Read/Write | Represents if the value axis scale type is logarithmic or not. |
log_base | float | Read/Write | Represents the logarithmic base. |
is_plot_order_reversed | bool | Read/Write | Represents if MS PowerPoint plots data points from last to first. |
is_visible | bool | Read/Write | Represents if the axis is visible. |
major_tick_mark | TickMarkType | Read/Write | Represents the type of major tick mark for the specified axis. |
minor_tick_mark | TickMarkType | Read/Write | Represents the type of minor tick mark for the specified axis. |
tick_label_position | TickLabelPositionType | Read/Write | Represents the position of tick-mark labels on the specified axis. |
major_unit_scale | TimeUnitType | Read/Write | Represents the major unit scale for the date axis. |
minor_unit_scale | TimeUnitType | Read/Write | Represents the major unit scale for the date axis. |
base_unit_scale | TimeUnitType | Read/Write | Specifies the smallest time unit that is represented on the date axis. |
minor_grid_lines_format | IChartLinesFormat | Read | Represents minor gridlines format on a chart axis. |
major_grid_lines_format | IChartLinesFormat | Read | Represents major gridlines format on a chart axis. |
show_minor_grid_lines | bool | Read | Represents if the minor gridlines showed. |
show_major_grid_lines | bool | Read | Represents if the major gridlines showed. |
format | IAxisFormat | Read | Represents format of axis. |
title | IChartTitle | Read | Gets the axis’ title. |
cross_type | CrossesType | Read/Write | Represents the CrossType on the specified axis where the other axis crosses. |
position | AxisPositionType | Read/Write | Represents position of axis. |
has_title | bool | Read/Write | Determines whether a axis has a visible title. |
number_format | str | Read/Write | Represents the format string for the Axis Labels. |
is_number_format_linked_to_source | bool | Read/Write | Indicates whether the format is linked source data. |
tick_label_rotation_angle | float | Read/Write | Represents the rotation angle of tick labels Read/write . |
tick_label_spacing | int | Read/Write | Specifies how many tick labels to skip between label that is drawn. |
is_automatic_tick_label_spacing | bool | Read/Write | Specifies automatic tick label spacing value. |
tick_marks_spacing | int | Read/Write | Specifies how many tick marks shall be skipped before the next one shall be drawn. |
is_automatic_tick_marks_spacing | bool | Read/Write | Specifies automatic tick marks spacing value. |
label_offset | int | Read/Write | Specifies the distance of labels from the axis. |
category_axis_type | CategoryAxisType | Read/Write | Specifies the type of the category axis. |
text_format | IChartTextFormat | Read | Gets the text format. |
as_i_chart_component | IChartComponent | Read | Returns IChartComponent interface. |
chart | IChart | Read | Gets the chart. |
as_i_slide_component | ISlideComponent | Read | Gets the as i slide component. |
slide | IBaseSlide | Read | Gets the slide. |
as_i_presentation_component | IPresentationComponent | Read | Gets the as i presentation component. |
presentation | IPresentation | Read | Gets the presentation. |
Methods
| Signature | Description |
|---|---|
set_category_axis_type_automatically() | Calls set_category_axis_type_automatically on this IAxis instance. |