Skip to content

Commit

Permalink
Simulation Experiment view: now provide a default value for the legen…
Browse files Browse the repository at this point in the history
…d title of a valid graph (1662).
  • Loading branch information
agarny committed May 25, 2018
1 parent 4b42b6a commit a7381b2
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -3373,7 +3373,8 @@ void SimulationExperimentViewSimulationWidget::addGraph(CellMLSupport::CellmlFil

graphPanel->plot()->legend()->setUpdatesEnabled(false);

graphPanel->addGraph(new GraphPanelWidget::GraphPanelPlotGraph(pParameterX, pParameterY));
graphPanel->addGraph(new GraphPanelWidget::GraphPanelPlotGraph(pParameterX, pParameterY),
GraphPanelWidget::GraphPanelPlotGraphProperties(pParameterY->formattedName()));
}

//==============================================================================
Expand Down

0 comments on commit a7381b2

Please sign in to comment.