esppy.plotting.StreamingChart.hbar

StreamingChart.hbar(self, x, y, **kwargs)

Create a horizontal bar chart

Parameters
xstring

The x-axis variable name

ystring

The y-axis variable name

labelstring, optional

The label for the data set (used in the legend)

line_colorstring, optional

CSS color value for the stroke color

line_widthint or float, optional

The stroke thickness of the data points

colorstring, optional

Alias for color

fill_colorstring, optional

The fill color for data points

border_skippedstring, optional

Border to avoid drawing: ‘bottom’, ‘top’, ‘left’, ‘right’

bar_percentagefloat, optional

The percentage of space within the category to use

category_percentagefloat, optional

The percentage of space to use for each category. bar_percentage is the percentage within this space to use for each bar.

bar_thicknessint or float, optional

The manually-set thickness of the bars

stack_idstring, optional

The stack identifier for the bar. All bars using the same stack identifier are stacked onto each other.