language
stringclasses
1 value
owner
stringlengths
2
15
repo
stringlengths
2
21
sha
stringlengths
45
45
message
stringlengths
7
36.3k
path
stringlengths
1
199
patch
stringlengths
15
102k
is_multipart
bool
2 classes
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/controller.line/cubicInterpolationMode/scriptable.js
@@ -35,8 +35,8 @@ module.exports = { padding: 32 }, scales: { - xAxes: [{display: false}], - yAxes: [{display: false}] + x: {display: false}, + y: {display: false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/controller.line/cubicInterpolationMode/value.js
@@ -31,8 +31,8 @@ module.exports = { padding: 32 }, scales: { - xAxes: [{display: false}], - yAxes: [{display: false}] + x: {display: false}, + y: {display: false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/controller.line/fill/order-default.js
@@ -31,8 +31,8 @@ module.exports = { padding: 32 }, scales: { - xAxes: [{display: false}], - yAxes: [{display: false}] + x: {display: false}, + y: {display: false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/controller.line/fill/order.js
@@ -31,8 +31,8 @@ module.exports = { padding: 32 }, scales: { - xAxes: [{display: false}], - yAxes: [{display: false}] + x: {display: false}, + y: {display: false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/controller.line/fill/scriptable.js
@@ -33,8 +33,8 @@ module.exports = { padding: 32 }, scales: { - xAxes: [{display: false}], - yAxes: [{display: false}] + x: {display: false}, + y: {display: false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/controller.line/fill/value.js
@@ -29,8 +29,8 @@ module.exports = { padding: 32 }, scales: { - xAxes: [{display: false}], - yAxes: [{display: false}] + x: {display: false}, + y: {display: false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/controller.line/non-numeric-y.json
@@ -17,11 +17,11 @@ "legend": false, "title": false, "scales": { - "xAxes": [{"display": false}], - "yAxes": [{ + "x": {"display": false}, + "y": { "type": "category", "display": ...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/controller.line/point-style.json
@@ -64,12 +64,12 @@ "legend": false, "title": false, "scales": { - "xAxes": [{"display": false}], - "yAxes": [{ + "x": {"display": false}, + "y": { "display": false, "min": 0, ...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/controller.line/pointBackgroundColor/indexable.js
@@ -42,8 +42,8 @@ module.exports = { } }, scales: { - xAxes: [{display: false}], - yAxes: [{display: false}] + x: {display: false}, + y: {display: false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/controller.line/pointBackgroundColor/scriptable.js
@@ -40,13 +40,11 @@ module.exports = { } }, scales: { - xAxes: [{display: false}], - yAxes: [ - { - display: false, - beginAtZero: true - } - ] + x: {display: false}, + y: { + display: false, + beginAtZero: true + } } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/controller.line/pointBackgroundColor/value.js
@@ -28,8 +28,8 @@ module.exports = { } }, scales: { - xAxes: [{display: false}], - yAxes: [{display: false}] + x: {display: false}, + y: {display: false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/controller.line/pointBorderColor/indexable.js
@@ -42,8 +42,8 @@ module.exports = { } }, scales: { - xAxes: [{display: false}], - yAxes: [{display: false}] + x: {display: false}, + y: {display: false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/controller.line/pointBorderColor/scriptable.js
@@ -40,13 +40,11 @@ module.exports = { } }, scales: { - xAxes: [{display: false}], - yAxes: [ - { - display: false, - beginAtZero: true - } - ] + x: {display: false}, + y: { + display: false, + beginAtZero: true + } } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/controller.line/pointBorderColor/value.js
@@ -28,8 +28,8 @@ module.exports = { } }, scales: { - xAxes: [{display: false}], - yAxes: [{display: false}] + x: {display: false}, + y: {display: false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/controller.line/pointBorderWidth/indexable.js
@@ -34,8 +34,8 @@ module.exports = { } }, scales: { - xAxes: [{display: false}], - yAxes: [{display: false}] + x: {display: false}, + y: {display: false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/controller.line/pointBorderWidth/scriptable.js
@@ -40,13 +40,11 @@ module.exports = { } }, scales: { - xAxes: [{display: false}], - yAxes: [ - { - display: false, - beginAtZero: true - } - ] + x: {display: false}, + y: { + display: false, + beginAtZero: true + } } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/controller.line/pointBorderWidth/value.js
@@ -30,8 +30,8 @@ module.exports = { } }, scales: { - xAxes: [{display: false}], - yAxes: [{display: false}] + x: {display: false}, + y: {display: false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/controller.line/pointStyle/indexable.js
@@ -46,8 +46,8 @@ module.exports = { } }, scales: { - xAxes: [{display: false}], - yAxes: [{display: false}] + x: {display: false}, + y: {display: false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/controller.line/pointStyle/scriptable.js
@@ -44,13 +44,11 @@ module.exports = { } }, scales: { - xAxes: [{display: false}], - yAxes: [ - { - display: false, - beginAtZero: true - } - ] + x: {display: false}, + y: { + display: false, + beginAtZero: true + } } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/controller.line/pointStyle/value.js
@@ -30,8 +30,8 @@ module.exports = { } }, scales: { - xAxes: [{display: false}], - yAxes: [{display: false}] + x: {display: false}, + y: {display: false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/controller.line/radius/indexable.js
@@ -33,8 +33,8 @@ module.exports = { } }, scales: { - xAxes: [{display: false}], - yAxes: [{display: false}] + x: {display: false}, + y: {display: false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/controller.line/radius/scriptable.js
@@ -39,13 +39,11 @@ module.exports = { } }, scales: { - xAxes: [{display: false}], - yAxes: [ - { - display: false, - beginAtZero: true - } - ] + x: {display: false}, + y: { + display: false, + beginAtZero: true + } } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/controller.line/radius/value.js
@@ -29,8 +29,8 @@ module.exports = { } }, scales: { - xAxes: [{display: false}], - yAxes: [{display: false}] + x: {display: false}, + y: {display: false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/controller.line/rotation/indexable.js
@@ -35,8 +35,8 @@ module.exports = { } }, scales: { - xAxes: [{display: false}], - yAxes: [{display: false}] + x: {display: false}, + y: {display: false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/controller.line/rotation/scriptable.js
@@ -41,13 +41,11 @@ module.exports = { } }, scales: { - xAxes: [{display: false}], - yAxes: [ - { - display: false, - beginAtZero: true - } - ] + x: {display: false}, + y: { + display: false, + beginAtZero: true + } } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/controller.line/rotation/value.js
@@ -31,8 +31,8 @@ module.exports = { } }, scales: { - xAxes: [{display: false}], - yAxes: [{display: false}] + x: {display: false}, + y: {display: false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/controller.line/stacking/order-default.js
@@ -31,8 +31,8 @@ module.exports = { padding: 32 }, scales: { - xAxes: [{stacked: true, display: false}], - yAxes: [{stacked: true, display: false}] + x: {stacked: true, display: false}, + y: {stacked: true, display: false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/controller.line/stacking/order-specified.js
@@ -33,8 +33,8 @@ module.exports = { padding: 32 }, scales: { - xAxes: [{stacked: true, display: false}], - yAxes: [{stacked: true, display: false}] + x: {stacked: true, display: false}, + y: {stacked: true, display: false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/core.scale/label-offset-vertical-axes.json
@@ -11,24 +11,24 @@ "legend": false, "title": false, "scales": { - "xAxes": [{ + "x": { "ticks": { "display": false }, "gridLines":{ "disp...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/core.scale/tick-drawing.json
@@ -9,7 +9,7 @@ "legend": false, "title": false, "scales": { - "xAxes": [{ + "x": { "type": "category", "position": "top", "id": "x-axis-1", @@ -21,10 +21,10 @@ "d...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/core.tooltip/opacity.js
@@ -38,8 +38,8 @@ module.exports = { legend: false, title: false, scales: { - xAxes: [{display: false}], - yAxes: [{display: false}] + x: {display: false}, + y: {display: false} }, elements: { line: {
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/element.line/default.js
@@ -12,8 +12,8 @@ module.exports = { legend: false, title: false, scales: { - xAxes: [{type: 'linear', display: false, min: 0, max: 20}], - yAxes: [{display: false, min: -15, max: 15}] + x: {type: 'linear', display: false, min: 0, max: 20}, + y: {display: false, min: -15, max: 15} } } }...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/element.line/skip/all.js
@@ -15,8 +15,8 @@ module.exports = { legend: false, title: false, scales: { - xAxes: [{type: 'linear', display: false, min: 0, max: 20}], - yAxes: [{display: false, min: -15, max: 15}] + x: {type: 'linear', display: false, min: 0, max: 20}, + y: {display: false, min: -15, max: 15} } } }...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/element.line/skip/first-span.js
@@ -16,8 +16,8 @@ module.exports = { legend: false, title: false, scales: { - xAxes: [{type: 'linear', display: false, min: 0, max: 20}], - yAxes: [{display: false, min: -15, max: 15}] + x: {type: 'linear', display: false, min: 0, max: 20}, + y: {display: false, min: -15, max: 15} } } }...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/element.line/skip/first.js
@@ -15,8 +15,8 @@ module.exports = { legend: false, title: false, scales: { - xAxes: [{type: 'linear', display: false, min: 0, max: 20}], - yAxes: [{display: false, min: -15, max: 15}] + x: {type: 'linear', display: false, min: 0, max: 20}, + y: {display: false, min: -15, max: 15} } } }...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/element.line/skip/last-span.js
@@ -16,8 +16,8 @@ module.exports = { legend: false, title: false, scales: { - xAxes: [{type: 'linear', display: false, min: 0, max: 20}], - yAxes: [{display: false, min: -15, max: 15}] + x: {type: 'linear', display: false, min: 0, max: 20}, + y: {display: false, min: -15, max: 15} } } }...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/element.line/skip/last.js
@@ -15,8 +15,8 @@ module.exports = { legend: false, title: false, scales: { - xAxes: [{type: 'linear', display: false, min: 0, max: 20}], - yAxes: [{display: false, min: -15, max: 15}] + x: {type: 'linear', display: false, min: 0, max: 20}, + y: {display: false, min: -15, max: 15} } } }...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/element.line/skip/middle-span.js
@@ -16,8 +16,8 @@ module.exports = { legend: false, title: false, scales: { - xAxes: [{type: 'linear', display: false, min: 0, max: 20}], - yAxes: [{display: false, min: -15, max: 15}] + x: {type: 'linear', display: false, min: 0, max: 20}, + y: {display: false, min: -15, max: 15} } } }...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/element.line/skip/middle.js
@@ -15,8 +15,8 @@ module.exports = { legend: false, title: false, scales: { - xAxes: [{type: 'linear', display: false, min: 0, max: 20}], - yAxes: [{display: false, min: -15, max: 15}] + x: {type: 'linear', display: false, min: 0, max: 20}, + y: {display: false, min: -15, max: 15} } } }...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/element.line/stepped/after.js
@@ -16,8 +16,8 @@ module.exports = { legend: false, title: false, scales: { - xAxes: [{type: 'linear', display: false, min: 0, max: 20}], - yAxes: [{display: false, min: -15, max: 15}] + x: {type: 'linear', display: false, min: 0, max: 20}, + y: {display: false, min: -15, max: 15} } } }...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/element.line/stepped/before.js
@@ -16,8 +16,8 @@ module.exports = { legend: false, title: false, scales: { - xAxes: [{type: 'linear', display: false, min: 0, max: 20}], - yAxes: [{display: false, min: -15, max: 15}] + x: {type: 'linear', display: false, min: 0, max: 20}, + y: {display: false, min: -15, max: 15} } } }...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/element.line/stepped/default.js
@@ -16,8 +16,8 @@ module.exports = { legend: false, title: false, scales: { - xAxes: [{type: 'linear', display: false, min: 0, max: 20}], - yAxes: [{display: false, min: -15, max: 15}] + x: {type: 'linear', display: false, min: 0, max: 20}, + y: {display: false, min: -15, max: 15} } } }...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/element.line/stepped/middle.js
@@ -16,8 +16,8 @@ module.exports = { legend: false, title: false, scales: { - xAxes: [{type: 'linear', display: false, min: 0, max: 20}], - yAxes: [{display: false, min: -15, max: 15}] + x: {type: 'linear', display: false, min: 0, max: 20}, + y: {display: false, min: -15, max: 15} } } }...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/element.line/tension/default.js
@@ -14,8 +14,8 @@ module.exports = { legend: false, title: false, scales: { - xAxes: [{type: 'linear', display: false, min: 0, max: 20}], - yAxes: [{display: false, min: -15, max: 15}] + x: {type: 'linear', display: false, min: 0, max: 20}, + y: {display: false, min: -15, max: 15} } } }...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/element.line/tension/one.js
@@ -15,8 +15,8 @@ module.exports = { legend: false, title: false, scales: { - xAxes: [{type: 'linear', display: false, min: 0, max: 20}], - yAxes: [{display: false, min: -15, max: 15}] + x: {type: 'linear', display: false, min: 0, max: 20}, + y: {display: false, min: -15, max: 15} } } }...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/element.line/tension/zero.js
@@ -15,8 +15,8 @@ module.exports = { legend: false, title: false, scales: { - xAxes: [{type: 'linear', display: false, min: 0, max: 20}], - yAxes: [{display: false, min: -15, max: 15}] + x: {type: 'linear', display: false, min: 0, max: 20}, + y: {display: false, min: -15, max: 15} } } }...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/element.point/point-style-circle.json
@@ -53,8 +53,8 @@ "padding": 40 }, "scales": { - "xAxes": [{"display": false}], - "yAxes": [{"display": false}] + "x": {"display": false}, + "y": {"display": false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/element.point/point-style-cross-rot.json
@@ -53,8 +53,8 @@ "padding": 40 }, "scales": { - "xAxes": [{"display": false}], - "yAxes": [{"display": false}] + "x": {"display": false}, + "y": {"display": false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/element.point/point-style-cross.json
@@ -53,8 +53,8 @@ "padding": 40 }, "scales": { - "xAxes": [{"display": false}], - "yAxes": [{"display": false}] + "x": {"display": false}, + "y": {"display": false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/element.point/point-style-dash.json
@@ -53,8 +53,8 @@ "padding": 40 }, "scales": { - "xAxes": [{"display": false}], - "yAxes": [{"display": false}] + "x": {"display": false}, + "y": {"display": false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/element.point/point-style-image.js
@@ -44,8 +44,8 @@ module.exports = { padding: 20 }, scales: { - xAxes: [{display: false}], - yAxes: [{display: false}] + x: {display: false}, + y: {display: false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/element.point/point-style-line.json
@@ -53,8 +53,8 @@ "padding": 40 }, "scales": { - "xAxes": [{"display": false}], - "yAxes": [{"display": false}] + "x": {"display": false}, + "y": {"display": false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/element.point/point-style-rect-rot.json
@@ -53,8 +53,8 @@ "padding": 40 }, "scales": { - "xAxes": [{"display": false}], - "yAxes": [{"display": false}] + "x": {"display": false}, + "y": {"display": false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/element.point/point-style-rect-rounded.json
@@ -53,8 +53,8 @@ "padding": 40 }, "scales": { - "xAxes": [{"display": false}], - "yAxes": [{"display": false}] + "x": {"display": false}, + "y": {"display": false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/element.point/point-style-rect.json
@@ -53,8 +53,8 @@ "padding": 40 }, "scales": { - "xAxes": [{"display": false}], - "yAxes": [{"display": false}] + "x": {"display": false}, + "y": {"display": false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/element.point/point-style-star.json
@@ -53,8 +53,8 @@ "padding": 40 }, "scales": { - "xAxes": [{"display": false}], - "yAxes": [{"display": false}] + "x": {"display": false}, + "y": {"display": false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/element.point/point-style-triangle.json
@@ -53,8 +53,8 @@ "padding": 40 }, "scales": { - "xAxes": [{"display": false}], - "yAxes": [{"display": false}] + "x": {"display": false}, + "y": {"display": false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/element.point/rotation.js
@@ -42,8 +42,8 @@ module.exports = { padding: 20 }, scales: { - xAxes: [{display: false}], - yAxes: [{display: false}] + x: {display: false}, + y: {display: false} } } },
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/plugin.filler/fill-line-boundary-end-span.json
@@ -23,12 +23,12 @@ "legend": false, "title": false, "scales": { - "xAxes": [{ + "x": { "display": false - }], - "yAxes": [{ + }, + "y": { "display":...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/plugin.filler/fill-line-boundary-end.json
@@ -23,12 +23,12 @@ "legend": false, "title": false, "scales": { - "xAxes": [{ + "x": { "display": false - }], - "yAxes": [{ + }, + "y": { "display":...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/plugin.filler/fill-line-boundary-origin-span.json
@@ -23,12 +23,12 @@ "legend": false, "title": false, "scales": { - "xAxes": [{ + "x": { "display": false - }], - "yAxes": [{ + }, + "y": { "display":...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/plugin.filler/fill-line-boundary-origin-spline-span.json
@@ -23,12 +23,12 @@ "legend": false, "title": false, "scales": { - "xAxes": [{ + "x": { "display": false - }], - "yAxes": [{ + }, + "y": { "display":...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/plugin.filler/fill-line-boundary-origin-spline.json
@@ -23,12 +23,12 @@ "legend": false, "title": false, "scales": { - "xAxes": [{ + "x": { "display": false - }], - "yAxes": [{ + }, + "y": { "display":...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/plugin.filler/fill-line-boundary-origin-stepped-span.json
@@ -23,12 +23,12 @@ "legend": false, "title": false, "scales": { - "xAxes": [{ + "x": { "display": false - }], - "yAxes": [{ + }, + "y": { "display":...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/plugin.filler/fill-line-boundary-origin-stepped.json
@@ -23,12 +23,12 @@ "legend": false, "title": false, "scales": { - "xAxes": [{ + "x": { "display": false - }], - "yAxes": [{ + }, + "y": { "display":...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/plugin.filler/fill-line-boundary-origin.json
@@ -23,12 +23,12 @@ "legend": false, "title": false, "scales": { - "xAxes": [{ + "x": { "display": false - }], - "yAxes": [{ + }, + "y": { "display":...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/plugin.filler/fill-line-boundary-start-span.json
@@ -23,12 +23,12 @@ "legend": false, "title": false, "scales": { - "xAxes": [{ + "x": { "display": false - }], - "yAxes": [{ + }, + "y": { "display":...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/plugin.filler/fill-line-boundary-start.json
@@ -23,12 +23,12 @@ "legend": false, "title": false, "scales": { - "xAxes": [{ + "x": { "display": false - }], - "yAxes": [{ + }, + "y": { "display":...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/plugin.filler/fill-line-dataset-border.json
@@ -31,12 +31,12 @@ "legend": false, "title": false, "scales": { - "xAxes": [{ + "x": { "display": false - }], - "yAxes": [{ + }, + "y": { "display":...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/plugin.filler/fill-line-dataset-span.json
@@ -31,12 +31,12 @@ "legend": false, "title": false, "scales": { - "xAxes": [{ + "x": { "display": false - }], - "yAxes": [{ + }, + "y": { "display":...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/plugin.filler/fill-line-dataset-spline-span.json
@@ -31,12 +31,12 @@ "legend": false, "title": false, "scales": { - "xAxes": [{ + "x": { "display": false - }], - "yAxes": [{ + }, + "y": { "display":...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/plugin.filler/fill-line-dataset-spline.json
@@ -31,12 +31,12 @@ "legend": false, "title": false, "scales": { - "xAxes": [{ + "x": { "display": false - }], - "yAxes": [{ + }, + "y": { "display":...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/plugin.filler/fill-line-dataset.json
@@ -31,12 +31,12 @@ "legend": false, "title": false, "scales": { - "xAxes": [{ + "x": { "display": false - }], - "yAxes": [{ + }, + "y": { "display":...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/fixtures/scale.radialLinear/indexable-gridlines.json
@@ -10,6 +10,7 @@ "title": false, "scale": { "gridLines": { + "display": true, "color": [ "rgba(0, 0, 0, 0.5)", "rgba(255, 255, 255, 0.5)",
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/specs/controller.bar.tests.js
@@ -41,21 +41,11 @@ describe('Chart.controllers.bar', function() { ], labels: [] }, - options: { - scales: { - xAxes: [{ - id: 'firstXScaleID' - }], - yAxes: [{ - id: 'firstYScaleID' - }] - } - } }); var meta = chart.getDatasetMeta(1); - expect(meta.xAxisID).to...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/specs/controller.bubble.tests.js
@@ -33,22 +33,12 @@ describe('Chart.controllers.bubble', function() { data: [] }] }, - options: { - scales: { - xAxes: [{ - id: 'firstXScaleID' - }], - yAxes: [{ - id: 'firstYScaleID' - }] - } - } }); var meta = chart.getDatasetMeta(0); - expect(meta.xAxisID...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/specs/controller.line.tests.js
@@ -35,21 +35,11 @@ describe('Chart.controllers.line', function() { }], labels: [] }, - options: { - scales: { - xAxes: [{ - id: 'firstXScaleID' - }], - yAxes: [{ - id: 'firstYScaleID' - }] - } - } }); var meta = chart.getDatasetMeta(0); - expect(meta.xAxisID)....
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/specs/core.controller.tests.js
@@ -130,19 +130,19 @@ describe('Chart', function() { type: 'line', options: { scales: { - xAxes: [{ + x: { position: 'left', - }], - yAxes: [{ + }, + y: { position: 'bottom' - }] + } } } }); var scaleOptions = chart.options.sca...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/specs/core.datasetController.tests.js
@@ -233,16 +233,22 @@ describe('Chart.DatasetController', function() { }, options: { scales: { - xAxes: [{ - id: 'firstXScaleID' - }, { - id: 'secondXScaleID' - }], - yAxes: [{ - id: 'firstYScaleID' - }, { - id: 'secondYScaleID' - }] + firstXScaleID: { + ...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/specs/core.layouts.tests.js
@@ -21,18 +21,6 @@ describe('Chart.layouts', function() { {data: [10, 5, 0, 25, 78, -10]} ], labels: ['tick1', 'tick2', 'tick3', 'tick4', 'tick5', 'tick6'] - }, - options: { - scales: { - xAxes: [{ - id: 'xScale', - type: 'category' - }], - yAxes: [{ - id: 'yScale', - ...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/specs/core.scale.tests.js
@@ -28,18 +28,18 @@ describe('Core.scale', function() { data: data, options: { scales: { - xAxes: [{ + x: { ticks: { autoSkip: true } - }] + } } } }); } function lastTick(chart) { - var xAxis = chart.scales['x-axis-0']; + var xAxis ...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/specs/core.ticks.tests.js
@@ -25,29 +25,29 @@ describe('Test tick generators', function() { display: false, }, scales: { - xAxes: [{ + x: { type: 'linear', position: 'bottom', ticks: { callback: function(value) { return value.toString(); } } - }], - yAxes: [{ +...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/specs/scale.category.tests.js
@@ -147,11 +147,10 @@ describe('Category scale tests', function() { }, options: { scales: { - xAxes: [{ - id: 'x', + x: { type: 'category', labels: labels - }] + } } } }); @@ -165,28 +164,26 @@ describe('Category scale tests', function() { type: 'line', ...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/specs/scale.linear.tests.js
@@ -53,194 +53,191 @@ describe('Linear Scale', function() { type: 'bar', data: { datasets: [{ - yAxisID: 'yScale0', + yAxisID: 'y', data: [10, 5, 0, -5, 78, -100] }, { - yAxisID: 'yScale1', + yAxisID: 'y2', data: [-1000, 1000], }, { - yAxisID: 'yScale0', + yAxi...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/specs/scale.logarithmic.tests.js
@@ -54,212 +54,218 @@ describe('Logarithmic Scale tests', function() { type: 'bar', data: { datasets: [{ - yAxisID: 'yScale0', + yAxisID: 'y', data: [42, 1000, 64, 100], }, { - yAxisID: 'yScale1', + yAxisID: 'y1', data: [10, 5, 5000, 78, 450] }, { - yAxisID: 'yScal...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/specs/scale.radialLinear.tests.js
@@ -87,8 +87,8 @@ describe('Test the radial linear scale', function() { } }); - expect(chart.scale.min).toBe(-100); - expect(chart.scale.max).toBe(150); + expect(chart.scales.r.min).toBe(-100); + expect(chart.scales.r.max).toBe(150); }); it('Should correctly determine the max & min of string data val...
true
Other
chartjs
Chart.js
ce74eb76a1ad29c0ccaeb8cf3e606d82e38f2ac7.json
Convert axis options from arrays to objects (#6773) * Convert axis options from arrays to objects * Updated all chart type defaults * Throw errors when axis type or position are not specified * Avoid raising unnecessary errors when merging options into the default configs * Fix additional tests * Ensure scale defau...
test/specs/scale.time.tests.js
@@ -13,13 +13,13 @@ describe('Time scale tests', function() { data: data, options: { scales: { - xAxes: [options] + x: options } } }, {canvas: {width: width, height: height}}); - return chart.scales.xScale0; + return chart.scales.x; } function getLabels(scale) { @@ -145,7 +1...
true
Other
chartjs
Chart.js
34b93751db94dc775ce00458db5a3cb1dfc5a84a.json
Change updateElement to updateElements (#6722)
docs/getting-started/v3-migration.md
@@ -101,6 +101,7 @@ Chart.js 3.0 introduces a number of breaking changes. Chart.js 2.0 was released * `Chart.Animation.animationObject` was renamed to `Chart.Animation` * `Chart.Animation.chartInstance` was renamed to `Chart.Animation.chart` * `DatasetController.createMetaData` and `DatasetController.createMetaDatas...
true
Other
chartjs
Chart.js
34b93751db94dc775ce00458db5a3cb1dfc5a84a.json
Change updateElement to updateElements (#6722)
src/controllers/controller.bar.js
@@ -271,58 +271,49 @@ module.exports = DatasetController.extend({ }, update: function(reset) { - var me = this; - var rects = me._cachedMeta.data; - var i, ilen; - - me._ruler = me.getRuler(); + const me = this; + const rects = me._cachedMeta.data; - for (i = 0, ilen = rects.length; i < ilen; ++i) { - ...
true
Other
chartjs
Chart.js
34b93751db94dc775ce00458db5a3cb1dfc5a84a.json
Change updateElement to updateElements (#6722)
src/controllers/controller.bubble.js
@@ -116,39 +116,42 @@ module.exports = DatasetController.extend({ const points = me._cachedMeta.data; // Update Points - helpers.each(points, function(point, index) { - me.updateElement(point, index, reset); - }); + me.updateElements(points, 0, points.length, reset); }, /** * @protected */ - up...
true
Other
chartjs
Chart.js
34b93751db94dc775ce00458db5a3cb1dfc5a84a.json
Change updateElement to updateElements (#6722)
src/controllers/controller.doughnut.js
@@ -217,29 +217,30 @@ module.exports = DatasetController.extend({ me.outerRadius = chart.outerRadius - chart.radiusLength * me._getRingWeightOffset(me.index); me.innerRadius = Math.max(me.outerRadius - chart.radiusLength * chartWeight, 0); - for (i = 0, ilen = arcs.length; i < ilen; ++i) { - me.updateElement...
true
Other
chartjs
Chart.js
34b93751db94dc775ce00458db5a3cb1dfc5a84a.json
Change updateElement to updateElements (#6722)
src/controllers/controller.line.js
@@ -68,14 +68,14 @@ module.exports = DatasetController.extend({ }, update: function(reset) { - var me = this; - var meta = me._cachedMeta; - var line = meta.dataset; - var points = meta.data || []; - var options = me.chart.options; - var config = me._config; - var showLine = me._showLine = valueOrDefault(c...
true
Other
chartjs
Chart.js
34b93751db94dc775ce00458db5a3cb1dfc5a84a.json
Change updateElement to updateElements (#6722)
src/controllers/controller.polarArea.js
@@ -154,10 +154,7 @@ module.exports = DatasetController.extend({ start += angle; } - for (i = 0, ilen = arcs.length; i < ilen; ++i) { - arcs[i]._options = me._resolveDataElementOptions(i); - me.updateElement(arcs[i], i, reset); - } + me.updateElements(arcs, 0, arcs.length, reset); }, /** @@ -178,2...
true
Other
chartjs
Chart.js
34b93751db94dc775ce00458db5a3cb1dfc5a84a.json
Change updateElement to updateElements (#6722)
src/controllers/controller.radar.js
@@ -108,9 +108,7 @@ module.exports = DatasetController.extend({ line.pivot(animationsDisabled); // Update Points - for (i = 0, ilen = points.length; i < ilen; ++i) { - me.updateElement(points[i], i, reset); - } + me.updateElements(points, 0, points.length, reset); // Update bezier control points me...
true
Other
chartjs
Chart.js
34b93751db94dc775ce00458db5a3cb1dfc5a84a.json
Change updateElement to updateElements (#6722)
src/core/core.datasetController.js
@@ -48,7 +48,6 @@ function listenArrayEvents(array, listener) { }); } - function scaleClip(scale, allowedOverflow) { var opts = scale && scale.options || {}; var reverse = opts.reverse; @@ -972,15 +971,15 @@ helpers.extend(DatasetController.prototype, { insertElements: function(start, count) { const me =...
true
Other
chartjs
Chart.js
f5b2b8db64c22347a61a4df1e48a16a48e374ebb.json
Reduce object creation during parsing (#6758) * Reduce object creation during parsing * Rename method to createElement * Make code more efficient? * Update migration guide
docs/getting-started/v3-migration.md
@@ -65,18 +65,19 @@ Chart.js 3.0 introduces a number of breaking changes. Chart.js 2.0 was released * `helpers.removeEvent` * `helpers.roundedRect` * `helpers.scaleMerge` -* `Scale.getRightValue` -* `Scale.mergeTicksOptions` -* `Scale.ticksAsNumbers` * `Chart.Controller` * `Chart.chart.chart` * `Chart.types` -* `...
true
Other
chartjs
Chart.js
f5b2b8db64c22347a61a4df1e48a16a48e374ebb.json
Reduce object creation during parsing (#6758) * Reduce object creation during parsing * Rename method to createElement * Make code more efficient? * Update migration guide
src/controllers/controller.doughnut.js
@@ -143,7 +143,7 @@ module.exports = DatasetController.extend({ var metaData = this.getMeta().data; var i, ilen; for (i = start, ilen = start + count; i < ilen; ++i) { - metaData[i]._val = +data[i]; + metaData[i]._parsed = +data[i]; } }, @@ -232,7 +232,7 @@ module.exports = DatasetController.extend(...
true
Other
chartjs
Chart.js
f5b2b8db64c22347a61a4df1e48a16a48e374ebb.json
Reduce object creation during parsing (#6758) * Reduce object creation during parsing * Rename method to createElement * Make code more efficient? * Update migration guide
src/core/core.datasetController.js
@@ -327,20 +327,9 @@ helpers.extend(DatasetController.prototype, { } }, - createMetaDataset: function() { - var me = this; - var type = me.datasetElementType; - return type && new type({ - _ctx: me.chart.ctx - }); - }, - - createMetaData: function() { - var me = this; - var type = me.dataElementType; + c...
true
Other
chartjs
Chart.js
4b4b4b79e1e24d2f8e253abbe365a34021a29b79.json
Convert all scales to use ES6 classes
src/scales/scale.category.js
@@ -1,29 +1,28 @@ 'use strict'; -var Scale = require('../core/core.scale'); +const Scale = require('../core/core.scale'); -var defaultConfig = { +const defaultConfig = { position: 'bottom' }; -module.exports = Scale.extend({ - - _parse: function(raw, index) { +class CategroyScale extends Scale { + _parse(raw,...
true
Other
chartjs
Chart.js
4b4b4b79e1e24d2f8e253abbe365a34021a29b79.json
Convert all scales to use ES6 classes
src/scales/scale.linear.js
@@ -1,18 +1,18 @@ 'use strict'; -var helpers = require('../helpers/index'); -var LinearScaleBase = require('./scale.linearbase'); -var Ticks = require('../core/core.ticks'); +const helpers = require('../helpers/index'); +const LinearScaleBase = require('./scale.linearbase'); +const Ticks = require('../core/core.tick...
true