esppy.plotting.StreamingChart.donut

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

Create a donut 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

cutout_percentageint, optional

The percentage of the center of the chart that is empty

rotationfloat, optional

The angle, in radians, to start drawing arcs from

circumferencefloat, optional

The angle, in radians, to sweep the arcs