Chart.Smith.js
Advanced tools
Comparing version 0.1.1 to 0.2.0
@@ -0,0 +0,0 @@ { |
/*! | ||
* Chart.Smith.js | ||
* Version: 0.1.1 | ||
* Version: 0.2.0 | ||
* | ||
@@ -5,0 +5,0 @@ * Copyright 2016 Evert Timberg |
@@ -0,0 +0,0 @@ Contributing |
@@ -0,0 +0,0 @@ var concat = require('gulp-concat'), |
@@ -0,0 +0,0 @@ module.exports = function(config) { |
@@ -0,0 +0,0 @@ module.exports = function(config) { |
@@ -0,0 +0,0 @@ Copyright (c) 2014 Evert Timberg |
@@ -8,3 +8,3 @@ { | ||
"main": "Chart.Smith.js", | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"repository": { | ||
@@ -15,3 +15,3 @@ "type": "git", | ||
"dependencies": { | ||
"chart.js": "^2.1.2" | ||
"chart.js": "^2.4.0" | ||
}, | ||
@@ -18,0 +18,0 @@ "devDependencies": { |
@@ -0,0 +0,0 @@ # Chart.Smith.js |
@@ -0,0 +0,0 @@ (function(Chart) { |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ // Test the smith controller |
@@ -12,3 +12,3 @@ describe('Smith Scale', function() { | ||
expect(defaultConfig).toEqual({ | ||
expect(defaultConfig).toEqual(jasmine.objectContaining({ | ||
display: true, | ||
@@ -20,2 +20,3 @@ gridLines: { | ||
drawTicks: true, // draw ticks extending towards the label | ||
drawBorder: true, | ||
lineWidth: 1, | ||
@@ -26,2 +27,4 @@ offsetGridLines: false, | ||
zeroLineWidth: 1, | ||
borderDash: [], | ||
borderDashOffset: 0, | ||
}, | ||
@@ -36,2 +39,3 @@ position: 'chartArea', | ||
maxRotation: 50, | ||
minRotation: 0, | ||
mirror: false, | ||
@@ -45,5 +49,6 @@ padding: 5, | ||
autoSkip: true, | ||
autoSkipPadding: 0 | ||
autoSkipPadding: 0, | ||
labelOffset: 0 | ||
} | ||
}); | ||
})); | ||
@@ -1028,3 +1033,3 @@ expect(defaultConfig.ticks.callback).toEqual(jasmine.any(Function)); | ||
"name": "rotate", | ||
"args": [0.03999466794630145] | ||
"args": [0.03999466794630146] | ||
}, { | ||
@@ -1074,3 +1079,3 @@ "name": "fillText", | ||
"name": "rotate", | ||
"args": [0.3947911196997615] | ||
"args": [0.39479111969976155] | ||
}, { | ||
@@ -1120,3 +1125,3 @@ "name": "fillText", | ||
"name": "rotate", | ||
"args": [0.9272952180016117] | ||
"args": [0.9272952180016119] | ||
}, { | ||
@@ -1256,3 +1261,3 @@ "name": "fillText", | ||
"name": "rotate", | ||
"args": [1.349481884447105] | ||
"args": [1.3494818844471048] | ||
}, { | ||
@@ -1287,3 +1292,3 @@ "name": "fillText", | ||
"name": "rotate", | ||
"args": [-0.9272952180016117] | ||
"args": [-0.9272952180016119] | ||
}, { | ||
@@ -1333,3 +1338,3 @@ "name": "fillText", | ||
"name": "rotate", | ||
"args": [-0.3947911196997615] | ||
"args": [-0.39479111969976155] | ||
}, { | ||
@@ -1379,3 +1384,3 @@ "name": "fillText", | ||
"name": "rotate", | ||
"args": [-0.03999466794630145] | ||
"args": [-0.03999466794630146] | ||
}, { | ||
@@ -1382,0 +1387,0 @@ "name": "fillText", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2578
80979
Updatedchart.js@^2.4.0