提交 c9f9fc7a 编写于 作者: S sushuang

Merge branch 'next' of https://github.com/100pah/echarts into next

......@@ -99,6 +99,8 @@ echarts.extendChartView({
var group = this.group;
var renderItem = makeRenderItem(customSeries, data, ecModel, api);
this.group.removeAll();
data.diff(oldData)
.add(function (newIdx) {
data.hasValue(newIdx) && createOrUpdate(
......
......@@ -231,7 +231,7 @@ View.prototype = {
* @param {Array.<number>} data
* @return {Array.<number>}
*/
dataToPoint: function (data, out) {
dataToPoint: function (data, preserved, out) {
var transform = this.transform;
out = out || [];
return transform
......
......@@ -195,7 +195,7 @@ Geo.prototype = {
* @param {string|Array.<number>} data
* @return {Array.<number>}
*/
dataToPoint: function (data, out) {
dataToPoint: function (data, preserved, out) {
if (typeof data === 'string') {
// Map area name to geoCoord
data = this.getGeoCoord(data);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册