Inherits from
- BaseCandlePlot: enthought.chaco.base_candle_plot.BaseCandlePlot
Attributes
- bar_max
The "upper" extent of the "bar", i.e. the value closest to the corresponding value in max_values at each index.
bar_max = Instance(AbstractDataSource)
- bar_min
The "lower" extent of the "bar", i.e. the value closest to the corresponding value in min_values at each index.
bar_min = Instance(AbstractDataSource)
- center_values
Values that appear inside the bar, between bar_min and bar_max. These Are usually mean or median values, and are rendered with a solid line of a different color than the bar fill color. This can be None.
center_values = Instance(AbstractDataSource)
- max_values
The maximum value at each index point. If None, then no stem and no endcap line will be drawn above each bar.
max_values = Instance(AbstractDataSource)
- min_values
The minimum values at each index point. If None, then no stem and no endcap line will be drawn below each bar.
min_values = Instance(AbstractDataSource)
- value
value = Property
Inherited from base classes
- accepts_focus
- active_tool
- alpha
- aspect_ratio
- auto_center
- auto_handle_event
- backbuffer_padding
- bgcolor
- border_color
- border_dash
- border_visible
- border_width
- bounds
- classes
- container
- controller
- cursor_color
- cursor_style
- draw_layer
- draw_order
- draw_valid
- drawn_outer_bounds
- drawn_outer_position
- event_state
- fill_padding
- get
- height
- hgrid
- hittest_type
- hpadding
- id
- index
- index_mapper
- index_range
- inset_border
- invisible_layout
- labels
- layout_needed
- on_trait_event
- orientation
- origin_axis_color
- origin_axis_visible
- origin_axis_width
- outer_bounds
- outer_height
- outer_position
- outer_width
- outer_x
- outer_x2
- outer_y
- outer_y2
- overlay_border
- overlays
- padding
- padding_accepts_focus
- padding_bottom
- padding_left
- padding_right
- padding_top
- pointer
- position
- set
- tools
- tooltip
- trait_added
- trait_modified
- underlays
- unified_draw
- use_backbuffer
- use_downsampling
- use_draw_order
- use_selection
- use_subdivision
- value_mapper
- value_range
- vgrid
- viewports
- visible
- vpadding
- width
- window
- wrappers
- x
- x2
- x_axis
- x_mapper
- y
- y2
- y_axis
- y_mapper
Method summary
- map_data(self, screen_pt, all_values = True)
- map_index(self, screen_pt, threshold = 0.0, outside_returns_none = True, index_only = True)
Inherited from base classes
- __deepcopy__(self, memo)
- __getstate__(self)
- __init__(self, **kwtraits)
- __prefix_trait__(self, name, is_set)
- __reduce_ex__(self, protocol)
- __setstate__(self, state)
- add_class_trait(cls, name, *trait)
- add_trait(self, name, *trait)
- add_trait_category(cls, category)
- add_trait_listener(self, object, prefix = '')
- all_trait_names(self)
- as_coordinates(self)
- base_trait(self, name)
- class_default_traits_view(cls)
- class_editable_traits(cls)
- class_trait_names(cls, **metadata)
- class_trait_view(cls, name = None, view_element = None)
- class_trait_view_elements(cls)
- class_traits(cls, **metadata)
- cleanup(self, window)
- clone_traits(self, traits = None, memo = None, copy = None, **metadata)
- configure_traits(self, filename = None, view = None, kind = None, edit = True, context = None, handler = None, id = '', scrollable = None, **args)
- copy_traits(self, other, traits = None, memo = None, copy = None, **metadata)
- copyable_trait_names(self, **metadata)
- default_traits_view(self)
- dispatch(self, event, suffix)
- do_layout(self, size = None, force = False)
- draw(self, gc, view_bounds = None, mode = 'default')
- draw_select_box(self, gc, position, bounds, width, dash, inset, color, bgcolor, marker_size)
- edit_traits(self, view = None, parent = None, kind = None, context = None, handler = None, id = '', scrollable = None, **args)
- editable_traits(self)
- get_absolute_coords(self, *coords)
- get_closest_line(self, screen_pt, threshold = 7.0)
- get_closest_point(self, screen_pt, threshold = 7.0)
- get_event_transform(self, event = None, suffix = '')
- get_preferred_size(self)
- has_traits_interface(self, *interfaces)
- hittest(self, screen_pt, threshold = 7.0, return_distance = False)
- invalidate_and_redraw(self)
- invalidate_draw(self, damaged_regions = None, self_relative = False)
- is_in(self, x, y)
- map_screen(self, data_array)
- on_trait_change(self, handler, name = None, remove = False, dispatch = 'same', priority = False, deferred = False)
- print_traits(self, show_help = False, **metadata)
- remove_trait(self, name)
- remove_trait_listener(self, object, prefix = '')
- request_redraw(self)
- reset_traits(self, traits = None, **metadata)
- set_outer_bounds(self, ndx, val)
- set_outer_position(self, ndx, val)
- set_trait_dispatch_handler(cls, name, klass, override = False)
- sync_trait(self, trait_name, object, alias = None, mutual = True, remove = False)
- trait(self, name, force = False, copy = False)
- trait_context(self)
- trait_get(self, *names, **metadata)
- trait_monitor(cls, handler, remove = False)
- trait_names(self, **metadata)
- trait_set(self, trait_change_notify = True, **traits)
- trait_setq(self, **traits)
- trait_subclasses(cls, all = False)
- trait_view(self, name = None, view_element = None)
- trait_view_elements(self)
- trait_views(self, klass = None)
- traits(self, **metadata)
- validate_trait(self, name, value)
Methods
- map_data(self, screen_pt, all_values = True)
Maps a screen space point into the "index" space of the plot.
Overrides the BaseXYPlot implementation, and always returns an array of (index, value) tuples.
- map_index(self, screen_pt, threshold = 0.0, outside_returns_none = True, index_only = True)