Adds a listener to the panel
The id of the handler (can be used to remove the handler) Optional - an id will be assigned (and returned) if not supplied @returns{string} The id of the handler or null if the type did not exist
The function to call
Repaint the view, using a cached image if available.
If true then a cached image will not be used
Redraw the tile
Optional
svg: Functionif a callback is supplied , then the actual browser will not repaint but a serialises svg string of the browser's contents will be passed to the function
Sets the highlighted region
An object containing chr, start and end
The name(id) of the region (used to remove the region)
The color to give the highlighted region
Sets the filter function for track.
The id of the track
The filter function. It should accept the feature and return true to dispaly the feature and false to hide it. Use null to cancel the filter
Updated the panel view, if chromosome start and end are supplied it will go to this location. If no parameters are given the panel will be redrawn at the same location e.g after the color, scale or another paramter has been set
of the region to draw
of the region to draw
Creates a panel