提交 99023018 编写于 作者: P pah100

tweak

上级 fddd623c
...@@ -43,8 +43,8 @@ define(function(require) { ...@@ -43,8 +43,8 @@ define(function(require) {
var list = new List(dataDimsInfo, this); var list = new List(dataDimsInfo, this);
list.initData(rawData); list.initData(rawData);
// Anication is forbiden in large data mode. // Anication is forbiden in progressive data mode.
if (this.option.large) { if (this.option.progressive) {
this.option.animation = false; this.option.animation = false;
} }
......
...@@ -80,9 +80,8 @@ define(function (require) { ...@@ -80,9 +80,8 @@ define(function (require) {
function update(newDataIndex, oldDataIndex) { function update(newDataIndex, oldDataIndex) {
var line = oldData.getItemGraphicEl(oldDataIndex); var line = oldData.getItemGraphicEl(oldDataIndex);
var points = createLinePoints(data, newDataIndex, dimensions, coordSys); var points = createLinePoints(data, newDataIndex, dimensions, coordSys);
line.shape.points = points;
line.dirty();
data.setItemGraphicEl(newDataIndex, line); data.setItemGraphicEl(newDataIndex, line);
graphic.updateProps(line, {shape: {points: points}}, seriesModel, newDataIndex);
} }
function remove(oldDataIndex) { function remove(oldDataIndex) {
......
...@@ -10,6 +10,10 @@ ...@@ -10,6 +10,10 @@
body { body {
/*background: #000;*/ /*background: #000;*/
} }
#main {
width: 766px;
height: 688px;
}
</style> </style>
<div id="main"></div> <div id="main"></div>
......
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
var lineStyle = { var lineStyle = {
normal: { normal: {
width: 1, width: 1,
opacity: 0.01 opacity: 0.05
// shadowBlur: 10, // shadowBlur: 10,
// shadowOffsetX: 0, // shadowOffsetX: 0,
// shadowOffsetY: 0, // shadowOffsetY: 0,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册