提交 816daaaa 编写于 作者: L lang

joshing

上级 16717b43
define(function (require) {
var zrUtil = require('zrender/core/util');
var echarts = require('../echarts');
require('./treemap/TreemapSeries');
......
......@@ -226,13 +226,13 @@ define(function (require) {
var info = statistic(nodeModel, viewChildren, orderBy);
if (info.sum === 0) {
return node.viewChildren = [];
return (node.viewChildren = []);
}
info.sum = filterByThreshold(nodeModel, totalArea, info.sum, orderBy, viewChildren);
if (info.sum === 0) {
return node.viewChildren = [];
return (node.viewChildren = []);
}
// Set area to each child.
......
......@@ -4,7 +4,6 @@
var graphic = require('../../util/graphic');
var DataDiffer = require('../../data/DataDiffer');
var helper = require('./helper');
var parsePercent = require('../../util/number').parsePercent;
var Breadcrumb = require('./Breadcrumb');
var RoamController = require('../../component/helper/RoamController');
var BoundingRect = require('zrender/core/BoundingRect');
......
......@@ -5,7 +5,7 @@ define(function(require) {
var echarts = require('../../echarts');
var noop = function () {}
var noop = function () {};
echarts.registerAction({type: 'treemapZoomToNode', update: 'updateView'}, noop);
echarts.registerAction({type: 'treemapRender', update: 'updateView'}, noop);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册