| 143 | } |
| 144 | |
| 145 | QString LinePrivate::name() const { |
| 146 | if (dynamic_cast<ErrorBar*>(q->parentAspect())) |
| 147 | return q->parentAspect()->parentAspect()->name(); // for error bars we need to go one level higher to get the curve/plot name |
| 148 | else |
| 149 | return q->parentAspect()->name(); |
| 150 | } |
| 151 | |
| 152 | void LinePrivate::update() { |
| 153 | pen.setStyle(style); |
no test coverage detected