it("rejects negative padding", function () {
    func = function () {
      cf.padYAxis(graph, "y", "top", -1);
    };
    expect(func).toThrow();