提交 cc7d04ed 编写于 作者: L lang

Fix line

上级 b9749a3a
......@@ -8,8 +8,8 @@ define(function(require) {
type: 'line',
getInitialData: function (option) {
return List.fromArray(option.data, 1, this);
getInitialData: function (option, ecModel) {
return List.fromArray(option.data, this, ecModel);
},
defaultOption: {
......
......@@ -29,8 +29,8 @@ define(function(require) {
var cartesian = seriesModel.coordinateSystem;
var xAxis = cartesian.getAxis('x');
var yAxis = cartesian.getAxis('y');
var xExtent = xAxis.getCoordExtent();
var yExtent = yAxis.getCoordExtent();
var xExtent = xAxis.getExtent();
var yExtent = yAxis.getExtent();
var clipPath = new api.Rect({
shape: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册