![]() |
Power System Platform
2026w23a-beta
|
This class is responsible to manage the charts generated in the transient electromechanical studies. More...
#include <ChartView.h>


Public Member Functions | |
| ChartView (wxWindow *parent, std::vector< ElementPlotData > epdList, std::vector< double > time, PlotLib plotLib=PlotLib::wxMATH_PLOT) | |
| void | Fit () |
| void | UpdatePlot (bool fit=true) |
Protected Member Functions | |
| virtual void | OnClose (wxCloseEvent &event) |
| virtual void | OnResize (wxSizeEvent &event) |
| virtual void | OnMenuExpCSVClick (wxCommandEvent &event) |
| virtual void | OnTreeItemActivated (wxTreeEvent &event) |
| virtual void | OnTreeItemSelectionChanged (wxTreeEvent &event) |
| virtual void | OnMenuDarkThemeClick (wxCommandEvent &event) |
| virtual void | OnMenuExitClick (wxCommandEvent &event) |
| virtual void | OnMenuFitClick (wxCommandEvent &event) |
| virtual void | OnMenuSaveImageClick (wxCommandEvent &event) |
| virtual void | OnMenuSendClipClick (wxCommandEvent &event) |
| virtual void | OnMenuShowCoordinatesClick (wxCommandEvent &event) |
| virtual void | OnMenuShowGridClick (wxCommandEvent &event) |
| virtual void | OnMenuShowLabelClick (wxCommandEvent &event) |
| virtual void | OnPropertyGridChange (wxPropertyGridEvent &event) |
| virtual void | OnRightClickDown (wxMouseEvent &event) |
| virtual void | SetMPWindow () |
| virtual void | SetTreectrl () |
| virtual void | BuildColourList () |
| virtual wxColour | GetNextColour () |
| virtual wxTreeItemId | AllToYAxis (wxTreeItemId root) |
| virtual wxTreeItemId | UpdateAllPlots (wxTreeItemId root) |
| virtual wxTreeItemId | UpdateAllPlotsCharDir (wxTreeItemId root, XYChart *chartDir) |
| virtual wxString | GetActiveCurvesCSV () |
| virtual wxTreeItemId | GetActivePlotData (wxTreeItemId root, std::vector< PlotData * > &plotDataList) |
| virtual void | DrawChartDir () |
| virtual void | OnViewPortChanged (wxCommandEvent &event) |
| virtual void | OnMouseMovePlotArea (wxCommandEvent &event) |
| virtual void | DrawTrackLine (XYChart *chartDir) |
| virtual char | DotOrComma () |
| virtual wxString | GetUnitFromMagText (wxString magText) |
| virtual wxTreeItemId | CalcXYLimits (wxTreeItemId root, XYChart *chartDir) |
Protected Attributes | |
| wxPGProperty * | m_pgPropColor = nullptr |
| wxTreeItemId | m_treeTimeID |
| wxTreeItemId | m_selectedItemID |
| std::vector< ElementPlotData > | m_epdList |
| std::vector< double > | m_time |
| std::vector< double > | m_xAxisValues |
| PlotLib | m_plotLib = PlotLib::wxMATH_PLOT |
| mpWindow * | m_mpWindow = nullptr |
| mpScaleX * | m_xaxis = nullptr |
| mpScaleY * | m_yaxis = nullptr |
| mpText * | m_chartTitle = nullptr |
| mpInfoCoords * | m_coords = nullptr |
| mpInfoLegend * | m_leg = nullptr |
| wxChartViewer * | m_chartViewerDir = nullptr |
| wxBoxSizer * | m_sizerChart = nullptr |
| wxSize | m_chartViewerSize = wxSize(200, 200) |
| int | m_legendHeight = 0 |
| int | m_trackLinePos = 0 |
| double | m_xMin = 0.0 |
| double | m_xMax = 0.0 |
| double | m_yMin = 0.0 |
| double | m_yMax = 0.0 |
| bool | m_firstPlot = true |
| bool | m_forceAxisLimits = false |
| wxString | m_sugestXLabel = _("Time (s)") |
| wxString | m_sugestYLabel = "" |
| std::map< int, int > | m_rawDataColour |
| bool | m_hideGrid = false |
| bool | m_showLeg = true |
| bool | m_showCoords = false |
| bool | m_darkTheme = false |
| std::vector< wxColour > | m_colourList |
| std::vector< wxColour >::iterator | m_itColourList |
This class is responsible to manage the charts generated in the transient electromechanical studies.
Definition at line 48 of file ChartView.h.
| ChartView::ChartView | ( | wxWindow * | parent, |
| std::vector< ElementPlotData > | epdList, | ||
| std::vector< double > | time, | ||
| PlotLib | plotLib = PlotLib::wxMATH_PLOT |
||
| ) |
Definition at line 24 of file ChartView.cpp.
|
virtual |
Definition at line 97 of file ChartView.cpp.
|
protectedvirtual |
Definition at line 583 of file ChartView.cpp.
|
protectedvirtual |
Definition at line 553 of file ChartView.cpp.
|
protectedvirtual |
Definition at line 1037 of file ChartView.cpp.
|
inlineprotectedvirtual |
Definition at line 86 of file ChartView.h.
|
protectedvirtual |
Definition at line 810 of file ChartView.cpp.
|
protectedvirtual |
Definition at line 962 of file ChartView.cpp.
| void ChartView::Fit | ( | ) |
Definition at line 416 of file ChartView.cpp.
|
protectedvirtual |
Definition at line 726 of file ChartView.cpp.
|
protectedvirtual |
Definition at line 782 of file ChartView.cpp.
|
protectedvirtual |
Definition at line 573 of file ChartView.cpp.
|
protectedvirtual |
Definition at line 1025 of file ChartView.cpp.
|
protectedvirtual |
Definition at line 1092 of file ChartView.cpp.
|
protectedvirtual |
Definition at line 257 of file ChartView.cpp.
|
inlineprotectedvirtual |
Definition at line 64 of file ChartView.h.
|
protectedvirtual |
Definition at line 702 of file ChartView.cpp.
|
inlineprotectedvirtual |
Definition at line 65 of file ChartView.h.
|
protectedvirtual |
Definition at line 282 of file ChartView.cpp.
|
protectedvirtual |
Definition at line 327 of file ChartView.cpp.
|
protectedvirtual |
Definition at line 373 of file ChartView.cpp.
|
protectedvirtual |
Definition at line 389 of file ChartView.cpp.
|
protectedvirtual |
Definition at line 402 of file ChartView.cpp.
|
protectedvirtual |
Definition at line 926 of file ChartView.cpp.
|
protectedvirtual |
Definition at line 178 of file ChartView.cpp.
|
protectedvirtual |
Definition at line 1082 of file ChartView.cpp.
|
protectedvirtual |
Definition at line 252 of file ChartView.cpp.
|
protectedvirtual |
Definition at line 496 of file ChartView.cpp.
|
protectedvirtual |
Definition at line 525 of file ChartView.cpp.
|
protectedvirtual |
Definition at line 920 of file ChartView.cpp.
|
protectedvirtual |
Definition at line 105 of file ChartView.cpp.
|
protectedvirtual |
Definition at line 140 of file ChartView.cpp.
|
protectedvirtual |
Definition at line 604 of file ChartView.cpp.
|
protectedvirtual |
Definition at line 637 of file ChartView.cpp.
| void ChartView::UpdatePlot | ( | bool | fit = true | ) |
Definition at line 443 of file ChartView.cpp.
|
protected |
Definition at line 104 of file ChartView.h.
|
protected |
Definition at line 108 of file ChartView.h.
|
protected |
Definition at line 110 of file ChartView.h.
|
protected |
Definition at line 128 of file ChartView.h.
|
protected |
Definition at line 105 of file ChartView.h.
|
protected |
Definition at line 126 of file ChartView.h.
|
protected |
Definition at line 95 of file ChartView.h.
|
protected |
Definition at line 117 of file ChartView.h.
|
protected |
Definition at line 118 of file ChartView.h.
|
protected |
Definition at line 123 of file ChartView.h.
|
protected |
Definition at line 129 of file ChartView.h.
|
protected |
Definition at line 106 of file ChartView.h.
|
protected |
Definition at line 111 of file ChartView.h.
|
protected |
Definition at line 101 of file ChartView.h.
|
protected |
Definition at line 90 of file ChartView.h.
|
protected |
Definition at line 99 of file ChartView.h.
|
protected |
Definition at line 121 of file ChartView.h.
|
protected |
Definition at line 93 of file ChartView.h.
|
protected |
Definition at line 125 of file ChartView.h.
|
protected |
Definition at line 124 of file ChartView.h.
|
protected |
Definition at line 109 of file ChartView.h.
|
protected |
Definition at line 119 of file ChartView.h.
|
protected |
Definition at line 120 of file ChartView.h.
|
protected |
Definition at line 96 of file ChartView.h.
|
protected |
Definition at line 112 of file ChartView.h.
|
protected |
Definition at line 92 of file ChartView.h.
|
protected |
Definition at line 102 of file ChartView.h.
|
protected |
Definition at line 97 of file ChartView.h.
|
protected |
Definition at line 114 of file ChartView.h.
|
protected |
Definition at line 113 of file ChartView.h.
|
protected |
Definition at line 103 of file ChartView.h.
|
protected |
Definition at line 116 of file ChartView.h.
|
protected |
Definition at line 115 of file ChartView.h.