Chart

Overview

Chart is a class in Aspose.Cells FOSS for Python.

Represents a chart in a worksheet.

This class declares 4 methods for Chart objects in Python programs. Available methods include: __init__, add_axis, add_series, copy. Public members are accessible to any Python application after installing the Aspose.Cells FOSS for Python package. Properties: NSeries, View3D, axes, bar_direction, box_gap_width, box_show_inner_points, and 35 more.

Properties

NameTypeAccessDescription
type-ReadGets the type.
title-Read/WriteGets or sets the title.
category_data-Read/WriteGets or sets the category data.
show_legend-Read/WriteGets or sets the show legend.
legend_position-Read/WriteGets or sets the legend position.
smooth-Read/WriteGets or sets the smooth.
n_series-ReadGets the n series.
NSeries-ReadPascalCase alias of n_series.
grouping-Read/WriteGets or sets the grouping.
bar_direction-Read/WriteGets or sets the bar direction.
gap_width-Read/WriteGets or sets the gap width.
overlap-Read/WriteGets or sets the overlap.
vary_colors-Read/WriteGets or sets the vary colors.
first_slice_angle-Read/WriteGets or sets the first slice angle.
is_of_pie-Read/WriteGets or sets the is of pie.
of_pie_type-Read/WriteGets or sets the of pie type.
second_pie_size-Read/WriteGets or sets the second pie size.
quartile_method-Read/WriteGets or sets the quartile method.
box_show_mean_line-Read/WriteGets or sets the box show mean line.
box_show_mean_marker-Read/WriteGets or sets the box show mean marker.
box_show_inner_points-Read/WriteGets or sets the box show inner points.
box_show_outlier_points-Read/WriteGets or sets the box show outlier points.
box_gap_width-Read/WriteGets or sets the box gap width.
is_3d-Read/WriteGets or sets the is 3d.
gap_depth-Read/WriteGets or sets the gap depth.
view_3d-ReadGets the view 3d.
View3D-ReadPascalCase alias of view_3d.
show_connector_lines-Read/WriteGets or sets the show connector lines.
has_subtotals-Read/WriteGets or sets the has subtotals.
sub_charts-ReadList of sub-chart descriptors for combo charts.
axes-ReadList of ChartAxis objects defining all axes for the chart.
scatter_style-Read/WriteGets or sets the scatter style.
wireframe-Read/WriteWhether the surface chart uses wireframe display mode (<c:wireframe val=‘1’/>).
radar_style-Read/WriteRadar chart style: ‘standard’, ‘marker’, or ‘filled’.
histogram_bin_count-Read/WriteNumber of bins for count-based binning (int or None for auto/size-based).
histogram_bin_size-Read/WriteBin width for size-based binning (float or None for auto/count-based).
histogram_interval_closed-Read/WriteWhich side of each bin interval is closed: ‘r’ (right) or ’l’ (left).
histogram_overflow-Read/WriteOverflow bin boundary value (float or None).
histogram_underflow-Read/WriteUnderflow bin boundary value (float or None).
disp_blanks_as-Read/WriteGets or sets the disp blanks as.
stock_style-Read/WriteGets or sets the stock style.

Methods

SignatureDescription
__init__(chart_type, upper_left_row, upper_left_column, lower_right_row, lower_right_column)Calls init(chart_type, upper_left_row, upper_left_column, lower_right_row, lower_right_column) on this Chart instance.
add_series(values, category_data, name, chart_type, x_values)Convenience method to add a series.
add_axis(axis_type, axis_id)Adds an axis to the chart and returns it.
copy()Calls copy on this Chart instance.

See Also

 English