odoo/openerp/pychart/pie_plot_doc.py

36 lines
2.2 KiB
Python

# -*- coding: utf-8 -*-
# automatically generated by generate_docs.py.
doc="""Attributes supported by this class are:
label_fill_style(type:fill_style.T) default="The fill style of the frame surrounding each label.".
center(type:(x,y)) default="The location of the center of the pie.".
arrow_style(type:arrow.T) default="The style of arrow that connects a label
to the corresponding "pie".".
start_angle(type:number) default="The angle at which the first item is drawn.".
label_format(type:printf format string) default="Format string of the label".
arc_offsets(type:list) default="You can draw each pie "slice" shifted off-center.
This attribute, if non-None,
must be a number sequence whose length is equal to
the number of pie slices. The Nth value in arc_offsets
specify the amount of offset
(from the center of the circle)
for the Nth slice.
The value of None will draw all the slices
anchored at the center.
".
label_offset(type:length in points (\\xref{unit})) default="The distance from the center of each label.".
label_line_style(type:line_style.T) default="The style of the frame surrounding each label.".
label_col(type:int) default="The column, within "data", from which the labels of items are retrieved.".
data_col(type:int) default=" The column, within "data", from which the data values are retrieved.".
radius(type:length in points (\\xref{unit})) default="The radius of the pie.".
fill_styles(type:list) default="The fill style of each item. The length of the
list should be equal to the length of the data.
".
line_style(type:line_style.T) default="The style of the outer edge of each pie slice.".
data(type:any) default="Specifies the data points. <<chart_data>>".
shadow(type:<function ShadowType at 0xb7d4db8c>) default="The value is either None or a tuple. When non-None,
a drop-shadow is drawn beneath the object. X-off, and y-off specifies the
offset of the shadow relative to the object, and fill specifies the
style of the shadow (@pxref{module-fill-style}).".
"""