##// END OF EJS Templates
commented out scroll implementations from QChart. Was calling ticksCount() which is now private
sauimone -
r1546:7a970647db42
parent child
Show More
@@ -358,7 +358,7 QChart::AnimationOptions QChart::animationOptions() const
358 */
358 */
359 void QChart::scrollLeft()
359 void QChart::scrollLeft()
360 {
360 {
361 d_ptr->m_presenter->scroll(-d_ptr->m_presenter->geometry().width()/(axisX()->ticksCount()-1),0);
361 // d_ptr->m_presenter->scroll(-d_ptr->m_presenter->geometry().width()/(axisX()->ticksCount()-1),0);
362 }
362 }
363
363
364 /*!
364 /*!
@@ -366,7 +366,7 void QChart::scrollLeft()
366 */
366 */
367 void QChart::scrollRight()
367 void QChart::scrollRight()
368 {
368 {
369 d_ptr->m_presenter->scroll(d_ptr->m_presenter->geometry().width()/(axisX()->ticksCount()-1),0);
369 // d_ptr->m_presenter->scroll(d_ptr->m_presenter->geometry().width()/(axisX()->ticksCount()-1),0);
370 }
370 }
371
371
372 /*!
372 /*!
@@ -374,7 +374,7 void QChart::scrollRight()
374 */
374 */
375 void QChart::scrollUp()
375 void QChart::scrollUp()
376 {
376 {
377 d_ptr->m_presenter->scroll(0,d_ptr->m_presenter->geometry().width()/(axisY()->ticksCount()-1));
377 // d_ptr->m_presenter->scroll(0,d_ptr->m_presenter->geometry().width()/(axisY()->ticksCount()-1));
378 }
378 }
379
379
380 /*!
380 /*!
@@ -382,7 +382,7 void QChart::scrollUp()
382 */
382 */
383 void QChart::scrollDown()
383 void QChart::scrollDown()
384 {
384 {
385 d_ptr->m_presenter->scroll(0,-d_ptr->m_presenter->geometry().width()/(axisY()->ticksCount()-1));
385 // d_ptr->m_presenter->scroll(0,-d_ptr->m_presenter->geometry().width()/(axisY()->ticksCount()-1));
386 }
386 }
387
387
388 /*!
388 /*!
General Comments 0
You need to be logged in to leave comments. Login now