提交 abdb8319 编写于 作者: P pissang

fix(line): optimize area animation

上级 97e15ec4
......@@ -79,6 +79,11 @@ export interface LineSeriesOption extends SeriesOption,
origin?: 'auto' | 'start' | 'end'
}
emphasis?: {
label?: LabelOption
itemStyle?: ItemStyleOption
}
step?: false | 'start' | 'end' | 'middle'
smooth?: boolean
......@@ -87,7 +92,6 @@ export interface LineSeriesOption extends SeriesOption,
connectNulls?: boolean
showSymbol?: boolean
// false | 'auto': follow the label interval strategy.
// true: show all symbols.
......
......@@ -786,7 +786,6 @@ class LineView extends ChartView {
polygon.stopAnimation();
graphic.updateProps(polygon, {
shape: {
points: next,
stackedOnPoints: stackedOnNext
}
}, seriesModel);
......
......@@ -340,10 +340,10 @@ under the License.
const isLeft = params.labelRect.x < cx;
return isLeft ? {
x: cx - 200,
textAlign: 'right',
align: 'right',
} : {
x: cx + 100,
textAlign: 'left'
align: 'left'
};
}
}]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册