|
@ -69,6 +69,13 @@ GraphGroup.prototype.setOptions = function(options) { |
|
|
var fields = ['sampling','style','sort','yAxisOrientation','barChart']; |
|
|
var fields = ['sampling','style','sort','yAxisOrientation','barChart']; |
|
|
util.selectiveDeepExtend(fields, this.options, options); |
|
|
util.selectiveDeepExtend(fields, this.options, options); |
|
|
|
|
|
|
|
|
|
|
|
// if the group's drawPoints is a function delegate the callback to the onRender property
|
|
|
|
|
|
if (typeof options.drawPoints == 'function') { |
|
|
|
|
|
options.drawPoints = { |
|
|
|
|
|
onRender: options.drawPoints |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
util.mergeOptions(this.options, options,'interpolation'); |
|
|
util.mergeOptions(this.options, options,'interpolation'); |
|
|
util.mergeOptions(this.options, options,'drawPoints'); |
|
|
util.mergeOptions(this.options, options,'drawPoints'); |
|
|
util.mergeOptions(this.options, options,'shaded'); |
|
|
util.mergeOptions(this.options, options,'shaded'); |
|
|