broke bar-chart javascript though using exact same input data context as working line chart