@@ -581,11 +581,17 void QChart::removeAxis(QAbstractAxis *axis) | |||||
581 | d_ptr->m_dataset->removeAxis(axis); |
|
581 | d_ptr->m_dataset->removeAxis(axis); | |
582 | } |
|
582 | } | |
583 |
|
583 | |||
|
584 | /*! | |||
|
585 | Returns the value in the \a series domain that coresponds to the charts widget point defines by \a position. | |||
|
586 | */ | |||
584 | QPointF QChart::mapToValue(const QPointF &position, QAbstractSeries *series) |
|
587 | QPointF QChart::mapToValue(const QPointF &position, QAbstractSeries *series) | |
585 | { |
|
588 | { | |
586 | return d_ptr->m_dataset->mapToValue(position, series); |
|
589 | return d_ptr->m_dataset->mapToValue(position, series); | |
587 | } |
|
590 | } | |
588 |
|
591 | |||
|
592 | /*! | |||
|
593 | Returns the position on the charts widget that coresponds to the \a value in the \a series domain. | |||
|
594 | */ | |||
589 | QPointF QChart::mapToPosition(const QPointF &value, QAbstractSeries *series) |
|
595 | QPointF QChart::mapToPosition(const QPointF &value, QAbstractSeries *series) | |
590 | { |
|
596 | { | |
591 | return d_ptr->m_dataset->mapToPosition(value, series); |
|
597 | return d_ptr->m_dataset->mapToPosition(value, series); |
General Comments 0
You need to be logged in to leave comments.
Login now