| 224 | } |
| 225 | |
| 226 | const std::string xg::axis::AxisController::GetAxisPosition(const std::string &field) { |
| 227 | std::string position; |
| 228 | std::for_each(this->axes.begin(), this->axes.end(), [&](std::unique_ptr<xg::axis::Axis> &axis){ |
| 229 | if (axis->field == field) { |
| 230 | position = axis->position; |
| 231 | } |
| 232 | }); |
| 233 | return position; |
| 234 | } |
| 235 | |
| 236 | void xg::axis::AxisController::InitAxis(XChart &chart, const std::string &field, std::size_t index, const std::string &dimType, const std::string &verticalField) { |
| 237 | // xg::axis::Axis axis; |
no test coverage detected