(axisType: 'angleAxis' | 'radiusAxis')
| 46 | findAxisModel(axisType: 'angleAxis'): AngleAxisModel |
| 47 | findAxisModel(axisType: 'radiusAxis'): RadiusAxisModel |
| 48 | findAxisModel(axisType: 'angleAxis' | 'radiusAxis'): AngleAxisModel | RadiusAxisModel { |
| 49 | let foundAxisModel; |
| 50 | const ecModel = this.ecModel; |
| 51 | |
| 52 | ecModel.eachComponent(axisType, function (this: PolarModel, axisModel: AngleAxisModel | RadiusAxisModel) { |
| 53 | if (axisModel.getCoordSysModel() === this) { |
| 54 | foundAxisModel = axisModel; |
| 55 | } |
| 56 | }, this); |
| 57 | return foundAxisModel; |
| 58 | } |
| 59 | |
| 60 | static defaultOption: PolarOption = { |
| 61 |
no test coverage detected