.. include:: headings.inc .. currentmodule:: lib.plot .. highlight:: python .. _lib.plot.TestFrame: ========================================================================================================================================== |phoenix_title| **TestFrame** ========================================================================================================================================== | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for class **TestFrame** .. raw:: html

Inheritance diagram of TestFrame

| |super_classes| Known Superclasses ================================== :class:`Frame` | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~lib.plot.TestFrame.__init__` :meth:`~lib.plot.TestFrame.DrawPointLabel` This is the fuction that defines how the pointLabels are plotted :meth:`~lib.plot.TestFrame.OnBackgroundGray` :meth:`~lib.plot.TestFrame.OnBackgroundWhite` :meth:`~lib.plot.TestFrame.OnEnableAntiAliasing` :meth:`~lib.plot.TestFrame.OnEnableCenterLines` :meth:`~lib.plot.TestFrame.OnEnableDiagonals` :meth:`~lib.plot.TestFrame.OnEnableDrag` :meth:`~lib.plot.TestFrame.OnEnableGrid` :meth:`~lib.plot.TestFrame.OnEnableHiRes` :meth:`~lib.plot.TestFrame.OnEnableLegend` :meth:`~lib.plot.TestFrame.OnEnablePointLabel` :meth:`~lib.plot.TestFrame.OnEnableZoom` :meth:`~lib.plot.TestFrame.OnFileExit` :meth:`~lib.plot.TestFrame.OnFilePageSetup` :meth:`~lib.plot.TestFrame.OnFilePrint` :meth:`~lib.plot.TestFrame.OnFilePrintPreview` :meth:`~lib.plot.TestFrame.OnForegroundBlack` :meth:`~lib.plot.TestFrame.OnForegroundRed` :meth:`~lib.plot.TestFrame.OnHelpAbout` :meth:`~lib.plot.TestFrame.OnMotion` :meth:`~lib.plot.TestFrame.OnMouseLeftDown` :meth:`~lib.plot.TestFrame.OnPlotClear` :meth:`~lib.plot.TestFrame.OnPlotDraw1` :meth:`~lib.plot.TestFrame.OnPlotDraw2` :meth:`~lib.plot.TestFrame.OnPlotDraw3` :meth:`~lib.plot.TestFrame.OnPlotDraw4` :meth:`~lib.plot.TestFrame.OnPlotDraw5` :meth:`~lib.plot.TestFrame.OnPlotDraw6` :meth:`~lib.plot.TestFrame.OnPlotDraw7` :meth:`~lib.plot.TestFrame.OnPlotRedraw` :meth:`~lib.plot.TestFrame.OnPlotScale` :meth:`~lib.plot.TestFrame.OnReset` :meth:`~lib.plot.TestFrame.OnSaveFile` :meth:`~lib.plot.TestFrame.OnScrRt` :meth:`~lib.plot.TestFrame.OnScrUp` :meth:`~lib.plot.TestFrame.resetDefaults` Just to reset the fonts back to the PlotCanvas defaults ================================================================================ ================================================================================ | |api| Class API =============== .. class:: TestFrame(Frame) .. method:: __init__(self, parent, id, title) .. method:: DrawPointLabel(self, dc, mDataDict) This is the fuction that defines how the pointLabels are plotted dc - DC that will be passed mDataDict - Dictionary of data that you want to use for the pointLabel As an example I have decided I want a box at the curve point with some text information about the curve plotted below. Any wxDC method can be used. .. method:: OnBackgroundGray(self, event) .. method:: OnBackgroundWhite(self, event) .. method:: OnEnableAntiAliasing(self, event) .. method:: OnEnableCenterLines(self, event) .. method:: OnEnableDiagonals(self, event) .. method:: OnEnableDrag(self, event) .. method:: OnEnableGrid(self, event) .. method:: OnEnableHiRes(self, event) .. method:: OnEnableLegend(self, event) .. method:: OnEnablePointLabel(self, event) .. method:: OnEnableZoom(self, event) .. method:: OnFileExit(self, event) .. method:: OnFilePageSetup(self, event) .. method:: OnFilePrint(self, event) .. method:: OnFilePrintPreview(self, event) .. method:: OnForegroundBlack(self, event) .. method:: OnForegroundRed(self, event) .. method:: OnHelpAbout(self, event) .. method:: OnMotion(self, event) .. method:: OnMouseLeftDown(self,event) .. method:: OnPlotClear(self,event) .. method:: OnPlotDraw1(self, event) .. method:: OnPlotDraw2(self, event) .. method:: OnPlotDraw3(self, event) .. method:: OnPlotDraw4(self, event) .. method:: OnPlotDraw5(self, event) .. method:: OnPlotDraw6(self, event) .. method:: OnPlotDraw7(self, event) .. method:: OnPlotRedraw(self,event) .. method:: OnPlotScale(self, event) .. method:: OnReset(self,event) .. method:: OnSaveFile(self, event) .. method:: OnScrRt(self,event) .. method:: OnScrUp(self, event) .. method:: resetDefaults(self) Just to reset the fonts back to the PlotCanvas defaults