| 36 | } |
| 37 | |
| 38 | std::unique_ptr<QmitkChartxyData> mitk::ChartExampleTestHelper::GetDataTwo() |
| 39 | { |
| 40 | auto myDataTwo = std::make_unique<QmitkChartxyData>(); |
| 41 | |
| 42 | std::vector< std::pair<double, double> > data; |
| 43 | |
| 44 | for (int i = 10; i < 20; i++) |
| 45 | { |
| 46 | data.emplace_back(i, i); |
| 47 | } |
| 48 | |
| 49 | myDataTwo->SetData(data); |
| 50 | myDataTwo->SetLabel("DataTwo"); |
| 51 | myDataTwo->SetChartType("bar"); |
| 52 | myDataTwo->SetColor("green"); |
| 53 | myDataTwo->SetLineStyle("solid"); |
| 54 | |
| 55 | return myDataTwo; |
| 56 | } |
| 57 | |
| 58 | std::unique_ptr<QmitkChartxyData> mitk::ChartExampleTestHelper::GetDataThree() |
| 59 | { |
no test coverage detected