Inherits from
- NativeScrollBar: enthought.enable.native_scrollbar.NativeScrollBar
Attributes
- axis
The axis corresponding to this scrollbar.
axis = Enum('index', 'value')
- mapper
The mapper for associated with the scrollbar. By default, this is the mapper on plot that corresponds to axis.
mapper = Property
- plot
The renderer or Plot to attach this scrollbar to. By default, this is just self.component.
plot = Property
Method summary
- __plot_changed(self, old, new)
- force_data_update(self)
- overlay(self, component, gc, view_bounds = None, mode = 'default')
Methods
- __plot_changed(self, old, new)
- force_data_update(self)
This forces the scrollbar to recompute its range bounds. This should be used if datasources are changed out on the range, or if the data ranges on existing datasources of the range are changed.
- overlay(self, component, gc, view_bounds = None, mode = 'default')