提交 9b0def2b 编写于 作者: L lang

Merge branch 'master' of https://github.com/pissang/echarts-next

......@@ -74,7 +74,8 @@ define(function(require) {
itemWidth: null, // 值域图形宽度
itemHeight: null, // 值域图形高度
precision: 0, // 小数精度,默认为0,无小数点
color: ['#e0ffff', '#006edd'], //颜色(deprecated,兼容ec2,对应数值由高到低)
color: ['#006edd', '#e0ffff'],//颜色(deprecated,兼容ec2,对应数值由高到低)
// formatter: null,
text: null, // 文本,如['高', '低'],兼容ec2,text[0]对应高值,text[1]对应低值
textStyle: {
......
......@@ -35,15 +35,21 @@
for (var i = 0; i < 100; i++) {
data1.push([
Math.random() * 5, Math.random() * 4, Math.random() * 20,
Math.random() * 5,
Math.random() * 4,
Math.random() * 20,
Math.round(Math.random() * (symbolCount - 1))
]);
data2.push([
Math.random() * 10, Math.random() * 5, Math.random() * 20,
Math.random() * 10,
Math.random() * 5,
Math.random() * 20,
Math.round(Math.random() * (symbolCount - 1))
]);
data3.push([
Math.random() * 15, Math.random() * 10, Math.random() * 20,
Math.random() * 15,
Math.random() * 10,
Math.random() * 20,
Math.round(Math.random() * (symbolCount - 1))
]);
}
......@@ -75,9 +81,12 @@
x: 'right',
// selectedMode: 'single',
selectedMode: 'multiple',
dimension: 'a',
backgroundColor: '#eee',
dimension: 'z',
selected: [],
min: 0,
max: 24,
precision: 0,
inRange: { // visual for short cut
color: ['rgb(20,1,0)']
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册