This is simply a class that adds alot of user interface stuff to the standard BLT plot.
Methods
|
|
|
|
__cBox
|
__cBox (
self,
f,
label,
items,
)
Make a customized Combobox (used in graphSetup)
|
|
__defineMenus
|
__defineMenus ( self )
|
|
__init__
|
__init__ (
self,
master=None,
cnf={},
**kw,
)
|
|
clear
|
clear ( self )
clears the plot
|
|
descending
|
descending ( self )
|
|
displayValues
|
displayValues ( self, event )
getValues(self, event)
display an element's name, and the current value
|
|
elementSetup
|
elementSetup ( self, event )
Make a dialog, and ask for a specified graph's color, linewidth etc.
This function is called when the graph is double-clicked.
|
|
hideSelection
|
hideSelection ( self, event )
hideDisplay(self, event)
|
|
mouseDown
|
mouseDown ( self, event )
|
|
mouseDrag
|
mouseDrag ( self, event )
|
|
mouseMove
|
mouseMove ( self, event )
The next functions configures the Crosshairs
|
|
popupMenu
|
popupMenu (
self,
event,
menu,
)
popupMenu(self, event, menu)
create a popup menu
|
|
raiseElement
|
raiseElement ( self, event )
raiseElement(event)
Brings the selected data point to the front
|
|
setTitles
|
setTitles ( self, event=None )
create a dialogue box to edit the Graph title, and axis labels
|
|
showAxis
|
showAxis ( self )
The next functions configure the axes
|
|
showCrosshairs
|
showCrosshairs ( self )
|
|
showGrid
|
showGrid ( self )
The next functions configures the Grid
|
|
showLegend
|
showLegend ( self )
The next functions configures the Legend
|
|
xlogScale
|
xlogScale ( self )
|
|
ylogScale
|
ylogScale ( self )
|
|
zoom
|
zoom ( self )
|
|
zoomIn
|
zoomIn ( self, event )
|
|
zoomOut
|
zoomOut ( self, event )
zoomOut (self, event)
zooms out to the previous zoom state - can only zoom as far as the first zoom state.
|