Change default value of legend option
Fix bug in Bar chart