Ability to specify chart type in JSON options.