| 434 | } |
| 435 | |
| 436 | void QmitkChartWidget::Impl::UpdateLabel(const std::string &existingLabel, const std::string &newLabel) { |
| 437 | auto element = GetDataElementByLabel(existingLabel); |
| 438 | if (element) |
| 439 | { |
| 440 | auto definedLabels = GetDataLabels(m_C3xyData); |
| 441 | auto uniqueLabel = GetUniqueLabelName(definedLabels, newLabel); |
| 442 | element->SetLabel(QString::fromStdString(uniqueLabel)); |
| 443 | } |
| 444 | } |
| 445 | |
| 446 | void QmitkChartWidget::Impl::SetColor(const std::string &label, const std::string &colorName) |
| 447 | { |
no test coverage detected