esppy.plotting.StreamingChart.line¶
-
StreamingChart.
line
(self, x, y, label=None, line_color=None, line_width=None, line_dash=None, line_dash_offset=None, line_cap_style=None, line_join_style=None, line_tension=None, color=None, fill_color=None, fill_mode=False, point_radius=0, point_style=None, display=True, span_gaps=False, stacked=False)¶ Create a line 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
- line_dashlist-of-ints or list-of-floats, optional
The line dash pattern
- line_dash_offsetint or float, optional
The offset to start the line dash pattern
- line_cap_stylestring, optional
The method of drawing line endpoints: ‘butt’, ‘round’, ‘square’
- line_join_stylestring, optional
The method of drawing line intersections: ‘bevel’, ‘round’, ‘miter’
- line_tensionint or float, optional
Bezier curve tension of the line
- colorstring, optional
Alias of line_color
- fill_colorstring, optional
The fill color under the line
- fill_modestring or int or bool, optional
- Determines the method of filling.
int - fill to the dataset at the given index
numeric string (e.g., ‘-1’, ‘-2’, ‘+1’) - fill to relative dataset index
string - fill to ‘start’, ‘end’, ‘origin’
bool - True means fill to origin, False means no fill
- point_radiusint or float, optional
The radius of the data points
- displaybool, optional
Should the line itself be displayed?
- span_gapsbool, optional
Should missing values be spanned?