function setAnimation(animation, chart) {
	globalAnimation = pick(animation, chart.animation);
}
Set the global animation to either a given value, or fall back to the
given chart's animation option
@param {Object} animation
@param {Object} chart