Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我曾经使用
splineseries->append(i.key().toMSecsSinceEpoch(),i.value());
但是 x 轴得到相同的值重复。
将工作 。但是我们已经为 DateTimeaxis 设置了最小值和最大值,例如
Xaxis->setMin(QDateTime(QDate(2018,01,01),QTime(01,00,00))); Xaxis->setMax(QDateTime(QDate(2050,01,03),QTime(12,00,00)));