AXisTickLabels.is_auto_spacing property. Gets or sets a flag indicating whether to use automatic interval for drawing the tick labels....series with categories for the X-axis and respective numeric values... and tick marks. x_axis = chart . axis_x x_axis . category_type...