Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Five-菜鸟级
echarts
提交
93436caf
E
echarts
项目概览
Five-菜鸟级
/
echarts
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
E
echarts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
93436caf
编写于
11月 10, 2017
作者:
S
sushuang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
rebuild and fix version.
上级
7e527b45
变更
15
展开全部
隐藏空白更改
内联
并排
Showing
15 changed file
with
126 addition
and
138 deletion
+126
-138
dist/echarts-en.common.js
dist/echarts-en.common.js
+17
-19
dist/echarts-en.common.min.js
dist/echarts-en.common.min.js
+1
-1
dist/echarts-en.js
dist/echarts-en.js
+17
-19
dist/echarts-en.js.map
dist/echarts-en.js.map
+1
-1
dist/echarts-en.min.js
dist/echarts-en.min.js
+1
-1
dist/echarts-en.simple.js
dist/echarts-en.simple.js
+17
-19
dist/echarts-en.simple.min.js
dist/echarts-en.simple.min.js
+1
-1
dist/echarts.common.js
dist/echarts.common.js
+17
-19
dist/echarts.common.min.js
dist/echarts.common.min.js
+1
-1
dist/echarts.js
dist/echarts.js
+17
-19
dist/echarts.js.map
dist/echarts.js.map
+1
-1
dist/echarts.min.js
dist/echarts.min.js
+1
-1
dist/echarts.simple.js
dist/echarts.simple.js
+17
-19
dist/echarts.simple.min.js
dist/echarts.simple.min.js
+1
-1
package.json
package.json
+16
-16
未找到文件。
dist/echarts-en.common.js
浏览文件 @
93436caf
...
...
@@ -24667,14 +24667,12 @@ function Scale(setting) {
this.init && this.init.apply(this, arguments);
}
var scaleProto$1 = Scale.prototype;
/**
* Parse input val to valid inner number.
* @param {*} val
* @return {number}
*/
scaleProto$1
.parse = function (val) {
Scale.prototype
.parse = function (val) {
// Notice: This would be a trap here, If the implementation
// of this method depends on extent, and this method is used
// before extent set (like in dataZoom), it would be wrong.
...
...
@@ -24682,11 +24680,11 @@ scaleProto$1.parse = function (val) {
return val;
};
scaleProto$1
.getSetting = function (name) {
Scale.prototype
.getSetting = function (name) {
return this._setting[name];
};
scaleProto$1
.contain = function (val) {
Scale.prototype
.contain = function (val) {
var extent = this._extent;
return val >= extent[0] && val <= extent[1];
};
...
...
@@ -24696,7 +24694,7 @@ scaleProto$1.contain = function (val) {
* @param {number} val
* @return {number}
*/
scaleProto$1
.normalize = function (val) {
Scale.prototype
.normalize = function (val) {
var extent = this._extent;
if (extent[1] === extent[0]) {
return 0.5;
...
...
@@ -24709,7 +24707,7 @@ scaleProto$1.normalize = function (val) {
* @param {number} val
* @return {number}
*/
scaleProto$1
.scale = function (val) {
Scale.prototype
.scale = function (val) {
var extent = this._extent;
return val * (extent[1] - extent[0]) + extent[0];
};
...
...
@@ -24718,7 +24716,7 @@ scaleProto$1.scale = function (val) {
* Set extent from data
* @param {Array.<number>} other
*/
scaleProto$1
.unionExtent = function (other) {
Scale.prototype
.unionExtent = function (other) {
var extent = this._extent;
other[0] < extent[0] && (extent[0] = other[0]);
other[1] > extent[1] && (extent[1] = other[1]);
...
...
@@ -24731,7 +24729,7 @@ scaleProto$1.unionExtent = function (other) {
* @param {module:echarts/data/List} data
* @param {string} dim
*/
scaleProto$1
.unionExtentFromData = function (data, dim) {
Scale.prototype
.unionExtentFromData = function (data, dim) {
this.unionExtent(data.getDataExtent(dim, true));
};
...
...
@@ -24739,7 +24737,7 @@ scaleProto$1.unionExtentFromData = function (data, dim) {
* Get extent
* @return {Array.<number>}
*/
scaleProto$1
.getExtent = function () {
Scale.prototype
.getExtent = function () {
return this._extent.slice();
};
...
...
@@ -24748,7 +24746,7 @@ scaleProto$1.getExtent = function () {
* @param {number} start
* @param {number} end
*/
scaleProto$1
.setExtent = function (start, end) {
Scale.prototype
.setExtent = function (start, end) {
var thisExtent = this._extent;
if (!isNaN(start)) {
thisExtent[0] = start;
...
...
@@ -24761,7 +24759,7 @@ scaleProto$1.setExtent = function (start, end) {
/**
* @return {Array.<string>}
*/
scaleProto$1
.getTicksLabels = function () {
Scale.prototype
.getTicksLabels = function () {
var labels = [];
var ticks = this.getTicks();
for (var i = 0; i < ticks.length; i++) {
...
...
@@ -24774,7 +24772,7 @@ scaleProto$1.getTicksLabels = function () {
* When axis extent depends on data and no data exists,
* axis ticks should not be drawn, which is named 'blank'.
*/
scaleProto$1
.isBlank = function () {
Scale.prototype
.isBlank = function () {
return this._isBlank;
},
...
...
@@ -24782,7 +24780,7 @@ scaleProto$1.isBlank = function () {
* When axis extent depends on data and no data exists,
* axis ticks should not be drawn, which is named 'blank'.
*/
scaleProto$1
.setBlank = function (isBlank) {
Scale.prototype
.setBlank = function (isBlank) {
this._isBlank = isBlank;
};
...
...
@@ -25383,7 +25381,7 @@ TimeScale.create = function (model) {
*/
// Use some method of IntervalScale
var scaleProto$
2
= Scale.prototype;
var scaleProto$
1
= Scale.prototype;
var intervalScaleProto$1 = IntervalScale.prototype;
var getPrecisionSafe$1 = getPrecisionSafe;
...
...
@@ -25440,7 +25438,7 @@ var LogScale = Scale.extend({
* @return {number}
*/
scale: function (val) {
val = scaleProto$
2
.scale.call(this, val);
val = scaleProto$
1
.scale.call(this, val);
return mathPow$1(this.base, val);
},
...
...
@@ -25460,7 +25458,7 @@ var LogScale = Scale.extend({
*/
getExtent: function () {
var base = this.base;
var extent = scaleProto$
2
.getExtent.call(this);
var extent = scaleProto$
1
.getExtent.call(this);
extent[0] = mathPow$1(base, extent[0]);
extent[1] = mathPow$1(base, extent[1]);
...
...
@@ -25482,7 +25480,7 @@ var LogScale = Scale.extend({
var base = this.base;
extent[0] = mathLog(extent[0]) / mathLog(base);
extent[1] = mathLog(extent[1]) / mathLog(base);
scaleProto$
2
.unionExtent.call(this, extent);
scaleProto$
1
.unionExtent.call(this, extent);
},
/**
...
...
@@ -25545,7 +25543,7 @@ var LogScale = Scale.extend({
each$1(['contain', 'normalize'], function (methodName) {
LogScale.prototype[methodName] = function (val) {
val = mathLog(val) / mathLog(this.base);
return scaleProto$
2
[methodName].call(this, val);
return scaleProto$
1
[methodName].call(this, val);
};
});
dist/echarts-en.common.min.js
浏览文件 @
93436caf
此差异已折叠。
点击以展开。
dist/echarts-en.js
浏览文件 @
93436caf
...
...
@@ -24756,14 +24756,12 @@ function Scale(setting) {
this.init && this.init.apply(this, arguments);
}
var scaleProto$1 = Scale.prototype;
/**
* Parse input val to valid inner number.
* @param {*} val
* @return {number}
*/
scaleProto$1
.parse = function (val) {
Scale.prototype
.parse = function (val) {
// Notice: This would be a trap here, If the implementation
// of this method depends on extent, and this method is used
// before extent set (like in dataZoom), it would be wrong.
...
...
@@ -24771,11 +24769,11 @@ scaleProto$1.parse = function (val) {
return val;
};
scaleProto$1
.getSetting = function (name) {
Scale.prototype
.getSetting = function (name) {
return this._setting[name];
};
scaleProto$1
.contain = function (val) {
Scale.prototype
.contain = function (val) {
var extent = this._extent;
return val >= extent[0] && val <= extent[1];
};
...
...
@@ -24785,7 +24783,7 @@ scaleProto$1.contain = function (val) {
* @param {number} val
* @return {number}
*/
scaleProto$1
.normalize = function (val) {
Scale.prototype
.normalize = function (val) {
var extent = this._extent;
if (extent[1] === extent[0]) {
return 0.5;
...
...
@@ -24798,7 +24796,7 @@ scaleProto$1.normalize = function (val) {
* @param {number} val
* @return {number}
*/
scaleProto$1
.scale = function (val) {
Scale.prototype
.scale = function (val) {
var extent = this._extent;
return val * (extent[1] - extent[0]) + extent[0];
};
...
...
@@ -24807,7 +24805,7 @@ scaleProto$1.scale = function (val) {
* Set extent from data
* @param {Array.<number>} other
*/
scaleProto$1
.unionExtent = function (other) {
Scale.prototype
.unionExtent = function (other) {
var extent = this._extent;
other[0] < extent[0] && (extent[0] = other[0]);
other[1] > extent[1] && (extent[1] = other[1]);
...
...
@@ -24820,7 +24818,7 @@ scaleProto$1.unionExtent = function (other) {
* @param {module:echarts/data/List} data
* @param {string} dim
*/
scaleProto$1
.unionExtentFromData = function (data, dim) {
Scale.prototype
.unionExtentFromData = function (data, dim) {
this.unionExtent(data.getDataExtent(dim, true));
};
...
...
@@ -24828,7 +24826,7 @@ scaleProto$1.unionExtentFromData = function (data, dim) {
* Get extent
* @return {Array.<number>}
*/
scaleProto$1
.getExtent = function () {
Scale.prototype
.getExtent = function () {
return this._extent.slice();
};
...
...
@@ -24837,7 +24835,7 @@ scaleProto$1.getExtent = function () {
* @param {number} start
* @param {number} end
*/
scaleProto$1
.setExtent = function (start, end) {
Scale.prototype
.setExtent = function (start, end) {
var thisExtent = this._extent;
if (!isNaN(start)) {
thisExtent[0] = start;
...
...
@@ -24850,7 +24848,7 @@ scaleProto$1.setExtent = function (start, end) {
/**
* @return {Array.<string>}
*/
scaleProto$1
.getTicksLabels = function () {
Scale.prototype
.getTicksLabels = function () {
var labels = [];
var ticks = this.getTicks();
for (var i = 0; i < ticks.length; i++) {
...
...
@@ -24863,7 +24861,7 @@ scaleProto$1.getTicksLabels = function () {
* When axis extent depends on data and no data exists,
* axis ticks should not be drawn, which is named 'blank'.
*/
scaleProto$1
.isBlank = function () {
Scale.prototype
.isBlank = function () {
return this._isBlank;
},
...
...
@@ -24871,7 +24869,7 @@ scaleProto$1.isBlank = function () {
* When axis extent depends on data and no data exists,
* axis ticks should not be drawn, which is named 'blank'.
*/
scaleProto$1
.setBlank = function (isBlank) {
Scale.prototype
.setBlank = function (isBlank) {
this._isBlank = isBlank;
};
...
...
@@ -25472,7 +25470,7 @@ TimeScale.create = function (model) {
*/
// Use some method of IntervalScale
var scaleProto$
2
= Scale.prototype;
var scaleProto$
1
= Scale.prototype;
var intervalScaleProto$1 = IntervalScale.prototype;
var getPrecisionSafe$1 = getPrecisionSafe;
...
...
@@ -25529,7 +25527,7 @@ var LogScale = Scale.extend({
* @return {number}
*/
scale: function (val) {
val = scaleProto$
2
.scale.call(this, val);
val = scaleProto$
1
.scale.call(this, val);
return mathPow$1(this.base, val);
},
...
...
@@ -25549,7 +25547,7 @@ var LogScale = Scale.extend({
*/
getExtent: function () {
var base = this.base;
var extent = scaleProto$
2
.getExtent.call(this);
var extent = scaleProto$
1
.getExtent.call(this);
extent[0] = mathPow$1(base, extent[0]);
extent[1] = mathPow$1(base, extent[1]);
...
...
@@ -25571,7 +25569,7 @@ var LogScale = Scale.extend({
var base = this.base;
extent[0] = mathLog(extent[0]) / mathLog(base);
extent[1] = mathLog(extent[1]) / mathLog(base);
scaleProto$
2
.unionExtent.call(this, extent);
scaleProto$
1
.unionExtent.call(this, extent);
},
/**
...
...
@@ -25634,7 +25632,7 @@ var LogScale = Scale.extend({
each$1(['contain', 'normalize'], function (methodName) {
LogScale.prototype[methodName] = function (val) {
val = mathLog(val) / mathLog(this.base);
return scaleProto$
2
[methodName].call(this, val);
return scaleProto$
1
[methodName].call(this, val);
};
});
dist/echarts-en.js.map
浏览文件 @
93436caf
此差异已折叠。
点击以展开。
dist/echarts-en.min.js
浏览文件 @
93436caf
此差异已折叠。
点击以展开。
dist/echarts-en.simple.js
浏览文件 @
93436caf
...
...
@@ -26348,14 +26348,12 @@ function Scale(setting) {
this.init && this.init.apply(this, arguments);
}
var scaleProto$1 = Scale.prototype;
/**
* Parse input val to valid inner number.
* @param {*} val
* @return {number}
*/
scaleProto$1
.parse = function (val) {
Scale.prototype
.parse = function (val) {
// Notice: This would be a trap here, If the implementation
// of this method depends on extent, and this method is used
// before extent set (like in dataZoom), it would be wrong.
...
...
@@ -26363,11 +26361,11 @@ scaleProto$1.parse = function (val) {
return val;
};
scaleProto$1
.getSetting = function (name) {
Scale.prototype
.getSetting = function (name) {
return this._setting[name];
};
scaleProto$1
.contain = function (val) {
Scale.prototype
.contain = function (val) {
var extent = this._extent;
return val >= extent[0] && val <= extent[1];
};
...
...
@@ -26377,7 +26375,7 @@ scaleProto$1.contain = function (val) {
* @param {number} val
* @return {number}
*/
scaleProto$1
.normalize = function (val) {
Scale.prototype
.normalize = function (val) {
var extent = this._extent;
if (extent[1] === extent[0]) {
return 0.5;
...
...
@@ -26390,7 +26388,7 @@ scaleProto$1.normalize = function (val) {
* @param {number} val
* @return {number}
*/
scaleProto$1
.scale = function (val) {
Scale.prototype
.scale = function (val) {
var extent = this._extent;
return val * (extent[1] - extent[0]) + extent[0];
};
...
...
@@ -26399,7 +26397,7 @@ scaleProto$1.scale = function (val) {
* Set extent from data
* @param {Array.<number>} other
*/
scaleProto$1
.unionExtent = function (other) {
Scale.prototype
.unionExtent = function (other) {
var extent = this._extent;
other[0] < extent[0] && (extent[0] = other[0]);
other[1] > extent[1] && (extent[1] = other[1]);
...
...
@@ -26412,7 +26410,7 @@ scaleProto$1.unionExtent = function (other) {
* @param {module:echarts/data/List} data
* @param {string} dim
*/
scaleProto$1
.unionExtentFromData = function (data, dim) {
Scale.prototype
.unionExtentFromData = function (data, dim) {
this.unionExtent(data.getDataExtent(dim, true));
};
...
...
@@ -26420,7 +26418,7 @@ scaleProto$1.unionExtentFromData = function (data, dim) {
* Get extent
* @return {Array.<number>}
*/
scaleProto$1
.getExtent = function () {
Scale.prototype
.getExtent = function () {
return this._extent.slice();
};
...
...
@@ -26429,7 +26427,7 @@ scaleProto$1.getExtent = function () {
* @param {number} start
* @param {number} end
*/
scaleProto$1
.setExtent = function (start, end) {
Scale.prototype
.setExtent = function (start, end) {
var thisExtent = this._extent;
if (!isNaN(start)) {
thisExtent[0] = start;
...
...
@@ -26442,7 +26440,7 @@ scaleProto$1.setExtent = function (start, end) {
/**
* @return {Array.<string>}
*/
scaleProto$1
.getTicksLabels = function () {
Scale.prototype
.getTicksLabels = function () {
var labels = [];
var ticks = this.getTicks();
for (var i = 0; i < ticks.length; i++) {
...
...
@@ -26455,7 +26453,7 @@ scaleProto$1.getTicksLabels = function () {
* When axis extent depends on data and no data exists,
* axis ticks should not be drawn, which is named 'blank'.
*/
scaleProto$1
.isBlank = function () {
Scale.prototype
.isBlank = function () {
return this._isBlank;
},
...
...
@@ -26463,7 +26461,7 @@ scaleProto$1.isBlank = function () {
* When axis extent depends on data and no data exists,
* axis ticks should not be drawn, which is named 'blank'.
*/
scaleProto$1
.setBlank = function (isBlank) {
Scale.prototype
.setBlank = function (isBlank) {
this._isBlank = isBlank;
};
...
...
@@ -27064,7 +27062,7 @@ TimeScale.create = function (model) {
*/
// Use some method of IntervalScale
var scaleProto$
2
= Scale.prototype;
var scaleProto$
1
= Scale.prototype;
var intervalScaleProto$1 = IntervalScale.prototype;
var getPrecisionSafe$1 = getPrecisionSafe;
...
...
@@ -27121,7 +27119,7 @@ var LogScale = Scale.extend({
* @return {number}
*/
scale: function (val) {
val = scaleProto$
2
.scale.call(this, val);
val = scaleProto$
1
.scale.call(this, val);
return mathPow$1(this.base, val);
},
...
...
@@ -27141,7 +27139,7 @@ var LogScale = Scale.extend({
*/
getExtent: function () {
var base = this.base;
var extent = scaleProto$
2
.getExtent.call(this);
var extent = scaleProto$
1
.getExtent.call(this);
extent[0] = mathPow$1(base, extent[0]);
extent[1] = mathPow$1(base, extent[1]);
...
...
@@ -27163,7 +27161,7 @@ var LogScale = Scale.extend({
var base = this.base;
extent[0] = mathLog(extent[0]) / mathLog(base);
extent[1] = mathLog(extent[1]) / mathLog(base);
scaleProto$
2
.unionExtent.call(this, extent);
scaleProto$
1
.unionExtent.call(this, extent);
},
/**
...
...
@@ -27226,7 +27224,7 @@ var LogScale = Scale.extend({
each$1(['contain', 'normalize'], function (methodName) {
LogScale.prototype[methodName] = function (val) {
val = mathLog(val) / mathLog(this.base);
return scaleProto$
2
[methodName].call(this, val);
return scaleProto$
1
[methodName].call(this, val);
};
});
...
...
dist/echarts-en.simple.min.js
浏览文件 @
93436caf
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
dist/echarts.common.js
浏览文件 @
93436caf
...
...
@@ -24667,14 +24667,12 @@ function Scale(setting) {
this.init && this.init.apply(this, arguments);
}
var scaleProto$1 = Scale.prototype;
/**
* Parse input val to valid inner number.
* @param {*} val
* @return {number}
*/
scaleProto$1
.parse = function (val) {
Scale.prototype
.parse = function (val) {
// Notice: This would be a trap here, If the implementation
// of this method depends on extent, and this method is used
// before extent set (like in dataZoom), it would be wrong.
...
...
@@ -24682,11 +24680,11 @@ scaleProto$1.parse = function (val) {
return val;
};
scaleProto$1
.getSetting = function (name) {
Scale.prototype
.getSetting = function (name) {
return this._setting[name];
};
scaleProto$1
.contain = function (val) {
Scale.prototype
.contain = function (val) {
var extent = this._extent;
return val >= extent[0] && val <= extent[1];
};
...
...
@@ -24696,7 +24694,7 @@ scaleProto$1.contain = function (val) {
* @param {number} val
* @return {number}
*/
scaleProto$1
.normalize = function (val) {
Scale.prototype
.normalize = function (val) {
var extent = this._extent;
if (extent[1] === extent[0]) {
return 0.5;
...
...
@@ -24709,7 +24707,7 @@ scaleProto$1.normalize = function (val) {
* @param {number} val
* @return {number}
*/
scaleProto$1
.scale = function (val) {
Scale.prototype
.scale = function (val) {
var extent = this._extent;
return val * (extent[1] - extent[0]) + extent[0];
};
...
...
@@ -24718,7 +24716,7 @@ scaleProto$1.scale = function (val) {
* Set extent from data
* @param {Array.<number>} other
*/
scaleProto$1
.unionExtent = function (other) {
Scale.prototype
.unionExtent = function (other) {
var extent = this._extent;
other[0] < extent[0] && (extent[0] = other[0]);
other[1] > extent[1] && (extent[1] = other[1]);
...
...
@@ -24731,7 +24729,7 @@ scaleProto$1.unionExtent = function (other) {
* @param {module:echarts/data/List} data
* @param {string} dim
*/
scaleProto$1
.unionExtentFromData = function (data, dim) {
Scale.prototype
.unionExtentFromData = function (data, dim) {
this.unionExtent(data.getDataExtent(dim, true));
};
...
...
@@ -24739,7 +24737,7 @@ scaleProto$1.unionExtentFromData = function (data, dim) {
* Get extent
* @return {Array.<number>}
*/
scaleProto$1
.getExtent = function () {
Scale.prototype
.getExtent = function () {
return this._extent.slice();
};
...
...
@@ -24748,7 +24746,7 @@ scaleProto$1.getExtent = function () {
* @param {number} start
* @param {number} end
*/
scaleProto$1
.setExtent = function (start, end) {
Scale.prototype
.setExtent = function (start, end) {
var thisExtent = this._extent;
if (!isNaN(start)) {
thisExtent[0] = start;
...
...
@@ -24761,7 +24759,7 @@ scaleProto$1.setExtent = function (start, end) {
/**
* @return {Array.<string>}
*/
scaleProto$1
.getTicksLabels = function () {
Scale.prototype
.getTicksLabels = function () {
var labels = [];
var ticks = this.getTicks();
for (var i = 0; i < ticks.length; i++) {
...
...
@@ -24774,7 +24772,7 @@ scaleProto$1.getTicksLabels = function () {
* When axis extent depends on data and no data exists,
* axis ticks should not be drawn, which is named 'blank'.
*/
scaleProto$1
.isBlank = function () {
Scale.prototype
.isBlank = function () {
return this._isBlank;
},
...
...
@@ -24782,7 +24780,7 @@ scaleProto$1.isBlank = function () {
* When axis extent depends on data and no data exists,
* axis ticks should not be drawn, which is named 'blank'.
*/
scaleProto$1
.setBlank = function (isBlank) {
Scale.prototype
.setBlank = function (isBlank) {
this._isBlank = isBlank;
};
...
...
@@ -25383,7 +25381,7 @@ TimeScale.create = function (model) {
*/
// Use some method of IntervalScale
var scaleProto$
2
= Scale.prototype;
var scaleProto$
1
= Scale.prototype;
var intervalScaleProto$1 = IntervalScale.prototype;
var getPrecisionSafe$1 = getPrecisionSafe;
...
...
@@ -25440,7 +25438,7 @@ var LogScale = Scale.extend({
* @return {number}
*/
scale: function (val) {
val = scaleProto$
2
.scale.call(this, val);
val = scaleProto$
1
.scale.call(this, val);
return mathPow$1(this.base, val);
},
...
...
@@ -25460,7 +25458,7 @@ var LogScale = Scale.extend({
*/
getExtent: function () {
var base = this.base;
var extent = scaleProto$
2
.getExtent.call(this);
var extent = scaleProto$
1
.getExtent.call(this);
extent[0] = mathPow$1(base, extent[0]);
extent[1] = mathPow$1(base, extent[1]);
...
...
@@ -25482,7 +25480,7 @@ var LogScale = Scale.extend({
var base = this.base;
extent[0] = mathLog(extent[0]) / mathLog(base);
extent[1] = mathLog(extent[1]) / mathLog(base);
scaleProto$
2
.unionExtent.call(this, extent);
scaleProto$
1
.unionExtent.call(this, extent);
},
/**
...
...
@@ -25545,7 +25543,7 @@ var LogScale = Scale.extend({
each$1(['contain', 'normalize'], function (methodName) {
LogScale.prototype[methodName] = function (val) {
val = mathLog(val) / mathLog(this.base);
return scaleProto$
2
[methodName].call(this, val);
return scaleProto$
1
[methodName].call(this, val);
};
});
dist/echarts.common.min.js
浏览文件 @
93436caf
此差异已折叠。
点击以展开。
dist/echarts.js
浏览文件 @
93436caf
...
...
@@ -24756,14 +24756,12 @@ function Scale(setting) {
this.init && this.init.apply(this, arguments);
}
var scaleProto$1 = Scale.prototype;
/**
* Parse input val to valid inner number.
* @param {*} val
* @return {number}
*/
scaleProto$1
.parse = function (val) {
Scale.prototype
.parse = function (val) {
// Notice: This would be a trap here, If the implementation
// of this method depends on extent, and this method is used
// before extent set (like in dataZoom), it would be wrong.
...
...
@@ -24771,11 +24769,11 @@ scaleProto$1.parse = function (val) {
return val;
};
scaleProto$1
.getSetting = function (name) {
Scale.prototype
.getSetting = function (name) {
return this._setting[name];
};
scaleProto$1
.contain = function (val) {
Scale.prototype
.contain = function (val) {
var extent = this._extent;
return val >= extent[0] && val <= extent[1];
};
...
...
@@ -24785,7 +24783,7 @@ scaleProto$1.contain = function (val) {
* @param {number} val
* @return {number}
*/
scaleProto$1
.normalize = function (val) {
Scale.prototype
.normalize = function (val) {
var extent = this._extent;
if (extent[1] === extent[0]) {
return 0.5;
...
...
@@ -24798,7 +24796,7 @@ scaleProto$1.normalize = function (val) {
* @param {number} val
* @return {number}
*/
scaleProto$1
.scale = function (val) {
Scale.prototype
.scale = function (val) {
var extent = this._extent;
return val * (extent[1] - extent[0]) + extent[0];
};
...
...
@@ -24807,7 +24805,7 @@ scaleProto$1.scale = function (val) {
* Set extent from data
* @param {Array.<number>} other
*/
scaleProto$1
.unionExtent = function (other) {
Scale.prototype
.unionExtent = function (other) {
var extent = this._extent;
other[0] < extent[0] && (extent[0] = other[0]);
other[1] > extent[1] && (extent[1] = other[1]);
...
...
@@ -24820,7 +24818,7 @@ scaleProto$1.unionExtent = function (other) {
* @param {module:echarts/data/List} data
* @param {string} dim
*/
scaleProto$1
.unionExtentFromData = function (data, dim) {
Scale.prototype
.unionExtentFromData = function (data, dim) {
this.unionExtent(data.getDataExtent(dim, true));
};
...
...
@@ -24828,7 +24826,7 @@ scaleProto$1.unionExtentFromData = function (data, dim) {
* Get extent
* @return {Array.<number>}
*/
scaleProto$1
.getExtent = function () {
Scale.prototype
.getExtent = function () {
return this._extent.slice();
};
...
...
@@ -24837,7 +24835,7 @@ scaleProto$1.getExtent = function () {
* @param {number} start
* @param {number} end
*/
scaleProto$1
.setExtent = function (start, end) {
Scale.prototype
.setExtent = function (start, end) {
var thisExtent = this._extent;
if (!isNaN(start)) {
thisExtent[0] = start;
...
...
@@ -24850,7 +24848,7 @@ scaleProto$1.setExtent = function (start, end) {
/**
* @return {Array.<string>}
*/
scaleProto$1
.getTicksLabels = function () {
Scale.prototype
.getTicksLabels = function () {
var labels = [];
var ticks = this.getTicks();
for (var i = 0; i < ticks.length; i++) {
...
...
@@ -24863,7 +24861,7 @@ scaleProto$1.getTicksLabels = function () {
* When axis extent depends on data and no data exists,
* axis ticks should not be drawn, which is named 'blank'.
*/
scaleProto$1
.isBlank = function () {
Scale.prototype
.isBlank = function () {
return this._isBlank;
},
...
...
@@ -24871,7 +24869,7 @@ scaleProto$1.isBlank = function () {
* When axis extent depends on data and no data exists,
* axis ticks should not be drawn, which is named 'blank'.
*/
scaleProto$1
.setBlank = function (isBlank) {
Scale.prototype
.setBlank = function (isBlank) {
this._isBlank = isBlank;
};
...
...
@@ -25472,7 +25470,7 @@ TimeScale.create = function (model) {
*/
// Use some method of IntervalScale
var scaleProto$
2
= Scale.prototype;
var scaleProto$
1
= Scale.prototype;
var intervalScaleProto$1 = IntervalScale.prototype;
var getPrecisionSafe$1 = getPrecisionSafe;
...
...
@@ -25529,7 +25527,7 @@ var LogScale = Scale.extend({
* @return {number}
*/
scale: function (val) {
val = scaleProto$
2
.scale.call(this, val);
val = scaleProto$
1
.scale.call(this, val);
return mathPow$1(this.base, val);
},
...
...
@@ -25549,7 +25547,7 @@ var LogScale = Scale.extend({
*/
getExtent: function () {
var base = this.base;
var extent = scaleProto$
2
.getExtent.call(this);
var extent = scaleProto$
1
.getExtent.call(this);
extent[0] = mathPow$1(base, extent[0]);
extent[1] = mathPow$1(base, extent[1]);
...
...
@@ -25571,7 +25569,7 @@ var LogScale = Scale.extend({
var base = this.base;
extent[0] = mathLog(extent[0]) / mathLog(base);
extent[1] = mathLog(extent[1]) / mathLog(base);
scaleProto$
2
.unionExtent.call(this, extent);
scaleProto$
1
.unionExtent.call(this, extent);
},
/**
...
...
@@ -25634,7 +25632,7 @@ var LogScale = Scale.extend({
each$1(['contain', 'normalize'], function (methodName) {
LogScale.prototype[methodName] = function (val) {
val = mathLog(val) / mathLog(this.base);
return scaleProto$
2
[methodName].call(this, val);
return scaleProto$
1
[methodName].call(this, val);
};
});
dist/echarts.js.map
浏览文件 @
93436caf
此差异已折叠。
点击以展开。
dist/echarts.min.js
浏览文件 @
93436caf
此差异已折叠。
点击以展开。
dist/echarts.simple.js
浏览文件 @
93436caf
...
...
@@ -26348,14 +26348,12 @@ function Scale(setting) {
this.init && this.init.apply(this, arguments);
}
var scaleProto$1 = Scale.prototype;
/**
* Parse input val to valid inner number.
* @param {*} val
* @return {number}
*/
scaleProto$1
.parse = function (val) {
Scale.prototype
.parse = function (val) {
// Notice: This would be a trap here, If the implementation
// of this method depends on extent, and this method is used
// before extent set (like in dataZoom), it would be wrong.
...
...
@@ -26363,11 +26361,11 @@ scaleProto$1.parse = function (val) {
return val;
};
scaleProto$1
.getSetting = function (name) {
Scale.prototype
.getSetting = function (name) {
return this._setting[name];
};
scaleProto$1
.contain = function (val) {
Scale.prototype
.contain = function (val) {
var extent = this._extent;
return val >= extent[0] && val <= extent[1];
};
...
...
@@ -26377,7 +26375,7 @@ scaleProto$1.contain = function (val) {
* @param {number} val
* @return {number}
*/
scaleProto$1
.normalize = function (val) {
Scale.prototype
.normalize = function (val) {
var extent = this._extent;
if (extent[1] === extent[0]) {
return 0.5;
...
...
@@ -26390,7 +26388,7 @@ scaleProto$1.normalize = function (val) {
* @param {number} val
* @return {number}
*/
scaleProto$1
.scale = function (val) {
Scale.prototype
.scale = function (val) {
var extent = this._extent;
return val * (extent[1] - extent[0]) + extent[0];
};
...
...
@@ -26399,7 +26397,7 @@ scaleProto$1.scale = function (val) {
* Set extent from data
* @param {Array.<number>} other
*/
scaleProto$1
.unionExtent = function (other) {
Scale.prototype
.unionExtent = function (other) {
var extent = this._extent;
other[0] < extent[0] && (extent[0] = other[0]);
other[1] > extent[1] && (extent[1] = other[1]);
...
...
@@ -26412,7 +26410,7 @@ scaleProto$1.unionExtent = function (other) {
* @param {module:echarts/data/List} data
* @param {string} dim
*/
scaleProto$1
.unionExtentFromData = function (data, dim) {
Scale.prototype
.unionExtentFromData = function (data, dim) {
this.unionExtent(data.getDataExtent(dim, true));
};
...
...
@@ -26420,7 +26418,7 @@ scaleProto$1.unionExtentFromData = function (data, dim) {
* Get extent
* @return {Array.<number>}
*/
scaleProto$1
.getExtent = function () {
Scale.prototype
.getExtent = function () {
return this._extent.slice();
};
...
...
@@ -26429,7 +26427,7 @@ scaleProto$1.getExtent = function () {
* @param {number} start
* @param {number} end
*/
scaleProto$1
.setExtent = function (start, end) {
Scale.prototype
.setExtent = function (start, end) {
var thisExtent = this._extent;
if (!isNaN(start)) {
thisExtent[0] = start;
...
...
@@ -26442,7 +26440,7 @@ scaleProto$1.setExtent = function (start, end) {
/**
* @return {Array.<string>}
*/
scaleProto$1
.getTicksLabels = function () {
Scale.prototype
.getTicksLabels = function () {
var labels = [];
var ticks = this.getTicks();
for (var i = 0; i < ticks.length; i++) {
...
...
@@ -26455,7 +26453,7 @@ scaleProto$1.getTicksLabels = function () {
* When axis extent depends on data and no data exists,
* axis ticks should not be drawn, which is named 'blank'.
*/
scaleProto$1
.isBlank = function () {
Scale.prototype
.isBlank = function () {
return this._isBlank;
},
...
...
@@ -26463,7 +26461,7 @@ scaleProto$1.isBlank = function () {
* When axis extent depends on data and no data exists,
* axis ticks should not be drawn, which is named 'blank'.
*/
scaleProto$1
.setBlank = function (isBlank) {
Scale.prototype
.setBlank = function (isBlank) {
this._isBlank = isBlank;
};
...
...
@@ -27064,7 +27062,7 @@ TimeScale.create = function (model) {
*/
// Use some method of IntervalScale
var scaleProto$
2
= Scale.prototype;
var scaleProto$
1
= Scale.prototype;
var intervalScaleProto$1 = IntervalScale.prototype;
var getPrecisionSafe$1 = getPrecisionSafe;
...
...
@@ -27121,7 +27119,7 @@ var LogScale = Scale.extend({
* @return {number}
*/
scale: function (val) {
val = scaleProto$
2
.scale.call(this, val);
val = scaleProto$
1
.scale.call(this, val);
return mathPow$1(this.base, val);
},
...
...
@@ -27141,7 +27139,7 @@ var LogScale = Scale.extend({
*/
getExtent: function () {
var base = this.base;
var extent = scaleProto$
2
.getExtent.call(this);
var extent = scaleProto$
1
.getExtent.call(this);
extent[0] = mathPow$1(base, extent[0]);
extent[1] = mathPow$1(base, extent[1]);
...
...
@@ -27163,7 +27161,7 @@ var LogScale = Scale.extend({
var base = this.base;
extent[0] = mathLog(extent[0]) / mathLog(base);
extent[1] = mathLog(extent[1]) / mathLog(base);
scaleProto$
2
.unionExtent.call(this, extent);
scaleProto$
1
.unionExtent.call(this, extent);
},
/**
...
...
@@ -27226,7 +27224,7 @@ var LogScale = Scale.extend({
each$1(['contain', 'normalize'], function (methodName) {
LogScale.prototype[methodName] = function (val) {
val = mathLog(val) / mathLog(this.base);
return scaleProto$
2
[methodName].call(this, val);
return scaleProto$
1
[methodName].call(this, val);
};
});
...
...
dist/echarts.simple.min.js
浏览文件 @
93436caf
此差异已折叠。
点击以展开。
package.json
浏览文件 @
93436caf
...
...
@@ -38,22 +38,22 @@
"
zrender
"
:
"
3.7.1
"
},
"devDependencies"
:
{
"
@babel/core
"
:
"
^
7.0.0-beta.31
"
,
"
@babel/helper-module-transforms
"
:
"
^
7.0.0-beta.31
"
,
"
@babel/helper-simple-access
"
:
"
^
7.0.0-beta.31
"
,
"
@babel/template
"
:
"
^
7.0.0-beta.31
"
,
"
@babel/types
"
:
"
^
7.0.0-beta.31
"
,
"
assert
"
:
"
^
1.4.1
"
,
"
commander
"
:
"
^
2.11.0
"
,
"
coordtransform
"
:
"
^
2.0.2
"
,
"
escodegen
"
:
"
^
1.8.0
"
,
"
esprima
"
:
"
^
2.7.2
"
,
"
estraverse
"
:
"
^
4.1.1
"
,
"
fs-extra
"
:
"
^
0.26.7
"
,
"
glob
"
:
"
^
7.0.0
"
,
"
rollup
"
:
"
^
0.50.0
"
,
"
rollup-plugin-node-resolve
"
:
"
^
3.0.0
"
,
"
rollup-plugin-uglify
"
:
"
^
2.0.1
"
,
"
@babel/core
"
:
"
7.0.0-beta.31
"
,
"
@babel/helper-module-transforms
"
:
"
7.0.0-beta.31
"
,
"
@babel/helper-simple-access
"
:
"
7.0.0-beta.31
"
,
"
@babel/template
"
:
"
7.0.0-beta.31
"
,
"
@babel/types
"
:
"
7.0.0-beta.31
"
,
"
assert
"
:
"
1.4.1
"
,
"
commander
"
:
"
2.11.0
"
,
"
coordtransform
"
:
"
2.0.2
"
,
"
escodegen
"
:
"
1.8.0
"
,
"
esprima
"
:
"
2.7.2
"
,
"
estraverse
"
:
"
4.1.1
"
,
"
fs-extra
"
:
"
0.26.7
"
,
"
glob
"
:
"
7.0.0
"
,
"
rollup
"
:
"
0.50.0
"
,
"
rollup-plugin-node-resolve
"
:
"
3.0.0
"
,
"
rollup-plugin-uglify
"
:
"
2.0.1
"
,
"
zrender
"
:
"
3.7.1
"
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录