IndicatorAxis.js 564 B

123456789101112131415161718192021222324252627282930313233
  1. var zrUtil = require("zrender/lib/core/util");
  2. var Axis = require("../Axis");
  3. function IndicatorAxis(dim, scale, radiusExtent) {
  4. Axis.call(this, dim, scale, radiusExtent);
  5. /**
  6. * Axis type
  7. * - 'category'
  8. * - 'value'
  9. * - 'time'
  10. * - 'log'
  11. * @type {string}
  12. */
  13. this.type = 'value';
  14. this.angle = 0;
  15. /**
  16. * Indicator name
  17. * @type {string}
  18. */
  19. this.name = '';
  20. /**
  21. * @type {module:echarts/model/Model}
  22. */
  23. this.model;
  24. }
  25. zrUtil.inherits(IndicatorAxis, Axis);
  26. var _default = IndicatorAxis;
  27. module.exports = _default;