MCPcopy Create free account
hub / github.com/MITK/MITK / GetDataLabels

Method GetDataLabels

Modules/Chart/src/QmitkChartWidget.cpp:488–496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

486}
487
488QList<QVariant> QmitkChartWidget::Impl::GetDataLabels(const ChartxyDataVector &c3xyData) const
489{
490 QList<QVariant> dataLabels;
491 for (auto element = c3xyData.begin(); element != c3xyData.end(); ++element)
492 {
493 dataLabels.push_back((*element)->GetLabel());
494 }
495 return dataLabels;
496}
497
498void QmitkChartWidget::Impl::SetXAxisLabel(const std::string &label)
499{

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
GetLabelMethod · 0.45

Tested by

no test coverage detected