]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Update tests for new config option
authorEvert Timberg <evert.timberg+github@gmail.com>
Sun, 17 Apr 2016 01:49:08 +0000 (21:49 -0400)
committerEvert Timberg <evert.timberg+github@gmail.com>
Sun, 17 Apr 2016 01:49:08 +0000 (21:49 -0400)
test/core.helpers.tests.js
test/scale.category.tests.js
test/scale.linear.tests.js
test/scale.logarithmic.tests.js
test/scale.radialLinear.tests.js
test/scale.time.tests.js

index 3721e3b413f6fe09664f11393082cfa7c58ebe4a..7bc5dc3c7fca4f5a13358023542ca1794ecdff43 100644 (file)
@@ -217,6 +217,7 @@ describe('Core helper tests', function() {
                                                color: "rgba(0, 0, 0, 0.1)",
                                                drawOnChartArea: true,
                                                drawTicks: true, // draw ticks extending towards the label
+                                               tickMarkLength: 10,
                                                lineWidth: 1,
                                                offsetGridLines: false,
                                                display: true,
@@ -246,7 +247,8 @@ describe('Core helper tests', function() {
                                        gridLines: {
                                                color: "rgba(0, 0, 0, 0.1)",
                                                drawOnChartArea: true,
-                                               drawTicks: true, // draw ticks extending towards the label
+                                               drawTicks: true, // draw ticks extending towards the label,
+                                               tickMarkLength: 10
                                                lineWidth: 1,
                                                offsetGridLines: false,
                                                display: true,
index 47645fe2391842feacf857d18894036d9a09b1c5..7807d05c73f2dbce663b98180c3473a8db995b02 100644 (file)
@@ -16,6 +16,7 @@ describe('Category scale tests', function() {
                                color: "rgba(0, 0, 0, 0.1)",
                                drawOnChartArea: true,
                                drawTicks: true, // draw ticks extending towards the label
+                               tickMarkLength: 10,
                                lineWidth: 1,
                                offsetGridLines: false,
                                display: true,
index 1de340d4ed2e456452497e07c0b9c4dfb338a07d..3236949b123a23e21cfb0c54f6a139ec18183b6d 100644 (file)
@@ -15,6 +15,7 @@ describe('Linear Scale', function() {
                                color: "rgba(0, 0, 0, 0.1)",
                                drawOnChartArea: true,
                                drawTicks: true, // draw ticks extending towards the label
+                               tickMarkLength: 10,
                                lineWidth: 1,
                                offsetGridLines: false,
                                display: true,
index 6f286623779397772eabce718b907fe4db690260..a75f174e15decafb191acae8ddc755e844c4c380 100644 (file)
@@ -14,6 +14,7 @@ describe('Logarithmic Scale tests', function() {
                                color: "rgba(0, 0, 0, 0.1)",
                                drawOnChartArea: true,
                                drawTicks: true,
+                               tickMarkLength: 10,
                                lineWidth: 1,
                                offsetGridLines: false,
                                display: true,
index 566e61b6aae373ba602bbe5ac3e64fd831d44f41..c7d05e295228f6e8451a8332682d31578e2b940f 100644 (file)
@@ -20,6 +20,7 @@ describe('Test the radial linear scale', function() {
                                color: "rgba(0, 0, 0, 0.1)",
                                drawOnChartArea: true,
                                drawTicks: true,
+                               tickMarkLength: 10,
                                lineWidth: 1,
                                offsetGridLines: false,
                                display: true,
index 244daff636944d5627042b51c57d2a6ac3ee1bc9..c35b4cea32b6b6d0b3447b5c5bb390e6191aafc9 100644 (file)
@@ -40,6 +40,7 @@ describe('Time scale tests', function() {
                                color: "rgba(0, 0, 0, 0.1)",
                                drawOnChartArea: true,
                                drawTicks: true,
+                               tickMarkLength: 10,
                                lineWidth: 1,
                                offsetGridLines: false,
                                display: true,