Skip to content

Commit

Permalink
fix(gauge): remove gauge data converting to array
Browse files Browse the repository at this point in the history
because this was not supported since 4.0
  • Loading branch information
Ovilia committed Oct 18, 2019
1 parent 19258d9 commit dc8c853
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/chart/gauge/GaugeSeries.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ var GaugeSeries = SeriesModel.extend({
type: 'series.gauge',

getInitialData: function (option, ecModel) {
var dataOpt = option.data;
if (dataOpt && !zrUtil.isArray(dataOpt)) {
dataOpt = [dataOpt];
}
option.data = dataOpt;
return createListSimply(this, ['value']);
},

Expand Down

0 comments on commit dc8c853

Please sign in to comment.