##// END OF EJS Templates
chartwidgettest updated
Marek Rosa -
r1583:ccda934c8c27
parent child
Show More
@@ -94,6 +94,7 TableWidget::TableWidget(QWidget *parent)
94 //! [7]
94 //! [7]
95
95
96 //! [8]
96 //! [8]
97 chart->createDefaultAxes();
97 QChartView *chartView = new QChartView(chart);
98 QChartView *chartView = new QChartView(chart);
98 chartView->setRenderHint(QPainter::Antialiasing);
99 chartView->setRenderHint(QPainter::Antialiasing);
99 chartView->setMinimumSize(640, 480);
100 chartView->setMinimumSize(640, 480);
@@ -315,6 +315,7 void MainWidget::addSeries(QString seriesName, int columnCount, int rowCount, QS
315 m_chart->addSeries(series);
315 m_chart->addSeries(series);
316 }
316 }
317 }
317 }
318 m_chart->createDefaultAxes();
318 }
319 }
319
320
320 void MainWidget::backgroundChanged(int itemIndex)
321 void MainWidget::backgroundChanged(int itemIndex)
General Comments 0
You need to be logged in to leave comments. Login now