cleanup
This commit is contained in:
@@ -9,8 +9,6 @@
|
|||||||
Chart::Chart(QGraphicsItem *parent, Qt::WindowFlags wFlags)
|
Chart::Chart(QGraphicsItem *parent, Qt::WindowFlags wFlags)
|
||||||
: QChart(QChart::ChartTypeCartesian, parent, 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);
|
setContentsMargins(0, 0, 0, 0);
|
||||||
setMargins(QMargins(0,0,0,0));
|
setMargins(QMargins(0,0,0,0));
|
||||||
setBackgroundRoundness(0);
|
setBackgroundRoundness(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user