PHP Classes

File: vendors/echarts/src/component/grid.js

Recommend this page to a friend!
  Classes of Jorge Castro   Gentelella BladeOne   vendors/echarts/src/component/grid.js   Download  
File: vendors/echarts/src/component/grid.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: 780 bytes
 

Contents

Class file image Download
define(function(require) { 'use strict'; var graphic = require('../util/graphic'); var zrUtil = require('zrender/core/util'); require('../coord/cartesian/Grid'); require('./axis'); // Grid view require('../echarts').extendComponentView({ type: 'grid', render: function (gridModel, ecModel) { this.group.removeAll(); if (gridModel.get('show')) { this.group.add(new graphic.Rect({ shape:gridModel.coordinateSystem.getRect(), style: zrUtil.defaults({ fill: gridModel.get('backgroundColor') }, gridModel.getItemStyle()), silent: true })); } } }); });