##// END OF EJS Templates
Fix the dynamicspline example
Michal Klocek -
r1304:052ae85991a9
parent child
Show More
@@ -57,10 +57,8 Chart::~Chart()
57 57 void Chart::handleTimeout()
58 58 {
59 59 m_x += m_step;
60 qreal y = m_y;
61 60 m_y = qrand() % 5 - 2.5;
62 61 m_series->append(m_x, m_y);
63 if (m_x >= 10)
64 m_series->remove(m_x - 10,y);
65 62 scrollRight();
63 if(m_x==100) m_timer.stop();
66 64 }
General Comments 0
You need to be logged in to leave comments. Login now