diff --git a/src/qchartview.cpp b/src/qchartview.cpp index d533d38..37b59a2 100644 --- a/src/qchartview.cpp +++ b/src/qchartview.cpp @@ -43,6 +43,7 @@ QChartView::QChartView(QWidget *parent) : m_verticalRubberBand(false), m_horizonalRubberBand(false) { + setFrameShape(QFrame::NoFrame); setBackgroundRole(QPalette::Window); setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);