Adds bar, step and spline c3js chart