From b6b8e057b5cbabfdf1db8d63a0ba872a056182f0 Mon Sep 17 00:00:00 2001
From: Paul Beuchat <beuchatp@control.ee.ethz.ch>
Date: Mon, 25 Nov 2019 11:13:10 +0100
Subject: [PATCH] Specified the colour and thickness of the lines on the CS1
 chart

---
 .../GUI_Qt/flyingAgentGUI/src/csonecontrollertab.cpp          | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dfall_ws/src/dfall_pkg/GUI_Qt/flyingAgentGUI/src/csonecontrollertab.cpp b/dfall_ws/src/dfall_pkg/GUI_Qt/flyingAgentGUI/src/csonecontrollertab.cpp
index dc90b63b..ebea9668 100644
--- a/dfall_ws/src/dfall_pkg/GUI_Qt/flyingAgentGUI/src/csonecontrollertab.cpp
+++ b/dfall_ws/src/dfall_pkg/GUI_Qt/flyingAgentGUI/src/csonecontrollertab.cpp
@@ -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);
-- 
GitLab