Power System Platform
2024w23a
|
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) | |
void | Fit () |
void | UpdatePlot (bool fit=true) |
Protected Member Functions | |
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 | SetMPWindow () |
virtual void | SetTreectrl () |
virtual void | BuildColourList () |
virtual wxColour | GetNextColour () |
virtual wxTreeItemId | AllToYAxis (wxTreeItemId root) |
virtual wxTreeItemId | UpdateAllPlots (wxTreeItemId root) |
virtual wxString | GetActiveCurvesCSV () |
virtual wxTreeItemId | GetActivePlotData (wxTreeItemId root, std::vector< PlotData * > &plotDataList) |
Protected Attributes | |
wxPGProperty * | m_pgPropColor = nullptr |
wxTreeItemId | m_treeTimeID |
std::vector< ElementPlotData > | m_epdList |
std::vector< double > | m_time |
std::vector< double > | m_xAxisValues |
mpWindow * | m_mpWindow = nullptr |
mpScaleX * | m_xaxis = nullptr |
mpScaleY * | m_yaxis = nullptr |
mpText * | m_chartTitle = nullptr |
mpInfoCoords * | m_coords = nullptr |
mpInfoLegend * | m_leg = nullptr |
bool | m_hideGrid = true |
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.