'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var tslib_es6 = require('../../../../../../tslib@2.3.0/node_modules/tslib/tslib.es6.js');
var Axis = require('../Axis.js');

var RadiusAxis = /** @class */function (_super) {
  tslib_es6.__extends(RadiusAxis, _super);
  function RadiusAxis(scale, radiusExtent) {
    return _super.call(this, 'radius', scale, radiusExtent) || this;
  }
  RadiusAxis.prototype.pointToData = function (point, clamp) {
    return this.polar.pointToData(point, clamp)[this.dim === 'radius' ? 0 : 1];
  };
  return RadiusAxis;
}(Axis.default);
RadiusAxis.prototype.dataToRadius = Axis.default.prototype.dataToCoord;
RadiusAxis.prototype.radiusToData = Axis.default.prototype.coordToData;

exports.default = RadiusAxis;
