Skip to content
Snippets Groups Projects
Commit b6b8e057 authored by Paul Beuchat's avatar Paul Beuchat
Browse files

Specified the colour and thickness of the lines on the CS1 chart

parent 3ae6c2f6
No related branches found
No related tags found
No related merge requests found
......@@ -82,6 +82,10 @@ CsoneControllerTab::CsoneControllerTab(QWidget *parent) :
ui->chartView_for_x->chart()->addSeries(m_lineSeries_for_setpoint_x);
ui->chartView_for_x->chart()->addSeries(m_lineSeries_for_measured_x);
// Set the style of the series
m_lineSeries_for_setpoint_x->setPen(QPen( QBrush("blue") , 5.0 ));
m_lineSeries_for_measured_x->setPen(QPen( QBrush("red") , 5.0 ));
// Set the initial axes limits
ui->chartView_for_x->chart()->createDefaultAxes();
ui->chartView_for_x->chart()->axisX()->setMin(-1.0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment