Skip to content

Commit

Permalink
更新图表
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Feb 21, 2021
1 parent 289d4dd commit 9210581
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,6 @@ void CatLineChart::on_SaveButton_clicked()
ui->ChartWidget->SetTracer(false);
customPlot->replot();
customPlot->toPixmap(customPlot->width(), customPlot->height()).save(file);
qDebug() << file;
customPlot->xAxis->setRange(lastxlower.toTime_t(), lastxupper.toTime_t());
customPlot->yAxis->setRange(lastylower, lastyupper);
ui->ChartWidget->SetTracer(true);
Expand Down

0 comments on commit 9210581

Please sign in to comment.