cleanup
This commit is contained in:
parent
af09e38132
commit
8ad8af67b7
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user