esppy.plotting.StreamingChart.bar¶
-
StreamingChart.
bar
(self, x, y, label=None, displayed_labels=None, line_color=None, line_width=1, color=None, fill_color=None, border_skipped=None, bar_percentage=None, category_percentage=None, bar_thickness=None, max_bar_thickness=None, stack_id=None, orientation='vertical')¶ Create a 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)
- displayed_labelsstring
The variable name containing labels to display in place of x values
- 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.
- orientationstring, optional
The orientation of the chart: ‘horizontal’, ‘vertical’