Adding htmlOption and chartConfiguration params