This commit is contained in:
Jan Grewe 2018-09-11 14:42:07 +02:00
parent af09e38132
commit 8ad8af67b7

View File

@ -9,8 +9,6 @@
Chart::Chart(QGraphicsItem *parent, Qt::WindowFlags wFlags)
: QChart(QChart::ChartTypeCartesian, parent, wFlags)
{
// Seems that QGraphicsView (QChartView) does not grab gestures.
// They can only be grabbed here in the QGraphicsWidget (QChart).
setContentsMargins(0, 0, 0, 0);
setMargins(QMargins(0,0,0,0));
setBackgroundRoundness(0);