add bc api options, add margin to chart