| 36 | } |
| 37 | |
| 38 | static std::vector<std::string> GetFillColor(const nlohmann::json &config) { |
| 39 | std::vector<string> fill; |
| 40 | if (config.is_array()) { |
| 41 | for (int i = 0; i < config.size(); ++i) { |
| 42 | fill.push_back(config[i]); |
| 43 | } |
| 44 | }else if(config.is_string()) { |
| 45 | fill.push_back(config.get<string>()); |
| 46 | } |
| 47 | return fill; |
| 48 | } |
| 49 | |
| 50 | const bool xg::axis::Axis::IsSelected(const int tickIndex) { |
| 51 | bool isSelected = false; |