PHP Classes

File: vendors/gentelella/vendors/echarts/src/coord/polar/PolarModel.js

Recommend this page to a friend!
  Classes of Jorge Castro   Gentelella BladeOne   vendors/gentelella/vendors/echarts/src/coord/polar/PolarModel.js   Download  
File: vendors/gentelella/vendors/echarts/src/coord/polar/PolarModel.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Gentelella BladeOne
Render templates using Bootstrap for presentation
Author: By
Last change:
Date: 3 years ago
Size: 1,048 bytes
 

Contents

Class file image Download
define(function (require) { 'use strict'; require('./AxisModel'); require('../../echarts').extendComponentModel({ type: 'polar', dependencies: ['polarAxis', 'angleAxis'], /** * @type {module:echarts/coord/polar/Polar} */ coordinateSystem: null, /** * @param {string} axisType * @return {module:echarts/coord/polar/AxisModel} */ findAxisModel: function (axisType) { var angleAxisModel; var ecModel = this.ecModel; ecModel.eachComponent(axisType, function (axisModel) { if (ecModel.getComponent( 'polar', axisModel.getShallow('polarIndex') ) === this) { angleAxisModel = axisModel; } }, this); return angleAxisModel; }, defaultOption: { zlevel: 0, z: 0, center: ['50%', '50%'], radius: '80%' } }); });