123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- var zrUtil = require("zrender/lib/core/util");
- var Axis = require("../Axis");
- var ParallelAxis = function (dim, scale, coordExtent, axisType, axisIndex) {
- Axis.call(this, dim, scale, coordExtent);
-
- this.type = axisType || 'value';
-
- this.axisIndex = axisIndex;
- };
- ParallelAxis.prototype = {
- constructor: ParallelAxis,
-
- model: null,
-
- isHorizontal: function () {
- return this.coordinateSystem.getModel().get('layout') !== 'horizontal';
- }
- };
- zrUtil.inherits(ParallelAxis, Axis);
- var _default = ParallelAxis;
- module.exports = _default;
|