PyChart Reference Manual

Node:legend, Next:line_style, Previous:pie_plot, Up:Top

## Legends

XXX %%legend.T

bottom_fudge number | Attribute

Default: 3. Amount of space below the last line.

frame_fill_style <class 'pychart.fill_style.T'> | Attribute

Default: fill_style.white.

frame_line_style <class 'pychart.line_style.T'> | Attribute

Default: line_style.black.

inter_col_sep number | Attribute

Default: 0. Space between each column in the legend.

inter_row_sep number | Attribute

Default: 0. Space between each row in the legend.

left_fudge number | Attribute

Default: 5. Amount of space left of the legend.

loc (x,y) | Attribute

Default: None. Bottom-left corner of the legend.

nr_rows int | Attribute

Default: 9999. Number of rows in the legend. If the number of plots in a chart is larger than nr_rows, multiple columns are created for their legends.

right_fudge number | Attribute

Default: 5. Amount of space right of the legend.

shadow (xoff,yoff,fill) | Attribute

Default: None. 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 (see fill_style).

top_fudge number | Attribute

Default: 0. Amount of space above the first line.

The default location of a legend is the bottom-right end of the chart.