提交 99023018 编写于 作者: P pah100

tweak

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