| 44 | } |
| 45 | |
| 46 | QString CartesianCoordinateSystem::info() const { |
| 47 | DEBUG(Q_FUNC_INFO) |
| 48 | if (!name().isEmpty()) |
| 49 | return name(); |
| 50 | |
| 51 | if (d->plot) |
| 52 | return QString(QLatin1String("x = ") + d->plot->range(Dimension::X, d->xIndex).toString() + QLatin1String(", y = ") |
| 53 | + d->plot->range(Dimension::Y, d->yIndex).toString()); |
| 54 | |
| 55 | return i18n("no info available"); |
| 56 | } |
| 57 | |
| 58 | // ############################################################################## |
| 59 | // ######################### logical to scene mappers ########################### |
no test coverage detected