| 56 | } |
| 57 | |
| 58 | std::unique_ptr<QmitkChartxyData> mitk::ChartExampleTestHelper::GetDataThree() |
| 59 | { |
| 60 | auto myDataThree = std::make_unique<QmitkChartxyData>(); |
| 61 | |
| 62 | std::vector< std::pair<double, double> > data; |
| 63 | |
| 64 | for (int i = 20; i < 30; i++) |
| 65 | { |
| 66 | data.emplace_back(i, i); |
| 67 | } |
| 68 | |
| 69 | myDataThree->SetData(data); |
| 70 | myDataThree->SetLabel("DataThree"); |
| 71 | myDataThree->SetChartType("bar"); |
| 72 | myDataThree->SetColor("blue"); |
| 73 | myDataThree->SetLineStyle("solid"); |
| 74 | |
| 75 | return myDataThree; |
| 76 | } |
| 77 | |
| 78 | std::unique_ptr<QmitkChartxyData> mitk::ChartExampleTestHelper::GetDataFour() |
| 79 | { |
no test coverage detected