chaco.base_candle_plot module¶
-
chaco.base_candle_plot.
Alias
(name)¶
-
class
chaco.base_candle_plot.
BaseCandlePlot
(**kwtraits)¶ Bases:
chaco.base_xy_plot.BaseXYPlot
Represents the base class for candle- and bar-type plots that are multi-valued at each index point, and optionally have an extent in the index dimension.
Implements the rendering logic and centralizes a lot of the visual attributes for these sorts of plots. The gather and culling and clipping of data is up to individual subclasses.
-
bar_color
= Alias("color")¶ The fill color of the bar
-
bar_line_color
= Alias("outline_color")¶ The color of the rectangular box forming the bar.
-
center_color
= Optional(ColorTrait("black"))¶ The color of the line drawn across the bar at the center values. If None, this defaults to bar_line_color.
-
center_width
= Optional(Int(1))¶ The thickeness, in pixels, of the line drawn across the bar at the center values. If None, this defaults to line_width.
-
color
= ColorTrait("black")¶ The fill color of the marker.
-
end_cap
= Bool(True)¶ Whether or not to draw bars at the min and max extents of the error bar
-
get_screen_points
()¶ Returns the currently visible screen-space points.
Intended for use with overlays.
-
line_width
= Float(1.0)¶ The thickness, in pixels, of the outline to draw around the bar. If this is 0, no outline is drawn.
-
outline_color
= ColorTrait("black")¶ The color of the outline to draw around the bar.
-
stem_color
= Optional(ColorTrait("black"))¶ The color of the stems reaching from the bar ends to the min and max values. Also the color of the endcap line segments at min and max. If None, this defaults to bar_line_color.
-
stem_width
= Optional(Int(1))¶ The thickness, in pixels, of the stem lines. If None, this defaults to line_width.
-