Unsolved stretch ChartView on full Widget
-
Good afternoon. Tell me how to stretch QchartView the whole screen? Specific sizes are now specified, but I need the size to vary depending on the size of the base window
QChartView *chartView = new QChartView(ui->tabChart); chartView->resize(1070, 700); // swap? chartView->setChart(chart); chartView->setRenderHint(QPainter::Antialiasing);
-