diff --git a/src/GUI/graphitem.cpp b/src/GUI/graphitem.cpp index a9a198a5..b023de93 100644 --- a/src/GUI/graphitem.cpp +++ b/src/GUI/graphitem.cpp @@ -11,7 +11,7 @@ GraphItem::GraphItem(const Graph &graph, GraphType type, int width, Q_ASSERT(_graph.isValid()); _units = Metric; - _pen = QPen(color, width, style); + _pen = QPen(color, width, style, Qt::FlatCap); _sx = 0; _sy = 0; _time = _graph.hasTime(); setZValue(2.0);