META-INF.assets.rjzjh.echarts.src.coord.polar.RadiusAxis.js Maven / Gradle / Ivy
define(function (require) {
'use strict';
var zrUtil = require('zrender/core/util');
var Axis = require('../Axis');
function RadiusAxis(scale, radiusExtent) {
Axis.call(this, 'radius', scale, radiusExtent);
/**
* Axis type
* - 'category'
* - 'value'
* - 'time'
* - 'log'
* @type {string}
*/
this.type = 'category';
}
RadiusAxis.prototype = {
constructor: RadiusAxis,
dataToRadius: Axis.prototype.dataToCoord,
radiusToData: Axis.prototype.coordToData
};
zrUtil.inherits(RadiusAxis, Axis);
return RadiusAxis;
});