adding options for barcharts and half fix for editing after preload
Merge branch 'option_templates'