esppy.plotting.StreamingChart.pie

StreamingChart.pie(self, x, y, line_color=None, line_width=1, fill_color=None, rotation=None, circumference=None)

Create a pie chart

Parameters
xstring

The slice categories

ystring

The value of the slice

line_colorstring, optional

CSS color of the arc borders

line_widthstring, optional

The width of the arc borders

fill_colorstring, optional

CSS fill color for the arcs

rotationfloat, optional

The angle, in radians, to start drawing arcs from

circumferencefloat, optional

The angle, in radians, to sweep the arcs