Skip to content

Commit

Permalink
Minor fixes based on feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
nagix committed May 22, 2019
1 parent 9e20e49 commit ddf00d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/controllers/controller.radar.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,12 @@ module.exports = DatasetController.extend({
*/
_resolveDatasetElementOptions: function() {
var me = this;
var datasetOpts = me._config;
var config = me._config;
var options = me.chart.options;
var values = DatasetController.prototype._resolveDatasetElementOptions.apply(me, arguments);

values.spanGaps = valueOrDefault(datasetOpts.spanGaps, options.spanGaps);
values.tension = valueOrDefault(datasetOpts.lineTension, options.elements.line.tension);
values.spanGaps = valueOrDefault(config.spanGaps, options.spanGaps);
values.tension = valueOrDefault(config.lineTension, options.elements.line.tension);

return values;
},
Expand Down

0 comments on commit ddf00d0

Please sign in to comment.