Changeset - 10ba6568d60a
[Not reviewed]
plot-manager
0 1 0
Hasan Yavuz Ă–ZDERYA - 9 years ago 2016-08-26 15:54:45
hy@ozderya.net
add new plot with current view options
1 file changed with 6 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/plotmanager.cpp
Show inline comments
 
@@ -170,6 +170,12 @@ Plot* PlotManager::addPlotWidget()
 
    auto plot = new Plot();
 
    plotWidgets.append(plot);
 
    layout->addWidget(plot);
 

	
 
    plot->darkBackground(darkBackgroundAction.isChecked());
 
    plot->showGrid(showGridAction.isChecked());
 
    plot->showMinorGrid(showMinorGridAction.isChecked());
 
    // TODO: show legend
 

	
 
    return plot;
 
}
 

	
0 comments (0 inline, 0 general)