From a9632df60a0a0e906e35ef052cf9caa0fa263bcb Mon Sep 17 00:00:00 2001 From: etimberg Date: Thu, 10 Jan 2019 20:29:49 -0500 Subject: [PATCH 1/5] Scriptable polarArea options & updated interaction test --- src/controllers/controller.polarArea.js | 88 ++++++++-- test/specs/controller.polarArea.tests.js | 195 +++++++++++------------ 2 files changed, 167 insertions(+), 116 deletions(-) diff --git a/src/controllers/controller.polarArea.js b/src/controllers/controller.polarArea.js index 5f3afcc20a9..93051c47451 100644 --- a/src/controllers/controller.polarArea.js +++ b/src/controllers/controller.polarArea.js @@ -123,6 +123,7 @@ module.exports = DatasetController.extend({ var start = me.chart.options.startAngle || 0; var starts = me._starts = []; var angles = me._angles = []; + var arcs = meta.data; var i, ilen, angle; me._updateRadius(); @@ -136,9 +137,13 @@ module.exports = DatasetController.extend({ start += angle; } - helpers.each(meta.data, function(arc, index) { - me.updateElement(arc, index, reset); - }); + for (i = 0, ilen = arcs.length; i < ilen; ++i) { + arcs[i]._options = me._resolveElementOptions(arcs[i], i, reset); + } + + for (i = 0, ilen = arcs.length; i < ilen; ++i) { + me.updateElement(arcs[i], i, reset); + } }, /** @@ -178,6 +183,7 @@ module.exports = DatasetController.extend({ var endAngle = startAngle + (arc.hidden ? 0 : me._angles[index]); var resetRadius = animationOpts.animateScale ? 0 : scale.getDistanceFromCenterForValue(dataset.data[index]); + var options = arc._options || {}; helpers.extend(arc, { // Utility @@ -187,6 +193,10 @@ module.exports = DatasetController.extend({ // Desired view properties _model: { + backgroundColor: options.backgroundColor, + borderColor: options.borderColor, + borderWidth: options.borderWidth, + borderAlign: options.borderAlign, x: centerX, y: centerY, innerRadius: 0, @@ -197,16 +207,6 @@ module.exports = DatasetController.extend({ } }); - // Apply border and fill style - var elementOpts = this.chart.options.elements.arc; - var custom = arc.custom || {}; - var model = arc._model; - - model.backgroundColor = resolve([custom.backgroundColor, dataset.backgroundColor, elementOpts.backgroundColor], undefined, index); - model.borderColor = resolve([custom.borderColor, dataset.borderColor, elementOpts.borderColor], undefined, index); - model.borderWidth = resolve([custom.borderWidth, dataset.borderWidth, elementOpts.borderWidth], undefined, index); - model.borderAlign = resolve([custom.borderAlign, dataset.borderAlign, elementOpts.borderAlign], undefined, index); - arc.pivot(); }, @@ -224,6 +224,68 @@ module.exports = DatasetController.extend({ return count; }, + /** + * @protected + */ + setHoverStyle: function(arc) { + var model = arc._model; + var options = arc._options; + var getHoverColor = helpers.getHoverColor; + var valueOrDefault = helpers.valueOrDefault; + + arc.$previousStyle = { + backgroundColor: model.backgroundColor, + borderColor: model.borderColor, + borderWidth: model.borderWidth, + }; + + model.backgroundColor = valueOrDefault(options.hoverBackgroundColor, getHoverColor(options.backgroundColor)); + model.borderColor = valueOrDefault(options.hoverBorderColor, getHoverColor(options.borderColor)); + model.borderWidth = valueOrDefault(options.hoverBorderWidth, options.borderWidth); + }, + + /** + * @private + */ + _resolveElementOptions: function(arc, index) { + var me = this; + var chart = me.chart; + var dataset = me.getDataset(); + var custom = arc.custom || {}; + var options = chart.options.elements.arc; + var values = {}; + var i, ilen, key; + + // Scriptable options + var context = { + chart: chart, + dataIndex: index, + dataset: dataset, + datasetIndex: me.index + }; + + var keys = [ + 'backgroundColor', + 'borderColor', + 'borderWidth', + 'borderAlign', + 'hoverBackgroundColor', + 'hoverBorderColor', + 'hoverBorderWidth', + ]; + + for (i = 0, ilen = keys.length; i < ilen; ++i) { + key = keys[i]; + values[key] = resolve([ + custom[key], + dataset[key], + options[key] + ], context, index); + } + + return values; + }, + /** * @private */ diff --git a/test/specs/controller.polarArea.tests.js b/test/specs/controller.polarArea.tests.js index 1feda5134b8..d439251fa4f 100644 --- a/test/specs/controller.polarArea.tests.js +++ b/test/specs/controller.polarArea.tests.js @@ -254,122 +254,111 @@ describe('Chart.controllers.polarArea', function() { expect(meta.data[4] instanceof Chart.elements.Arc).toBe(true); }); - it('should set arc hover styles', function() { - var chart = window.acquireChart({ - type: 'polarArea', - data: { - datasets: [{ - data: [10, 15, 0, -4], - label: 'dataset2' - }], - labels: ['label1', 'label2', 'label3', 'label4'] - }, - options: { - showLines: true, - elements: { - arc: { - backgroundColor: 'rgb(255, 0, 0)', - borderColor: 'rgb(0, 255, 0)', - borderWidth: 1.2 + describe('Interactions', function() { + beforeEach(function() { + this.chart = window.acquireChart({ + type: 'polarArea', + data: { + labels: ['label1', 'label2', 'label3', 'label4'], + datasets: [{ + data: [10, 15, 0, 4] + }] + }, + options: { + cutoutPercentage: 0, + elements: { + arc: { + backgroundColor: 'rgb(100, 150, 200)', + borderColor: 'rgb(50, 100, 150)', + borderWidth: 2, + } } } - } + }); }); - var meta = chart.getDatasetMeta(0); - var arc = meta.data[0]; - - meta.controller.setHoverStyle(arc); - expect(arc._model.backgroundColor).toBe('rgb(230, 0, 0)'); - expect(arc._model.borderColor).toBe('rgb(0, 230, 0)'); - expect(arc._model.borderWidth).toBe(1.2); - - // Can set hover style per dataset - chart.data.datasets[0].hoverBackgroundColor = 'rgb(77, 79, 81)'; - chart.data.datasets[0].hoverBorderColor = 'rgb(123, 125, 127)'; - chart.data.datasets[0].hoverBorderWidth = 2.1; - - meta.controller.setHoverStyle(arc); - expect(arc._model.backgroundColor).toBe('rgb(77, 79, 81)'); - expect(arc._model.borderColor).toBe('rgb(123, 125, 127)'); - expect(arc._model.borderWidth).toBe(2.1); - - // Custom style - arc.custom = { - hoverBorderWidth: 5.5, - hoverBackgroundColor: 'rgb(0, 0, 0)', - hoverBorderColor: 'rgb(10, 10, 10)' - }; + it ('should handle default hover styles', function() { + var chart = this.chart; + var arc = chart.getDatasetMeta(0).data[0]; - meta.controller.setHoverStyle(arc); - expect(arc._model.backgroundColor).toBe('rgb(0, 0, 0)'); - expect(arc._model.borderColor).toBe('rgb(10, 10, 10)'); - expect(arc._model.borderWidth).toBe(5.5); - }); + jasmine.triggerMouseEvent(chart, 'mousemove', arc); + expect(arc._model.backgroundColor).toBe('rgb(49, 135, 221)'); + expect(arc._model.borderColor).toBe('rgb(22, 89, 156)'); + expect(arc._model.borderWidth).toBe(2); - it('should remove hover styles', function() { - var chart = window.acquireChart({ - type: 'polarArea', - data: { - datasets: [{ - data: [10, 15, 0, -4], - label: 'dataset2' - }], - labels: ['label1', 'label2', 'label3', 'label4'] - }, - options: { - showLines: true, - elements: { - arc: { - backgroundColor: 'rgb(255, 0, 0)', - borderColor: 'rgb(0, 255, 0)', - borderWidth: 1.2 - } - } - } + jasmine.triggerMouseEvent(chart, 'mouseout', arc); + expect(arc._model.backgroundColor).toBe('rgb(100, 150, 200)'); + expect(arc._model.borderColor).toBe('rgb(50, 100, 150)'); + expect(arc._model.borderWidth).toBe(2); }); - var meta = chart.getDatasetMeta(0); - var arc = meta.data[0]; + it ('should handle hover styles defined via dataset properties', function() { + var chart = this.chart; + var arc = chart.getDatasetMeta(0).data[0]; - chart.options.elements.arc.backgroundColor = 'rgb(45, 46, 47)'; - chart.options.elements.arc.borderColor = 'rgb(50, 51, 52)'; - chart.options.elements.arc.borderWidth = 10.1; + Chart.helpers.merge(chart.data.datasets[0], { + hoverBackgroundColor: 'rgb(200, 100, 150)', + hoverBorderColor: 'rgb(150, 50, 100)', + hoverBorderWidth: 8.4, + }); - meta.controller.setHoverStyle(arc); - chart.update(); - expect(arc._model.backgroundColor).toBe('rgb(45, 46, 47)'); - expect(arc._model.borderColor).toBe('rgb(50, 51, 52)'); - expect(arc._model.borderWidth).toBe(10.1); + chart.update(); - meta.controller.removeHoverStyle(arc); - chart.update(); - expect(arc._model.backgroundColor).toBe('rgb(45, 46, 47)'); - expect(arc._model.borderColor).toBe('rgb(50, 51, 52)'); - expect(arc._model.borderWidth).toBe(10.1); + jasmine.triggerMouseEvent(chart, 'mousemove', arc); + expect(arc._model.backgroundColor).toBe('rgb(200, 100, 150)'); + expect(arc._model.borderColor).toBe('rgb(150, 50, 100)'); + expect(arc._model.borderWidth).toBe(8.4); - // Can set hover style per dataset - chart.data.datasets[0].backgroundColor = 'rgb(77, 79, 81)'; - chart.data.datasets[0].borderColor = 'rgb(123, 125, 127)'; - chart.data.datasets[0].borderWidth = 2.1; + jasmine.triggerMouseEvent(chart, 'mouseout', arc); + expect(arc._model.backgroundColor).toBe('rgb(100, 150, 200)'); + expect(arc._model.borderColor).toBe('rgb(50, 100, 150)'); + expect(arc._model.borderWidth).toBe(2); + }); - meta.controller.removeHoverStyle(arc); - chart.update(); - expect(arc._model.backgroundColor).toBe('rgb(77, 79, 81)'); - expect(arc._model.borderColor).toBe('rgb(123, 125, 127)'); - expect(arc._model.borderWidth).toBe(2.1); - - // Custom style - arc.custom = { - borderWidth: 5.5, - backgroundColor: 'rgb(0, 0, 0)', - borderColor: 'rgb(10, 10, 10)' - }; + it ('should handle hover styles defined via element options', function() { + var chart = this.chart; + var arc = chart.getDatasetMeta(0).data[0]; - meta.controller.removeHoverStyle(arc); - chart.update(); - expect(arc._model.backgroundColor).toBe('rgb(0, 0, 0)'); - expect(arc._model.borderColor).toBe('rgb(10, 10, 10)'); - expect(arc._model.borderWidth).toBe(5.5); + Chart.helpers.merge(chart.options.elements.arc, { + hoverBackgroundColor: 'rgb(200, 100, 150)', + hoverBorderColor: 'rgb(150, 50, 100)', + hoverBorderWidth: 8.4, + }); + + chart.update(); + + jasmine.triggerMouseEvent(chart, 'mousemove', arc); + expect(arc._model.backgroundColor).toBe('rgb(200, 100, 150)'); + expect(arc._model.borderColor).toBe('rgb(150, 50, 100)'); + expect(arc._model.borderWidth).toBe(8.4); + + jasmine.triggerMouseEvent(chart, 'mouseout', arc); + expect(arc._model.backgroundColor).toBe('rgb(100, 150, 200)'); + expect(arc._model.borderColor).toBe('rgb(50, 100, 150)'); + expect(arc._model.borderWidth).toBe(2); + }); + + it ('should handle hover styles defined via element custom', function() { + var chart = this.chart; + var arc = chart.getDatasetMeta(0).data[0]; + + arc.custom = { + hoverBackgroundColor: 'rgb(200, 100, 150)', + hoverBorderColor: 'rgb(150, 50, 100)', + hoverBorderWidth: 8.4, + }; + + chart.update(); + + jasmine.triggerMouseEvent(chart, 'mousemove', arc); + expect(arc._model.backgroundColor).toBe('rgb(200, 100, 150)'); + expect(arc._model.borderColor).toBe('rgb(150, 50, 100)'); + expect(arc._model.borderWidth).toBe(8.4); + + jasmine.triggerMouseEvent(chart, 'mouseout', arc); + expect(arc._model.backgroundColor).toBe('rgb(100, 150, 200)'); + expect(arc._model.borderColor).toBe('rgb(50, 100, 150)'); + expect(arc._model.borderWidth).toBe(2); + }); }); }); From cee72ff2d8c3a7ebb428b77995d814aa204505c2 Mon Sep 17 00:00:00 2001 From: etimberg Date: Thu, 10 Jan 2019 21:21:49 -0500 Subject: [PATCH 2/5] Scriptable tests for polarArea charts --- .../backgroundColor/indexable-dataset.js | 35 ++++++++++++++ .../backgroundColor/indexable-dataset.png | Bin 0 -> 11652 bytes .../indexable-element-options.js | 39 ++++++++++++++++ .../indexable-element-options.png | Bin 0 -> 11484 bytes .../backgroundColor/scriptable-dataset.js | 34 ++++++++++++++ .../backgroundColor/scriptable-dataset.png | Bin 0 -> 11496 bytes .../scriptable-element-options.js | 38 ++++++++++++++++ .../scriptable-element-options.png | Bin 0 -> 11496 bytes .../backgroundColor/value-dataset.js | 28 ++++++++++++ .../backgroundColor/value-dataset.png | Bin 0 -> 11525 bytes .../backgroundColor/value-element-options.js | 32 +++++++++++++ .../backgroundColor/value-element-options.png | Bin 0 -> 11572 bytes .../borderAlign/indexable-dataset.js | 43 ++++++++++++++++++ .../borderAlign/indexable-dataset.png | Bin 0 -> 10796 bytes .../borderAlign/indexable-element-options.js | 42 +++++++++++++++++ .../borderAlign/indexable-element-options.png | Bin 0 -> 10793 bytes .../borderAlign/scriptable-dataset.js | 39 ++++++++++++++++ .../borderAlign/scriptable-dataset.png | Bin 0 -> 10332 bytes .../borderAlign/scriptable-element-options.js | 38 ++++++++++++++++ .../scriptable-element-options.png | Bin 0 -> 10580 bytes .../borderAlign/value-dataset.js | 36 +++++++++++++++ .../borderAlign/value-dataset.png | Bin 0 -> 10639 bytes .../borderAlign/value-element-options.js | 35 ++++++++++++++ .../borderAlign/value-element-options.png | Bin 0 -> 10893 bytes .../borderColor/indexable-dataset.js | 41 +++++++++++++++++ .../borderColor/indexable-dataset.png | Bin 0 -> 11766 bytes .../borderColor/indexable-element-options.js | 41 +++++++++++++++++ .../borderColor/indexable-element-options.png | Bin 0 -> 13011 bytes .../borderColor/scriptable-dataset.js | 40 ++++++++++++++++ .../borderColor/scriptable-dataset.png | Bin 0 -> 11567 bytes .../borderColor/scriptable-element-options.js | 40 ++++++++++++++++ .../scriptable-element-options.png | Bin 0 -> 11681 bytes .../borderColor/value-dataset.js | 34 ++++++++++++++ .../borderColor/value-dataset.png | Bin 0 -> 10713 bytes .../borderColor/value-element-options.js | 34 ++++++++++++++ .../borderColor/value-element-options.png | Bin 0 -> 10682 bytes .../borderWidth/indexable-dataset.js | 41 +++++++++++++++++ .../borderWidth/indexable-dataset.png | Bin 0 -> 12671 bytes .../borderWidth/indexable-element-options.js | 41 +++++++++++++++++ .../borderWidth/indexable-element-options.png | Bin 0 -> 9061 bytes .../borderWidth/scriptable-dataset.js | 37 +++++++++++++++ .../borderWidth/scriptable-dataset.png | Bin 0 -> 12775 bytes .../borderWidth/scriptable-element-options.js | 36 +++++++++++++++ .../scriptable-element-options.png | Bin 0 -> 12679 bytes .../borderWidth/value-dataset.js | 34 ++++++++++++++ .../borderWidth/value-dataset.png | Bin 0 -> 12560 bytes .../borderWidth/value-element-options.js | 34 ++++++++++++++ .../borderWidth/value-element-options.png | Bin 0 -> 12928 bytes 48 files changed, 892 insertions(+) create mode 100644 test/fixtures/controller.polarArea/backgroundColor/indexable-dataset.js create mode 100644 test/fixtures/controller.polarArea/backgroundColor/indexable-dataset.png create mode 100644 test/fixtures/controller.polarArea/backgroundColor/indexable-element-options.js create mode 100644 test/fixtures/controller.polarArea/backgroundColor/indexable-element-options.png create mode 100644 test/fixtures/controller.polarArea/backgroundColor/scriptable-dataset.js create mode 100644 test/fixtures/controller.polarArea/backgroundColor/scriptable-dataset.png create mode 100644 test/fixtures/controller.polarArea/backgroundColor/scriptable-element-options.js create mode 100644 test/fixtures/controller.polarArea/backgroundColor/scriptable-element-options.png create mode 100644 test/fixtures/controller.polarArea/backgroundColor/value-dataset.js create mode 100644 test/fixtures/controller.polarArea/backgroundColor/value-dataset.png create mode 100644 test/fixtures/controller.polarArea/backgroundColor/value-element-options.js create mode 100644 test/fixtures/controller.polarArea/backgroundColor/value-element-options.png create mode 100644 test/fixtures/controller.polarArea/borderAlign/indexable-dataset.js create mode 100644 test/fixtures/controller.polarArea/borderAlign/indexable-dataset.png create mode 100644 test/fixtures/controller.polarArea/borderAlign/indexable-element-options.js create mode 100644 test/fixtures/controller.polarArea/borderAlign/indexable-element-options.png create mode 100644 test/fixtures/controller.polarArea/borderAlign/scriptable-dataset.js create mode 100644 test/fixtures/controller.polarArea/borderAlign/scriptable-dataset.png create mode 100644 test/fixtures/controller.polarArea/borderAlign/scriptable-element-options.js create mode 100644 test/fixtures/controller.polarArea/borderAlign/scriptable-element-options.png create mode 100644 test/fixtures/controller.polarArea/borderAlign/value-dataset.js create mode 100644 test/fixtures/controller.polarArea/borderAlign/value-dataset.png create mode 100644 test/fixtures/controller.polarArea/borderAlign/value-element-options.js create mode 100644 test/fixtures/controller.polarArea/borderAlign/value-element-options.png create mode 100644 test/fixtures/controller.polarArea/borderColor/indexable-dataset.js create mode 100644 test/fixtures/controller.polarArea/borderColor/indexable-dataset.png create mode 100644 test/fixtures/controller.polarArea/borderColor/indexable-element-options.js create mode 100644 test/fixtures/controller.polarArea/borderColor/indexable-element-options.png create mode 100644 test/fixtures/controller.polarArea/borderColor/scriptable-dataset.js create mode 100644 test/fixtures/controller.polarArea/borderColor/scriptable-dataset.png create mode 100644 test/fixtures/controller.polarArea/borderColor/scriptable-element-options.js create mode 100644 test/fixtures/controller.polarArea/borderColor/scriptable-element-options.png create mode 100644 test/fixtures/controller.polarArea/borderColor/value-dataset.js create mode 100644 test/fixtures/controller.polarArea/borderColor/value-dataset.png create mode 100644 test/fixtures/controller.polarArea/borderColor/value-element-options.js create mode 100644 test/fixtures/controller.polarArea/borderColor/value-element-options.png create mode 100644 test/fixtures/controller.polarArea/borderWidth/indexable-dataset.js create mode 100644 test/fixtures/controller.polarArea/borderWidth/indexable-dataset.png create mode 100644 test/fixtures/controller.polarArea/borderWidth/indexable-element-options.js create mode 100644 test/fixtures/controller.polarArea/borderWidth/indexable-element-options.png create mode 100644 test/fixtures/controller.polarArea/borderWidth/scriptable-dataset.js create mode 100644 test/fixtures/controller.polarArea/borderWidth/scriptable-dataset.png create mode 100644 test/fixtures/controller.polarArea/borderWidth/scriptable-element-options.js create mode 100644 test/fixtures/controller.polarArea/borderWidth/scriptable-element-options.png create mode 100644 test/fixtures/controller.polarArea/borderWidth/value-dataset.js create mode 100644 test/fixtures/controller.polarArea/borderWidth/value-dataset.png create mode 100644 test/fixtures/controller.polarArea/borderWidth/value-element-options.js create mode 100644 test/fixtures/controller.polarArea/borderWidth/value-element-options.png diff --git a/test/fixtures/controller.polarArea/backgroundColor/indexable-dataset.js b/test/fixtures/controller.polarArea/backgroundColor/indexable-dataset.js new file mode 100644 index 00000000000..f1dde3224e6 --- /dev/null +++ b/test/fixtures/controller.polarArea/backgroundColor/indexable-dataset.js @@ -0,0 +1,35 @@ +module.exports = { + config: { + type: 'polarArea', + data: { + labels: [0, 1, 2, 3, 4, 5], + datasets: [ + { + // option in dataset + data: [0, 2, 4, null, 6, 8], + backgroundColor: [ + '#ff0000', + '#00ff00', + '#0000ff', + '#ffff00', + '#ff00ff', + '#000000' + ] + }, + ] + }, + options: { + legend: false, + title: false, + scale: { + display: false + } + } + }, + options: { + canvas: { + height: 256, + width: 512 + } + } +}; diff --git a/test/fixtures/controller.polarArea/backgroundColor/indexable-dataset.png b/test/fixtures/controller.polarArea/backgroundColor/indexable-dataset.png new file mode 100644 index 0000000000000000000000000000000000000000..9b97db092ba162610a53c359098645e7bdf9c674 GIT binary patch literal 11652 zcmeHti9gie_y23gVC*{~OZKvseV;64$rf45QuZaX%Qll;3lTy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N=b=|6O>`U|f-eL*C8G4Hz(~EU?mezcHRSzK^GbQg%zCZeFW0uM zPA`PKTSo55En(f#3f+IxRY6%2Uc=%J81~a;I!Bew(BF&8uI$eb)uLtlqK|j4$ zAQcRJ_>jBgTCZCe4w-HrMAIln)XW*hG%he=LP-ZcohA%;19YDJ|LZa+2@GPv4~kTa z|GD&qF#+1ai0K3J&hfVKU;)w(KQ9R0*1Xnpk}yf$m9%rx7*k>baI0EFs_4J+shmK*&$Jgf@gIesw818xU+-f1SH9~3kasO{(fen0 z6yhi7KN(G==9B)FcP71FkR84t^zU}Iz%@&vD95(Wzw#GIFBUjGIhp_6&i`!xf1>~Y dQSxs_uYMY>X_3_B1Fx$geO+Un_gaqk{tH^gTs;5) literal 0 HcmV?d00001 diff --git a/test/fixtures/controller.polarArea/backgroundColor/indexable-element-options.js b/test/fixtures/controller.polarArea/backgroundColor/indexable-element-options.js new file mode 100644 index 00000000000..c3f26b6f35a --- /dev/null +++ b/test/fixtures/controller.polarArea/backgroundColor/indexable-element-options.js @@ -0,0 +1,39 @@ +module.exports = { + config: { + type: 'polarArea', + data: { + labels: [0, 1, 2, 3, 4, 5], + datasets: [ + { + // option in element (fallback) + data: [0, 2, 4, null, 6, 8], + } + ] + }, + options: { + legend: false, + title: false, + elements: { + arc: { + backgroundColor: [ + '#ff88ff', + '#888888', + '#ff8800', + '#00ff88', + '#8800ff', + '#ffff88' + ] + } + }, + scale: { + display: false + } + } + }, + options: { + canvas: { + height: 256, + width: 512 + } + } +}; diff --git a/test/fixtures/controller.polarArea/backgroundColor/indexable-element-options.png b/test/fixtures/controller.polarArea/backgroundColor/indexable-element-options.png new file mode 100644 index 0000000000000000000000000000000000000000..83e7abee843148201f1325005b0fd43f9caefd7d GIT binary patch literal 11484 zcmeHti8qvC*!MGIFk_ve62g!Wi3o+5WS1q9HHI{(7?l|7j6y}Wy>zhy!U+X_r2#m-}fJU=XIPjbIv@^{oL2@`d!!cyRQ3rU}0v!%^}1AK@hi* zp{^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1dIXN9y#g54sN65odz{nu}OXU|&j7KK8 z%c8DOE$lw!=rgJqhxlfGC^wM4T;PoPGro7S94QG-c+A-1SnK;nf9`GSF>X@n#Uez$ zuUF3@elkxm%#Tk#Kms|!RJb4|VpYDTg6ScS`Tsw^{|`R@!;k-;;)BkBtvtpjsmE)l QLEz6w&rJ8V4*u?c0Py<39smFU literal 0 HcmV?d00001 diff --git a/test/fixtures/controller.polarArea/backgroundColor/scriptable-dataset.js b/test/fixtures/controller.polarArea/backgroundColor/scriptable-dataset.js new file mode 100644 index 00000000000..d850b4d2eb2 --- /dev/null +++ b/test/fixtures/controller.polarArea/backgroundColor/scriptable-dataset.js @@ -0,0 +1,34 @@ +module.exports = { + config: { + type: 'polarArea', + data: { + labels: [0, 1, 2, 3, 4, 5], + datasets: [ + { + // option in dataset + data: [0, 2, 4, null, 6, 8], + backgroundColor: function(ctx) { + var value = ctx.dataset.data[ctx.dataIndex] || 0; + return value > 8 ? '#ff0000' + : value > 6 ? '#00ff00' + : value > 2 ? '#0000ff' + : '#ff00ff'; + } + }, + ] + }, + options: { + legend: false, + title: false, + scale: { + display: false + } + } + }, + options: { + canvas: { + height: 256, + width: 512 + } + } +}; diff --git a/test/fixtures/controller.polarArea/backgroundColor/scriptable-dataset.png b/test/fixtures/controller.polarArea/backgroundColor/scriptable-dataset.png new file mode 100644 index 0000000000000000000000000000000000000000..b96ab87c05f5017d7c56b20306a85edbd087a5d5 GIT binary patch literal 11496 zcmeHti93|<+xIl}k$ovN zVq_T-#u8(jd9V3B-{JPZ~s0Bf;i31 zjO`!@4sKx(k_G&0P3!T5APLCa_{6zzm&JUxUBUBz=@UXcC;0J!-N#zrYJC1l?={#| zxMbCBWoe5NU^YJU&_q+~+-Lrwt|-ny4eT(lN&1+YkeMon;yL~ks-#`lumbWHJdP4o z;E5^FQ!iZT6e4yRkQ;glk+VJdSh4+*67Y|FD%BNC6Nsj_BdNJeehb&fb;!T-jmXJ3 zM3=9C+rnx}w0e=x*6?Dc;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d^or4^(!C}UF~B*inP*L;;N6n8 z6;L2o=;+h+Coyxyq|6;5(HK^L=JK$f#-9rDA!+|(S^;Vt`0R*aD*92Ah_3U0O0Oew z?UEytQ=StRX>H4SX9o)c?G#TNyFCZuL);V4C)my*z|Q`W|FpR7!)T{nGOhQ0sN&B* z#5z~Gviann>xJ?%7Izfk+2DNmzdi~pD@2<>=Trw-30Fy5tEuVvSlV+}235KRM5<+J zyiQ$Cw;6EAb86@N=Xo>6Cu-hh9%lcNhDLk>N4h*VO4Et| zJpY7oRB&ua4QvYjC2*2)>U>ma)%c(1?HKW69JT&ybsl^m$b;MI>^CI;dHy*dwq~4f zIY1UM6hJfB#HWrs`lx@N9|F(+>r0(~%n<|TOirIH_%Ce}{y8dFH2TM!f489jZ~p&} e{{I8ury1^Lgq9kK-|T_FpSg*RarsHN*#85rtLcsa literal 0 HcmV?d00001 diff --git a/test/fixtures/controller.polarArea/backgroundColor/scriptable-element-options.js b/test/fixtures/controller.polarArea/backgroundColor/scriptable-element-options.js new file mode 100644 index 00000000000..4dd4d0c42af --- /dev/null +++ b/test/fixtures/controller.polarArea/backgroundColor/scriptable-element-options.js @@ -0,0 +1,38 @@ +module.exports = { + config: { + type: 'polarArea', + data: { + labels: [0, 1, 2, 3, 4, 5], + datasets: [ + { + // option in element (fallback) + data: [0, 2, 4, null, 6, 8], + } + ] + }, + options: { + legend: false, + title: false, + elements: { + arc: { + backgroundColor: function(ctx) { + var value = ctx.dataset.data[ctx.dataIndex] || 0; + return value > 8 ? '#ff0000' + : value > 6 ? '#00ff00' + : value > 2 ? '#0000ff' + : '#ff00ff'; + } + } + }, + scale: { + display: false + } + } + }, + options: { + canvas: { + height: 256, + width: 512 + } + } +}; diff --git a/test/fixtures/controller.polarArea/backgroundColor/scriptable-element-options.png b/test/fixtures/controller.polarArea/backgroundColor/scriptable-element-options.png new file mode 100644 index 0000000000000000000000000000000000000000..b96ab87c05f5017d7c56b20306a85edbd087a5d5 GIT binary patch literal 11496 zcmeH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^8P=cFWU1@NZ(AlLTiG4z4-=H*GK3wp0dUV15q6jy*t+NuN1 za{A|uQSF*|QzSI;X>;goaah1bkBo#uSX0?)SMt~&U%re@$uvcv-RRfM1_AsC@`)_e zwDHzNix#?=b26Mmn3Q+(NNthEeXzl(W^`-O3@(0rB+ASP3R&Wa+9sGE{dif67LUij zUm-6<*lCOcijmfs*Kq}va0hJ%FR~V;EM{{XigD>8FE~|oIJn5GrBDJ zBCSX%Qr7|T#!|utM$%f{Qc5``28$OPSdVUolWD6d^or4^(!C}UF~B*inP*L;;N6n8 z6;L2o=;+h+Coyxyq|6;5(HK^L=JK$f#-9rDA!+|(S^;Vt`0R*aD*92Ah_3U0O0Oew z?UEytQ=StRX>H4SX9o)c?G#TNyFCZuL);V4C)my*z|Q`W|FpR7!)T{nGOhQ0sN&B* z#5z~Gviann>xJ?%7Izfk+2DNmzdi~pD@2<>=Trw-30Fy5tEuVvSlV+}235KRM5<+J zyiQ$Cw;6EAb86@N=Xo>6Cu-hh9%lcNhDLk>N4h*VO4Et| zJpY7oRB&ua4QvYjC2*2)>U>ma)%c(1?HKW69JT&ybsl^m$b;MI>^CI;dHy*dwq~4f zIY1UM6hJfB#HWrs`lx@N9|F(+>r0(~%n<|TOirIH_%Ce}{y8dFH2TM!f489jZ~p&} e{{I8ury1^Lgq9kK-|T_FpSg*RarsHN*#85rtLcsa literal 0 HcmV?d00001 diff --git a/test/fixtures/controller.polarArea/backgroundColor/value-dataset.js b/test/fixtures/controller.polarArea/backgroundColor/value-dataset.js new file mode 100644 index 00000000000..502e8358a11 --- /dev/null +++ b/test/fixtures/controller.polarArea/backgroundColor/value-dataset.js @@ -0,0 +1,28 @@ +module.exports = { + config: { + type: 'polarArea', + data: { + labels: [0, 1, 2, 3, 4, 5], + datasets: [ + { + // option in dataset + data: [0, 2, 4, null, 6, 8], + backgroundColor: '#ff0000' + }, + ] + }, + options: { + legend: false, + title: false, + scale: { + display: false + } + } + }, + options: { + canvas: { + height: 256, + width: 512 + } + } +}; diff --git a/test/fixtures/controller.polarArea/backgroundColor/value-dataset.png b/test/fixtures/controller.polarArea/backgroundColor/value-dataset.png new file mode 100644 index 0000000000000000000000000000000000000000..ae9c48e60fd44ccb67ca73f94dcf6b09e89a292b GIT binary patch literal 11525 zcmeHti8s{m+y8sUV8%{Fmh9UH5m^eE>}yoElr3c^6|$Q_b|SKGk)`a}ml(-DmdaXT zBwNVXcb?n#`+L6UdH#jpdCqZ;_c`-^-}iN2%j>$X*L6o2+|;0^V5NW{h+0ci^)>{- z!6OVpl7W96aRYV`#06=o-Z1pCSj|M$TYMYo3Y5Rhr>x3q6T{z`RA8G$D<*BCb13{? zTSVxxI)iFASA6)@q6WtTL!EcI1;)Cs)82=^4GkqwD)S+F4zjkh4h3@Kn|G(44Kxj2 zJv~;~ZP5BV;ak3aZ(;su+JDDFBu41Y@r!y_}Cdnr|jEh5J*pl z{Y5_{9WeaE~Tj}MlKqxYV*9IYh?4(=b8+_k*9+;Zrs zlmH2>Q}d6hT3tu*LGHfc=yRx)iCmm9Zb!^=dGK3?iRFvJth7U?PY4O8rfo5Qe&~Cw zfudSYH+VggU2(!f6K*@Nvp-Gh`Ptb?*^OSJFou)%r2_n=QkDX-D<=5eoo~BFa4!D> z)>{Y)RWv*Y-S+BT2cMPgB$mT5o7nHk6*6b%EBS~*VTVQGz_ zO*j;zJz3i;I7qWQJ(2zC;{*gDz*4SCT@T}jenmxyGGN((Ait6K?z|4eq?SVL(RbG- z*0z+6=*n6zUTPBc&gS$@fWj4(Kjr zMk&`1W{BHB<~RmT>N_{#wzcxM!6ZNAt_8Ql7YLFcfAu-Vw)hPNFIk z%Z*c)R`Mf1?T&X_$W-%mnyS@-62%KPG!bSufc=;%+#S48DRzrG7mw0Mn~x5s-#oVT zBDP7&n{VpXK)q}ayanK!yj-xH!@REuJicmsKR7UoHGCmE3`;Weyj4VrxfDuN>fA6u z%&VZ`=sFF4;BkL&9T>qitX6{6P|m|=mPTm^v=NV(lA2Z4nOoWz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X literal 0 HcmV?d00001 diff --git a/test/fixtures/controller.polarArea/backgroundColor/value-element-options.js b/test/fixtures/controller.polarArea/backgroundColor/value-element-options.js new file mode 100644 index 00000000000..e3448be14dd --- /dev/null +++ b/test/fixtures/controller.polarArea/backgroundColor/value-element-options.js @@ -0,0 +1,32 @@ +module.exports = { + config: { + type: 'polarArea', + data: { + labels: [0, 1, 2, 3, 4, 5], + datasets: [ + { + // option in element (fallback) + data: [0, 2, 4, null, 6, 8], + } + ] + }, + options: { + legend: false, + title: false, + elements: { + arc: { + backgroundColor: '#00ff00' + } + }, + scale: { + display: false + } + } + }, + options: { + canvas: { + height: 256, + width: 512 + } + } +}; diff --git a/test/fixtures/controller.polarArea/backgroundColor/value-element-options.png b/test/fixtures/controller.polarArea/backgroundColor/value-element-options.png new file mode 100644 index 0000000000000000000000000000000000000000..36bab00a685ded5bbdc7dcc4a93428ba2821eae5 GIT binary patch literal 11572 zcmeHti8s_y`1g0l(AZ~Cb|I3iku72pA!}ugEZNFlB)b_+_Uze1WnZ%I+hhqD5egyu zQrXJB&U^iq_nhDRC%ot9ILG%K=RWtjpJ)3#&%I%KI%>33Y*Y{g(Q2rx+=U=G_=G`7 z3h<{h=8HW9aYGs^H}t*CSKm<9nGb#I3Y5RXr>x>2sv1_FwZFs+UWvUPqM_H$v*rFa}mJ@Nqj8S=~c;+{!4;n3ld*O*LtT3)df-4$Jl%2#sC$VB%CDf zBko?{hQ+Ymex`p5Zda3L^@5B?V_=h4>?vCwfA5iG@|{OX{16qVBC8mj^CCBFzzY96 zD-uC;8ZjZV{Rq>^NR-j&mJGjR*7b}i)a(*#tPU{=-mfq~3*JwyTeDk%2bOycMEVttPl`o{xSn7QUZ{>CJ~$YX$B)3v5EycC(YmjbqWvzjZ9CM=)&0a5!Iv&x1|85zFVyeL@_2o};{{AGkz$TD> z-=@~-t&kU3?xZ#yn;>q(xv2|(-$R7o1hFPt9+%^Oz~s2tzX4fZDw~dIdem6y>y_Ts z>8N-rE%g6Nd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AKP7bNNYaF-g${`9`i>-H?Utx4h34150@IEy~iz> zU<2S`%?G)jIlaUAKy~EIyC(0)3jg<>q~m1R2==2+mbi()qZBWdkEhfdB4B06hz<6D zcAb@Z4uvm`A*hoCR;Fjd@Uwu^=)JXMo-~mBLm3G*z`?ku$sBuMp0Yy}IvtM>ca7|& z`pV`cF0A)>HWZBm9@K&Xv-@Z~Qa=GhgcAggv9{VrHH*Kz`3U6%~Stg;{8dc|nd{wzUK?Iensqch=OVWpoQ1f!}?46Im<0fENW_^CKCMSUlekz2en#f|sBm^R`{}sBAHRlgLhvELg_y z(lQ__4;f!?|M%QIsrW2z7&$KpwR9xe=^jlk8}80hv9!t2l9PZ|x}};Q9i-ja z!MFupJw*V{LPUWA1Go|L(1#H4Q?joSNWVi!IvlSGgpa_JLQv)o-P{lOK>Pk*18Q+} zXb7efZfRh+kmeUp>kugY@WPR-MVd6a?x(;BDkyxXgVDi+_rJRHn~2M|vw+Xoj@j_8 z--w=f9B(~rE$KhlvzdCc=FTfs(3eemqkKij>-pR H%b@=QSlsU9 literal 0 HcmV?d00001 diff --git a/test/fixtures/controller.polarArea/borderAlign/indexable-dataset.js b/test/fixtures/controller.polarArea/borderAlign/indexable-dataset.js new file mode 100644 index 00000000000..b6aaee0eb8d --- /dev/null +++ b/test/fixtures/controller.polarArea/borderAlign/indexable-dataset.js @@ -0,0 +1,43 @@ +module.exports = { + config: { + type: 'polarArea', + data: { + labels: [0, 1, 2, 3, 4, 5], + datasets: [ + { + // option in dataset + data: [0, 2, 4, null, 6, 8], + borderAlign: [ + 'center', + 'inner', + 'center', + 'inner', + 'center', + 'inner', + ], + borderColor: '#00ff00' + }, + ] + }, + options: { + legend: false, + title: false, + elements: { + arc: { + backgroundColor: 'transparent', + borderColor: '#ff0000', + borderWidth: 5, + } + }, + scale: { + display: false + } + } + }, + options: { + canvas: { + height: 256, + width: 512 + } + } +}; diff --git a/test/fixtures/controller.polarArea/borderAlign/indexable-dataset.png b/test/fixtures/controller.polarArea/borderAlign/indexable-dataset.png new file mode 100644 index 0000000000000000000000000000000000000000..65ec6d4d0bf8fb609749945d10d5e9c2943e81e0 GIT binary patch literal 10796 zcmeHt_g_%`(h-8vyP#4;h@v1;M35pNBucYUq$(h&6ahgLq=^tk z1?kc|QIL*AX`$w>eBbxI_uTUroFC3lkp0&JiWOVAB(Srw7Z+PFl8So1) zw2B{2=)I>c$>qcO{5kf7#7m@V{AhycZ2Zl#k2oj8&+Oc%lxU1?Q}eT(=Eiq+!pB3V zn1hxE%j~y826qN&CQ;#(;9LDoC0!#r*c2SHO@ggX+5aSVj6KQ^a-pf^t1#LKT+uI@ zTCpaI{epV}P^Nhbc-xS?X>l~32W997kF(dF+)&+LE5plndwscsiU{q}5>P;(xJ)q! zTWrsV-sBmNf9K@9^hwIi>m`wB=*Z z`xtRN7v85L>kTo8o`Ne^+OM+3FEi@0)k;+~KgtPaB|M@b{^fAwLC_N3w!Z(p$QJKo zKSAoVqC~;x)aLiL33Xxz+4OrbnbRNTuT08eU)rI|`-s&{Lz;``LDDkLqs}b&)~T|( zg`%NdhbPVCcAPLgMc)__lZ!u8^i+d`8?x_v`vMte1NPr#Tf%xHMHhxA#PBT$ok16k ziRC8R2wJiz$(Lw?Jg^IF>}=+O0>y5?sP(%zIM3#Lf5s-tupAz5s$bBD{x)^@MxLKo z?qjC36NXURLATbd5Iwr~o~f9RNG^z$-li|Z6dfQ-G$XtyLF!f>NpbxZB~3wP>$Vf> zc8)@`pXRWr^@m{LYwQELUpV5&nL|bVn|KfJ7zg!53FB2g1;#8xXfdh+IY#htkvwSL z3?1Z-2NJJ-^CJY7sP6VDY}ykwiSo#rC?m7sN~xq>W0o0*4vAR~5;Qq_f!zhvJ|yn>U|- z5$+CHQD~3~PcB;Sp67yAR6~qVH!^{+%^$y4NwCF_3x;x6^l_CI746r+CT!$yT>BYg zMu-ZRgK`CY0=q4ALk|6JNmzg{OypCC>ei5cnp`k4`@F8w|hc@G#$TJkjC=n;JDd7Os9fmZn~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<1QOcWRA5}WC2%7T;1?ZsO!gT?! zDlmj;AwzRW)!=pJ8^<{!Gy@+fXXk%fF2H1e4SNXAY3}a_%|Ay;FoH1~9;H2`v8O9N zPK$MQxT15}US3U|rN~gCcmJ?lS&P{`?<71C1M&GY>xj@?J=AG_H)+al%ZQnDGy5`0 z8)4wsYs&rZ$nr#z4kOO_$uWN#2P{12ZEsCMzDL}KRo}4U|8y5}$aGwuAFP*BD3aM- ztN|C!6_wli3Xakk0Z|?1ZR|30`-&J6hk_qGU0$B|y_=eJE5&B6A6Y65`4Wp}6uiHKfNMus7dYQb|(t(aa&mJ>^hk(XBlfkYi z9hZSD7lYpZC@yZ44E(m`xwG+Wf%>z7w2hx8^jx2IWj4EQ?#2$_3&GE)V`fzd%J4jN z&5=_1%@zilQC!z(=D;za<~o3G)N}qWX7(uI7z@60U?X-xdY9vIeMA4$uqJZn0XX69DGtd#kR0Mco67`3pkw{t;xF=L8ZW*rVv@ zzoOoQ#rOJ-fy-t4qHVz0Ev~7mKloo!9$@kNSwWfq=qQr`f^2-myXjw1%3!faD0}*U xbWGnLv->aBI{in~|2Oyld-wnCU?$O-yWlBT8kD@}!4*)*%-G7P!oV%={{X}Jg$Dot literal 0 HcmV?d00001 diff --git a/test/fixtures/controller.polarArea/borderAlign/scriptable-dataset.js b/test/fixtures/controller.polarArea/borderAlign/scriptable-dataset.js new file mode 100644 index 00000000000..0ba4263f05d --- /dev/null +++ b/test/fixtures/controller.polarArea/borderAlign/scriptable-dataset.js @@ -0,0 +1,39 @@ +module.exports = { + config: { + type: 'polarArea', + data: { + labels: [0, 1, 2, 3, 4, 5], + datasets: [ + { + // option in dataset + data: [0, 2, 4, null, 6, 8], + borderAlign: function(ctx) { + var value = ctx.dataset.data[ctx.dataIndex] || 0; + return value > 4 ? 'inner' : 'center'; + }, + borderColor: '#0000ff', + }, + ] + }, + options: { + legend: false, + title: false, + elements: { + arc: { + backgroundColor: 'transparent', + borderColor: '#ff00ff', + borderWidth: 8, + } + }, + scale: { + display: false + } + } + }, + options: { + canvas: { + height: 256, + width: 512 + } + } +}; diff --git a/test/fixtures/controller.polarArea/borderAlign/scriptable-dataset.png b/test/fixtures/controller.polarArea/borderAlign/scriptable-dataset.png new file mode 100644 index 0000000000000000000000000000000000000000..9bafab3bb5b0fa64c4b45d6b882af7d2571b7a7d GIT binary patch literal 10332 zcmeHtX*iVc-}g0_8I0XnvyMHIr6MB6J}p$rmTgK4*~`Apq_TuYD#}_&A(TSaixmAt zWzRa6vXotR<~is0-2dl3p6C7Z?taB_%z2&Xclmrj=XW_{Pg|IAvWc)k5X59@Cm8+7zG!9=%eVLK zt7l^#B4UsEW6-=T>8FjyZ^atzGkEKm{cQD(6j!X#`Oa%*c~+O)a-PYy$Cbxgm&_0D zNZf0#o&4h%npL)@w`Jo#%p7NcBIEIW8z1y%8?x;2N zYEj*;aAiB2!YjyD%ESB^iHPQhjF#@WJZ7cTsFq4DC?FC?PxT*!j_MGWaZ`86aJK4F ze+CaFtagSX$-NU!F64Gynu9o6_HdcNg|gX@t(>Q)c?_ZM0~hyB-|)!g>|`5=qf4FZ z1l%eQe$~9NmBm95>z(6*GdTt$Wch5M_@*;lXJJPmnV)&ruDmJU85QL7_gf?@550C~ z$&F=Z|i@c|y_^($JgI=PSoDg?%wf`mg1GBYE z9goHT_Lhob2u3996yy@Hfc*G1g(F#n#QnQA5ch9#7rj4dYFUM-Ka*WA=(ra;kCeSc z_dEfbzZ&{IA;{O#%VGiT7X1|8t&EBkSr8;TJ9`9LY4AgZ(yzp^@d;p|hs2ESl6=la`7TyCfR%Il`*Y-G8{ckbAD#)e&UHx@3VmmCl4z2qA?aYAhBE(?9+ zQ9$XF05)>BPfr~BlNo@bUY7RQMR?;0a)O*+L2O?Rpk1ccS?k6>)I0|j@mGA3Rg;F< z$h_LEPs^pK+-M7CuXBB^&P>fln_d^TGM^|yA#jNumLn4!xS(>KJj*&^&y){`3au`C z(X@z@Lgn-CAH&&KSzMjqD7kD%xX4}1HWb!=w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z_p(4YxtCxgUMe729EmTCw*4q=ht z8hrNAVf;9)OlqeFj9(s-(SkszN@Ir5j%?%_Q6GI8S;=ai^Zc{;!0l5v`G3$E<;{Hn zkVhPSb8>3Ra2`xrEv;wrvB8)B9pB0z7y2Eluk58CBI-}S(60s=#30It6KI=)vz3L$ zGLKd>^%mESRE6}J1=Lk7ZlpoxF(Qo(3c2weW zL%q@th4&5z$z~!Hm?#k$JT?iE@Dq6gRh@N1ok8=oR)PNm#}_DBzZUy6=5B|;};#-OutLtRp;SepLv=UF_hpL3JkOf+M!beO#R@2 z515}~S3t(~jmgjaI2gl#uFU`Z`ajnAA8h>pkA(#~DoBR;8tw%Tcr*w>$4o4Yiw#LP F{}(Tn6QckC literal 0 HcmV?d00001 diff --git a/test/fixtures/controller.polarArea/borderAlign/scriptable-element-options.js b/test/fixtures/controller.polarArea/borderAlign/scriptable-element-options.js new file mode 100644 index 00000000000..45e93a1c27a --- /dev/null +++ b/test/fixtures/controller.polarArea/borderAlign/scriptable-element-options.js @@ -0,0 +1,38 @@ +module.exports = { + config: { + type: 'polarArea', + data: { + labels: [0, 1, 2, 3, 4, 5], + datasets: [ + { + // option in element (fallback) + data: [0, 2, 4, null, 6, 8], + } + ] + }, + options: { + legend: false, + title: false, + elements: { + arc: { + backgroundColor: 'transparent', + borderColor: '#ff00ff', + borderWidth: 8, + borderAlign: function(ctx) { + var value = ctx.dataset.data[ctx.dataIndex] || 0; + return value > 4 ? 'center' : 'inner'; + } + } + }, + scale: { + display: false + } + } + }, + options: { + canvas: { + height: 256, + width: 512 + } + } +}; diff --git a/test/fixtures/controller.polarArea/borderAlign/scriptable-element-options.png b/test/fixtures/controller.polarArea/borderAlign/scriptable-element-options.png new file mode 100644 index 0000000000000000000000000000000000000000..0978aa0c1c8731afdec1b6f33fea90c303846ddb GIT binary patch literal 10580 zcmeHthgXx^x9yh@AYeiV=>epRh)9(d=~cQkfrKJb6cDLW5+dZ@LMR|GamOfkD6wu(x-f=KhKuOp~xm(w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{2=CJEHW5$gN$e~|Nazug~kAPX1)oC{Nf`l2SnCXrAJo=Hb_)HXXy zoZ~=ux*7LI1=J$GKs+;VR5B2L80;^gue`wu-wrnG67q_qv+G-{54w+;&hgsvv4N4& zyB^A+UcVxLLSSNFw034ITkhEhL{{1(mgyvqdw>mboTeoqiybJ5SD1d#ocJcLqIyOx zGxF}Hs}JMqJzj;E{=IX*iowF4y)@2z4ti+SD9AUbyz8f$Q|fx_S`1!RpOoC~%LIBg zJRn{=LK)in>3GB-8>Bp_*ql@!n16KG*@R2hO_{k%m=x5Nbog%tz9{H1%F93=hc+I( zSWPSrU9sKzX>MxwaN+w&zQ^mi2!v%6@D%0iu4SlP8hKG@JtklLsA|o4=pQTbbceyhrfI{n_+sLDU@h zS|VMz!$_F;iRLOTRAg3H5qGq=W?%a?PV*z;Tg-9xg^HzCTB-W^1_mGgRWJPpS*f79 z=l?FCQPu|VAtXUe;*dotzk0sm@BYJU=qL2ZGSHyxIAf!i1WwI)SfS2b@rBLigyT2y zL3ZvP)u0ybIrUY1r`g-OS-wY2l#am1trON=zSUm~?d`i+4K!MDFEPqMrqfee#v&c( ziO*@2_`+lTOT;yg-yV*Z++T6-Z9SIin^{rPH4^_nw8aw;fW_;8#Vf7RK|r`DaOb87 zAcCbx+wk9)S5CjMxOib-6o%9XcO0Js0CcMuW&V9B@e*A2{G59Q1_F1|Pmg{%##PGx ybNOGNd7O^>-}Ul86aNp?r<(X5asB_y=|tc}fy=2Iit2&DKLcGOogyu4@c#m5FZHtk literal 0 HcmV?d00001 diff --git a/test/fixtures/controller.polarArea/borderColor/indexable-dataset.js b/test/fixtures/controller.polarArea/borderColor/indexable-dataset.js new file mode 100644 index 00000000000..660941ef027 --- /dev/null +++ b/test/fixtures/controller.polarArea/borderColor/indexable-dataset.js @@ -0,0 +1,41 @@ +module.exports = { + config: { + type: 'polarArea', + data: { + labels: [0, 1, 2, 3, 4, 5], + datasets: [ + { + // option in dataset + data: [0, 2, 4, null, 6, 8], + borderColor: [ + '#ff0000', + '#00ff00', + '#0000ff', + '#ffff00', + '#ff00ff', + '#000000' + ] + }, + ] + }, + options: { + legend: false, + title: false, + elements: { + arc: { + backgroundColor: 'transparent', + borderWidth: 8 + } + }, + scale: { + display: false + } + } + }, + options: { + canvas: { + height: 256, + width: 512 + } + } +}; diff --git a/test/fixtures/controller.polarArea/borderColor/indexable-dataset.png b/test/fixtures/controller.polarArea/borderColor/indexable-dataset.png new file mode 100644 index 0000000000000000000000000000000000000000..10d3e58e4a6dfa60cffef4f7cf6a8d4f2ce3e66d GIT binary patch literal 11766 zcmeIY^;cA3`#!p77-Ep_7LiT?DX9TLq%rA|4hd1DnE@3=36+*oBovS?0U1F70SW0I zq>-V!<~;MBv%cs3tn&|?A3iMCVlUZyKlgLTbzS%U>=!0RI@FXLln?|_>t5Ho2|;jh z34F^<_z5>Rwu@e7BI)IRA(qMqdEILPx~twCdKbQR$C2xJ)pw3A%O9Qoql*1Mr(J*@V)P`=8Fh{ zTiV(5@S{=%O=AaboIZRTrVgip%Zo{~g$gAo2FO?={?PSCsZvYqGGj^@N9Ycar3$5X z=b%QC24n;MY3gp1Er}W-+HilU?8Y=wg5pCG6Xq^>qLF!^%6Swi4qs(F9kZ>0T=JkE zcu&{X;`u(pzHY~EBLby&Z$%Q$EWish>BDvu=h2zbE2)}n1xNZ25 zGv`q^=@;@m=Zufqv;2?+!lpAC<%-~kG+#bnbz{NIV>&UJ?5w4n`S`yzoCH<&MGE^A z1d8HDJT)I31Vf^s2wuiCJ?s?Ta!)OI&YLv&Pjwu|mgFL4v7d&fv!k!+ zFV6lV_mZzv#D}>w=ou-#@5~8ng7x1s&DDi&3%uF7is0bqh4u2HsA=C|C$OU^0#)0Q zxJF##_<5=ZhL4Y9*acv{Z0a#Am=3ylsK7vY{<@Z(A5FO;~yg$mpq z=aVTuf>*^eqnuS~VZs`oZT}<W$mvmI05 zmR0(MQ@(gc;EHsVds;KHi$3F5jc1tK*qrdLcWTd8{^ovRr~t(AKE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!1(*&WRg?S?S-P>XEHniUQch4wGT%%&S389aE@Rm>z?##Lc zT$oKojP>foCF^ywb~k9CC~Qi~x$?eJmYwhzH7q|F28JExJiT2PM{AjMsWj)MX_*%j zCFC&J65Y5biRd7Bsu~)My27`|L|_LRCjK-Uqf2xCHV1H9CZUGdl3%YvriMX#vy3?9 z5?aWQNT2mYXo(@SA_dBRSkebnfdof}U^pOJ(ueqObR#7;(g#jj7(tUaiT{gSlb{C) z8Svfq^1t~}QbO`zX@hP4MUKN}LdoMO=NnWY{KJot5u%52z`OqSdL&GV#7y0V1oY- D(GMh) literal 0 HcmV?d00001 diff --git a/test/fixtures/controller.polarArea/borderColor/scriptable-dataset.js b/test/fixtures/controller.polarArea/borderColor/scriptable-dataset.js new file mode 100644 index 00000000000..6f837a74075 --- /dev/null +++ b/test/fixtures/controller.polarArea/borderColor/scriptable-dataset.js @@ -0,0 +1,40 @@ +module.exports = { + config: { + type: 'polarArea', + data: { + labels: [0, 1, 2, 3, 4, 5], + datasets: [ + { + // option in dataset + data: [0, 2, 4, null, 6, 8], + borderColor: function(ctx) { + var value = ctx.dataset.data[ctx.dataIndex] || 0; + return value > 8 ? '#ff0000' + : value > 6 ? '#00ff00' + : value > 2 ? '#0000ff' + : '#ff00ff'; + } + }, + ] + }, + options: { + legend: false, + title: false, + elements: { + arc: { + backgroundColor: 'transparent', + borderWidth: 8 + } + }, + scale: { + display: false + } + } + }, + options: { + canvas: { + height: 256, + width: 512 + } + } +}; diff --git a/test/fixtures/controller.polarArea/borderColor/scriptable-dataset.png b/test/fixtures/controller.polarArea/borderColor/scriptable-dataset.png new file mode 100644 index 0000000000000000000000000000000000000000..8fadecd2cb87e5f059d8b1ae748b0062e69d6f0d GIT binary patch literal 11567 zcmeHt_g53|x9(&J5Q;!VL^@JMy7VSdn$j&Gy(k?aL8M4cL<9i^1Qewz3MyTCkD?Sm zH0ezUAOZrRC-j`j_k8cU=bpdd{%}~V#jM55e)qfg^X&c1e&>m~slf?GZbkqAP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ZKrauHS`51>FIdTpQWdX)k^$2k@22}vZIpg5C8OVWoaege1hm`A8r374)q91t&nk?-ANn?xtI==MTL{T zL^>Ya9{2&d`v8L1?>F!3gv=j+?-{Z3c-p4b%wH*K1_gj_t{e2E*9-G#VQ>lFSk-qF zz$0P3{HFzUFT8exN5b3lzo#l5H6ujW_^m?$G2~nE(TyB9B6YmjRCnvQy@}uzco 8 ? '#ff00ff' + : value > 6 ? '#0000ff' + : value > 2 ? '#ff0000' + : '#00ff00'; + }, + borderWidth: 8 + } + }, + scale: { + display: false + } + } + }, + options: { + canvas: { + height: 256, + width: 512 + } + } +}; diff --git a/test/fixtures/controller.polarArea/borderColor/scriptable-element-options.png b/test/fixtures/controller.polarArea/borderColor/scriptable-element-options.png new file mode 100644 index 0000000000000000000000000000000000000000..3d60a6e7e75bb94d29b0aa0ac72b7c2c62701f6c GIT binary patch literal 11681 zcmeHt`8$;V|L;8uX0q=jOvn<7XzWadkS&y*ku4-t$T~A+$<~G&cZ{j=Mdl+%k3bN_tgokS20?Ie z34>7d;NPdm-`yby1LTqwx( ze22MapzX+w)PH>(nZcyPti!ST?)6)hHBol+Z>xOrE`*NyY3&iQ#gGM+-Qkc0&FO>9 z)roETkome^pNxrv#j22E*G@JVd&?7|z2J=S;kG>4^kG_le`^X?qM{B`I~$2ydtQgs zw?G}|BrhPs8S%KimkpjR!}pN5{_Q7$BBok!4rtx^O|mvd9N$346sxrsf{5d0NI>HJ zZk;gE$;N{FWy^_WsP=IU zZ6oi}Z#4uE4mkG@+w*^IR9uB)1mwT*kUnrch9te*xGfQ={$x_~xX)gkBL4obOPVZ$ z^n+-1*i_Zd{0W$;)-xM@WULVmp54ElxLL(Uo`qjT3?NpO@NN0frl;nC^RNd+X!$7z zl;B*Dtdng8n21e29h4>wtC98PBU@)wgz;9QQ<(v&iX4T==`PL{tQziJ9AL zsmWs_+ag}UHorAEjLTDZwk{lo%a!~s^DXxmgFY<(xWO)Y8ippWOkI8ADvlo_)sGh$qL)?m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2GAiEv z<|z8M>~ViH1=oFOMDAqt<>q^Cm|E)0d@So$QC7}9U47;%z%!2-5Zwd#~h4o?8XDdRtTiNMga z3$b2za2N|1e$;DOAg%bXT8>_}T4$9dzce=QfxY?vX@?WU*p$|Ss#}vAl*X}j1UYIo zz2}|t7;PBd$&1>d?V8^GaGa?$H{)Fp@V8ak&dr=%om81o?6qCZ+!g(4Zuf9uVlx$I z+cmH@l^pRHiL>k7yhC;89}83&Y2M0W{z^{Hi^Wv|GbgDvwLUr{MCSV(Vo4wI0C zJkJg-`|MA%{oF87(}eHvZ(X!OeB*?%&j6nyX0otfKMw!K1M!qY#z<`IgMDtiG^gN^ zpS1LX0C@ec!8jKjq-vfWHv6A#JB^E-)vWu&^bV(wxNl3rb-cw( z6C6BGc}6iAyIR-w6ZLifb3;C?Z{LKLKN>;KKFVa(7KhVAhSK5ooJJ5{K*MA(Q><*#*b zxur#(rXo`vj2`f&b9p+(F*s+G;$^7ve%QkO!zZ7$^RCdwguwJI28OFT*%ah09>|>7 zX0PUs=-}l`v*RV1(KdRnHrz?5JBAcp**k;*oMw^#>IgBe=k*&>QdudghXi;M#CW3F zB{@j+4~T!3qYozOg=9Gxw@<wqdLCzsBfcWCj%h7c?2Zf_cI=NVa)ePVHP@I!ZQ3$FaKqS9G})D_9!mhU(msy` wfIS9Hy+lExp?&^y|3CWq4?g~X_7BP-;>MzN5IXrb8wCFJb&R!(&g1X>FKrhLh5!Hn literal 0 HcmV?d00001 diff --git a/test/fixtures/controller.polarArea/borderColor/value-dataset.js b/test/fixtures/controller.polarArea/borderColor/value-dataset.js new file mode 100644 index 00000000000..0361c730b9a --- /dev/null +++ b/test/fixtures/controller.polarArea/borderColor/value-dataset.js @@ -0,0 +1,34 @@ +module.exports = { + config: { + type: 'polarArea', + data: { + labels: [0, 1, 2, 3, 4, 5], + datasets: [ + { + // option in dataset + data: [0, 2, 4, null, 6, 8], + borderColor: '#ff0000' + }, + ] + }, + options: { + legend: false, + title: false, + elements: { + arc: { + backgroundColor: 'transparent', + borderWidth: 8 + } + }, + scale: { + display: false + } + } + }, + options: { + canvas: { + height: 256, + width: 512 + } + } +}; diff --git a/test/fixtures/controller.polarArea/borderColor/value-dataset.png b/test/fixtures/controller.polarArea/borderColor/value-dataset.png new file mode 100644 index 0000000000000000000000000000000000000000..3cb271b454a1eece1f0e6e51e9b6448219aa0307 GIT binary patch literal 10713 zcmeHtc|6o#-}iSG%M7BCE&INN{0Jjr>|03IWGzefk+rhSSVkpVSt@%ANw%`DBZZWu zWC<~}*qK6P8P9Ru_jNtb>v{ft{=EM(<8{vGe9rs4Kl|J|XKu)XK8}VUh{f1Q?>q#- z!ABUxNDuzJP3!l9AR)+DPun`ec_ojbMovGoz5O-875b+{OU9FjCzw;an@^j~GU!~l ztjr}nKJI^5USsKxeTa=?lqt6SCne<)H$TEa;Srqv10luXpmrhp`n8sc5{taxosg}+ zKIP33J3e+RJ7LqK?W+~z>TdT4$kU=}Gfm_(iv{Ws*NWe7PIhr4xu!4ra11vL7W2iB zO)q=U1>V@yv4)&{)wU2g>Jm86yt^ByQ-F99h`BEc*32;u6^XGS6&>js!lQ^ps`B4wki8Bv?>yX8q!6;lM3nH$6PYifY!sy7<%kyZ?vqGK8L@!t~#N|K^abcJp-n*uS z>USXX&9Rh1_Qx)CXOgLmQV@wt>CEa)9BCJBK^LGkCmn-|WQ!2QUy3d0zqS{eXa$An zk6#lTi~$(Xx{X-XCDLZ($w|-h_vVJ%nD@M*hP0$RTz)E3Pkobuii({w*B} z>_a|kZH`<`wnS-OoE;GHKL#Z|SsKG|bAnq{%|5LU7E7B!leIT1XiNhNA$)IdSWIpZ zw@R4uTMOLg|2~v~e!d_2D5l^Jv=uhAm`-B+F5@-;BWsdnyZ@RqIHOv8($%+;I2%*a z;ja0o_)Y(VY_tiSC#<}E-LQ@JiIaEd2qMLp8uK(xw$mI|#k|-rO^n8zgEo}puPb}O zc`DE?oDIG+gX!8Q!+r^7Q648;mi>AbR<*%4Pe5MR#lZ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P`S z-+}J85HcD*M`+W}lbhZOKB_g#DU)1*guKq!t7R#TXo`2sh8)?a+AFUK@c{&d0GR9} zMHT!)11XY39#&-LO1yYFPJXIx@#4e-iJi<380c`2fLa@MPYkP)x=~}}8)Xo3GZFTm z#&I$ZM(4#7f~i!)^AbwwJ)tIuAuA6TJ}CBzV2K^Ee1@*H8n9#Xa(1RqOW% z#s%ya>YP(6zcu)R+rw{wJo;4c?hLqlWE?*SzQqs@7*l(wAu*y^x$j-Zre8A|bZx0` zE;4{k3v|?RVx>4Xcolc42E%^poUON=?Xt6GKdkox^*P_r&~W#?PcTsLKQLI%0uNyu z(_5%F$grbRxA=*IFd%^HN=0gnu?0-R1}ppD;>W`seZ z$SEzQ2*8Xcz<_8Q;rC%;Fe`dWfMU@_6)^v_ljSELp#*dSA4ZWlH_#hcv@4LRd!gn z!PO*lc}$;R{Gc-m2#7sUo5+yvLk3TE>d-_P2>0L1~A!~d)&GkBbI>No-ce(`_& z=)cy#1w%R*Ug~X7g8jXr575v{3x&!1{#kF!C^OlJr$J@@_W|lblzqO&NnrYCeHmz( zkeTH({Gu6+9 oI{vf%f3N?)*8l&=`9t@ZgicLxszh2Jguv&VwjrTd(>m<`0BNDobpQYW literal 0 HcmV?d00001 diff --git a/test/fixtures/controller.polarArea/borderWidth/indexable-element-options.js b/test/fixtures/controller.polarArea/borderWidth/indexable-element-options.js new file mode 100644 index 00000000000..cc790efb185 --- /dev/null +++ b/test/fixtures/controller.polarArea/borderWidth/indexable-element-options.js @@ -0,0 +1,41 @@ +module.exports = { + config: { + type: 'polarArea', + data: { + labels: [0, 1, 2, 3, 4, 5], + datasets: [ + { + // option in element (fallback) + data: [0, 2, 4, null, 6, 8], + } + ] + }, + options: { + legend: false, + title: false, + elements: { + arc: { + backgroundColor: 'transparent', + borderColor: '#888', + borderWidth: [ + 5, + 4, + 3, + 2, + 1, + 0 + ] + } + }, + scale: { + display: false + } + } + }, + options: { + canvas: { + height: 256, + width: 512 + } + } +}; diff --git a/test/fixtures/controller.polarArea/borderWidth/indexable-element-options.png b/test/fixtures/controller.polarArea/borderWidth/indexable-element-options.png new file mode 100644 index 0000000000000000000000000000000000000000..11a1f79b546464c1e7d4013e6ccafaa3a843735f GIT binary patch literal 9061 zcmeHtX*`te8}@A)n#iv5STd<6OC%wL=*bd=3|S^?gsd^L4b4bO)`YSa+43+bO=TG- z3WZUYu^VL>`&iNx#=MvMzsuM6!~5y|_ocaizw17)>$?Ux(pfryo<3bRM0#h^Y;6_{Npindqrd`RUWt)r%3v z|D2b$eTYq55kkbp$J+ObhH$uKx|BRkJzbbRchNm~BXjmKeQNk}sjPNa7=^ut`?PHu zqDznc76ZW$NIV3K5q{8g`Qp3ZzY)kh1T+Hw^IPN+9=b#>wmkV~92{EWfD7nB9B^(~ zJxJEMNA9mb&oGGjpHQ44NJyk=HZ9@LGY1|EMuS(PVB7)__dt+|;qPZWMAiWlgIV-A zI1v!1&*{Gp|9;kk#t-gHAfT6rhr#i%Q@IZXe?KFk8~i(KMIbNfalrIAvdupJS)%~- zcK7c!3CQL_9C>)t61P8V1l!p4-);Q&G!V%D?~>}t)WhM$9|5^$C07%|PPE@V5duoW zxf>LeaR`21MyQH?~ilY3i&URhtQcG856xNAif)z8XA zv#9r#@^rF_C0y75R3=JV4?1srIHP41MyX+Rc6Bvw{99JBaZ4kdxisqigF(ZQP;=ik zl1k>+H*6kB#T@=!oVOtk{3cQuMzEeoF<9P2>SLvx<=4K$j*jx_70fYq8&>KzIa$R* zBvl{GaTLHy2J+0~gZ5-i=4feYX}{lC{V(i=+&(Yj*c^%ftn(Y?>A81C^z%DF5eoM8 zZCx9)Pd&Ty!ZX>^7rY~9k*OgRhoUrYU4a}b8t3%@qrnA0MK%i{gr{VeGl@Dxvb41H z@Ev?PRTphW(+qL@sj8=MmhjB87ERc0&Z7rP>_811K#gE+&Q~!4@j!f=_$%t;^1=l7 z>aeWXJIEU$rB*{#*V-S+*qr2}?_g7yFcO+16lj*UYBGHpEb&BTnw{zO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2kh?h`gc$=)#NTnxuI%`4Ep`X`|2OwO z0;>_6;fL~Nff_QHlr8E_8QUxfXWId%lOvu_YK5&-)T@Y|_vZ`cy9cre4)!Gcp5BeP zXyWVwoj=LXUrW3z5+m;F<+ze3GkG8c&`CgHstCDtgWfFshWq~j3l8a5p}6#s;(*&e6;1(~I(dCt zDQTjW#7s_apK1lN&eg^-Y|6EM(4*jKhfq`@NX5dd63GxSqw#utfcreG}lA6WJNlpe3_-AZjreE=o^X>lu1CDj~ literal 0 HcmV?d00001 diff --git a/test/fixtures/controller.polarArea/borderWidth/scriptable-dataset.js b/test/fixtures/controller.polarArea/borderWidth/scriptable-dataset.js new file mode 100644 index 00000000000..c145811e190 --- /dev/null +++ b/test/fixtures/controller.polarArea/borderWidth/scriptable-dataset.js @@ -0,0 +1,37 @@ +module.exports = { + config: { + type: 'polarArea', + data: { + labels: [0, 1, 2, 3, 4, 5], + datasets: [ + { + // option in dataset + data: [0, 2, 4, null, 6, 8], + borderWidth: function(ctx) { + var value = ctx.dataset.data[ctx.dataIndex] || 0; + return Math.abs(value); + } + }, + ] + }, + options: { + legend: false, + title: false, + elements: { + arc: { + backgroundColor: 'transparent', + borderColor: '#888', + } + }, + scale: { + display: false, + } + } + }, + options: { + canvas: { + height: 256, + width: 512 + } + } +}; diff --git a/test/fixtures/controller.polarArea/borderWidth/scriptable-dataset.png b/test/fixtures/controller.polarArea/borderWidth/scriptable-dataset.png new file mode 100644 index 0000000000000000000000000000000000000000..154efebacc600e3371f085ea5404117f00b82620 GIT binary patch literal 12775 zcmeHu`8U-6`}fNjjIzui#u8(+D6(hY8zqXORQ9FpV-4Atk`ZB&Wm1%qBuj}QLMojTf9dFGyelvu0oYC15}PiB>OvlIz*s&b8|tx;s*!KArC;U%IZK zXKU~!)VZK{+-F`XG%8FqE$Uu4?{x31xVSh`9L3CBobc0F)LFed%B#DLid-}}QEv>v z*N@(}D>pDiB#EJjo700-{my!-K#C4mw)f~%;n`CV{YB3}|;IR9W z?&z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u7j6VT_vaGa8%n@moiEJe|jfkmTKK}T)k8=-?P~P=pp<ZK7T z4^ws?<-TK!|9F#Hsme!VuLxkP3WMbe+lav*H9!FFjc~=&j9M=dQ=n-Xhr-V(?@P(7 zc&t}%232?4zwKR7@zW8e*^~@k2qRmTMnEcVc$`uaBln#Abs-G_9Ccke=;lQCDw~%JE74teqTdylKRY!An)|kvnqnp47!H$)Z$JShLhzZ;6a&%h-K0Z(_3xLBa}#&j zXzgzpxU=m2!&F?{HDnzpR22~mh%>@!AZ$`c$qV#L9UV$N?bvD35Lh=n6mb}s)fzZ2 z_kl1!Oovdg`5_W$a)gOsc4J`rt8MhwiV#+bF5u|zH-;FacwoVQ7PAI09fr`o%-6TT zI;H`6MiJ{XQ7^iAGE5k5xJ9f39nZtI_IB^**MTnTKuh!4bR?Mx<*tEqMp&{qrKY9% z`Cw4(Y~5$zS0(F}wO*{Mc%F5fyVAo2KSf#Mn z{`SLbmLC><69E@H(6%?WEJ*#0 z=kuV;Y1H+B9~GtqHDLK~ptpYOMx(KZgk$l*E%|AiOb;OBxeJySh&a{|P;MTCYih0> z58#a5G|FaBz{Sx9;ZcpvC()BB_()jK_8#SkLg^ z&fASm2@-*0cZS{4Gc+(emk2I{<#t^gZt_7T1@|}cINDwN%O2Q)y)4>q$4Ma7P!e4* zz!A{4k?>wXf>+juyMV1|zi~8{tNJ9^XZibaD0m*^U7L2!Owh}NYvXaR!Sn8>M^Qlf zzrWEB5V<4fq)O<&=eYncnXEd6X8ikcKmgE2_I#%I=>9!#2y8-iIN!!_{r!3fZ9{7u zm8+J(9?jq9RRjCS4SvB%|3_e2|Lx`Uo%`SO+`&>D?scw)<$na`0~ea_YnJ=>yh*T? vgm<|Z+DMa@Ch-3$;Qu_}|Mw6G-e)=4`E1#^yNnL}g9W6m2{Q9p%aH#EkO~wT literal 0 HcmV?d00001 diff --git a/test/fixtures/controller.polarArea/borderWidth/value-dataset.js b/test/fixtures/controller.polarArea/borderWidth/value-dataset.js new file mode 100644 index 00000000000..1c7691cb8bf --- /dev/null +++ b/test/fixtures/controller.polarArea/borderWidth/value-dataset.js @@ -0,0 +1,34 @@ +module.exports = { + config: { + type: 'polarArea', + data: { + labels: [0, 1, 2, 3, 4, 5], + datasets: [ + { + // option in dataset + data: [0, 2, 4, null, 6, 8], + borderWidth: 2 + }, + ] + }, + options: { + legend: false, + title: false, + elements: { + arc: { + backgroundColor: 'transparent', + borderColor: '#888', + } + }, + scale: { + display: false, + } + } + }, + options: { + canvas: { + height: 256, + width: 512 + } + } +}; diff --git a/test/fixtures/controller.polarArea/borderWidth/value-dataset.png b/test/fixtures/controller.polarArea/borderWidth/value-dataset.png new file mode 100644 index 0000000000000000000000000000000000000000..a30dfc88bef3c595647a98ed4558003df40e8ca9 GIT binary patch literal 12560 zcmeHtX*|^L*Z*gjYEYRW64{1QD%+HO81=Cv*^}UuepEUd;2~9KfHUQc^TJruCu<+` z_%8xNZ3jOZsSQZO%L)svAG(gJv*+3tHSk?%3Zhf>U460XNe_olOIOLTTWN@ulA5wmrYuA9k5zRj}8voJ%y!jesMx~cJd5(MRs z+tpun4j9+mY8PosNg8`yg&U_=tdFrij&~gN9a;*iof+BmAEU1+eM2Bn(sm>7dE`TN ziZ6x=U^Xhq)%Ph|Psn!0Fi+nxyTgssaimE}h&0bNqP;#(+b7#rM5wVF)`b^&!@tbv z!#mK7P5SzjN9i%_)<=5XLF%#asjV5+Hb)&aeciSQFGt)g+fYG9?5xZBB8>Exh=3v< z?Lbx@D!RF``Zdu+Yef&E_I1-??1I<$jtzP8M6>mlnW2Xhk>a(|lzNPbh3FU1OdW|q z4ixmuPTL~$BOu78x%ks1Rv)1ElZ=eo8`rPT)_Rsk zL0^sq(RoNtC<#c~QPfm-J5o5dNsDGVd7QW@g0-q%@LGZW_%Va3ii+Ne<3Zs@C#z7< z>5JPsA<`c%3COQq4ChR!XH{RxvrxZFF_EH{qZuh%&tWHiT=;p|b0B1<#>>9U{nC+Z z(^yE_L)VlS`CWhjk(nY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KevraBvI)CVQelo0xg49<<8eLGve! zId(`eT6}V5rhI(ch@uJU*^Y>B-@f6W1F#LYBQXp|&_B+yvDjFzoZKx4nE@`3c!Wgy z$i|OC3dfJn%Yvmu;#dtlI!<4=%t_inq1Z@|J!BM({Gfm~NF(rZMr>5q0Z!fsY%vIa z;UP~{{Re@CHwX#@_ zojfEPHqR5h!U)aS_K**1YHH$6Q}%cru$<{^GG9`)7S$2~WMl$xl>;#oayz65!|7j_gUoI7cM{Lm5h#u>%R_&6s(^nN&~C-w>a;Q*C%T`E_f zvLa=eSNOS>QnMPuS&0O&rDc&E2wxYkz`OzvXwCPxta$oo1IO*+;u{!3>V{g6$jt#rW;Ph&I#p z`OOZ$S`?vIH-V8xnLS=F0z&oyTf2ZI)>9HW9O*j&p(X(8=r?%Y0jsXO9vU7ULmq%( zw>RBe56xwhc9D!gb$0T(#Mp!Mm;2%gp)m!_$$R(78)w7!VWw-lUTqn}%=<0lZ@PJ> ztA#b${ERh(knr@T?;zbq(N94C>?pdCCkSizD7;vzZMmy+HaP~Y3m)4&eYypky%RMB zw)G%+Ueu_?<%1BLNTCEVPd+WOUgivAN}$Tthw0Ta7*PoV03&n7md&j8sjO_E%} zP6KGq#BfKjuVtn^W*%%j-Qr*46mS09RCYWS#Ze5x@x%L=(*RkcK-K%m2kK^baF#Ip z13H3m6j-NN!IAHukFP;pepo8@VmtU9gp@!>1A82$ry~FLG5#o!&xy9;JC)KZXCFoBe+au8}Rym7_3(yP9_!0{>3y8p8!AFGv1A!gY|H literal 0 HcmV?d00001 diff --git a/test/fixtures/controller.polarArea/borderWidth/value-element-options.js b/test/fixtures/controller.polarArea/borderWidth/value-element-options.js new file mode 100644 index 00000000000..02d9339e007 --- /dev/null +++ b/test/fixtures/controller.polarArea/borderWidth/value-element-options.js @@ -0,0 +1,34 @@ +module.exports = { + config: { + type: 'polarArea', + data: { + labels: [0, 1, 2, 3, 4, 5], + datasets: [ + { + // option in element (fallback) + data: [0, 2, 4, null, 6, 8], + } + ] + }, + options: { + legend: false, + title: false, + elements: { + arc: { + backgroundColor: 'transparent', + borderColor: '#888', + borderWidth: 4 + } + }, + scale: { + display: false, + } + } + }, + options: { + canvas: { + height: 256, + width: 512 + } + } +}; diff --git a/test/fixtures/controller.polarArea/borderWidth/value-element-options.png b/test/fixtures/controller.polarArea/borderWidth/value-element-options.png new file mode 100644 index 0000000000000000000000000000000000000000..32389e967f02aa82786157fcecbe5e810e7e414f GIT binary patch literal 12928 zcmeHti8s{m`}cds#K<vEwYtF z8QJ$&zv9HfPpU?OEJkR<43D0?)_c=MI+kId6wY{$Eb=@%+O!T?-AK4E<5ZC#0 z1TzSNgI{3~k`?^Z^60Y@1Yw}_1RZn#>+@M0X+k%X*E$P-)4h>)@7!T}!Mu18pX6kl zi>p@OlWkf!RNj(v=OQCLyVC}}>;G=fOET&o)U3gylwP#eO3KF~hqb!neXhyH*4B;{ z%gVA|G;cD56wdo8+DruwcO4ka5A4BRy1Zkt(wHq_in-(?+j!~x-kaIrPWyK-IL3|( zHnPT{tE(G2s`^=m@NH>H3;>g{ap*8FNU@zAGHE(GI-ZagV7wMP|WY2Gp z{rMP+!CKQS;yIcZ9kFULRNF7lJQ$<9r?8t>&>No~A2)1x<2}<87e60Z(ckNWf;8>l zoyRz&G8YM;wYXQ?j1jskj)B1Nty7o zgqib_p>sFCp}ZT}liDW^%QFm!TG5orh2z=6Sg*sl(Bf|AAfmVT@@Pma53Flpf0OqA zQLxz=yBjyKYl%7AKb6oV9(27|ZE44?Anaz{Mtl-<61Hhs=gmqR6Rq-{`cKZ$KK!ERQJtBUyAtjT6v0)JAYM&Uv{7KLDs zIGy~@i-t{Z1-H=K*Ot;o+&Z_~y1KenURuxw(xc2pp`HuJ-y`9Fz*Q)zazzD?nxeP_ zC;R7C4$-YMZ+A9Of?}vDl6k+4tkO}C%S-;TePPq=c!knfU#9b>YCQFZ%!z)_s- z0Bx^FfAEO~YO)LpgNe`&DL&u}H^nQLC9UYCQ zSytZCw`91*3&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on Sep 17 00:00:00 2001 From: etimberg Date: Thu, 10 Jan 2019 21:22:20 -0500 Subject: [PATCH 3/5] Ensure that arc radius can never be negative --- src/elements/element.arc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elements/element.arc.js b/src/elements/element.arc.js index 82d836c6b80..1d5f9aede4d 100644 --- a/src/elements/element.arc.js +++ b/src/elements/element.arc.js @@ -92,7 +92,7 @@ module.exports = Element.extend({ ctx.save(); ctx.beginPath(); - ctx.arc(vm.x, vm.y, vm.outerRadius - pixelMargin, sA, eA); + ctx.arc(vm.x, vm.y, Math.max(vm.outerRadius - pixelMargin, 0), sA, eA); ctx.arc(vm.x, vm.y, vm.innerRadius, eA, sA, true); ctx.closePath(); From 7811588e4c414ee7374515e1c65efb77461e062a Mon Sep 17 00:00:00 2001 From: etimberg Date: Thu, 10 Jan 2019 21:27:17 -0500 Subject: [PATCH 4/5] Update the docs --- docs/charts/polar.md | 43 ++++++++++++++++++++++++++++++++++--------- 1 file changed, 34 insertions(+), 9 deletions(-) diff --git a/docs/charts/polar.md b/docs/charts/polar.md index 20dc93c283b..1d73cd350e3 100644 --- a/docs/charts/polar.md +++ b/docs/charts/polar.md @@ -44,15 +44,28 @@ new Chart(ctx, { The following options can be included in a polar area chart dataset to configure options for that specific dataset. -| Name | Type | Description -| ---- | ---- | ----------- -| `backgroundColor` | `Color/Color[]` | The fill color of the arcs in the dataset. See [Colors](../general/colors.md#colors). -| `borderColor` | `Color/Color[]` | The border color of the arcs in the dataset. See [Colors](../general/colors.md#colors). -| `borderWidth` | `Number/Number[]` | The border width of the arcs in the dataset. -| `borderAlign` | `String/String[]` | The border alignment of the arcs in the dataset. [more...](#border-alignment) -| `hoverBackgroundColor` | `Color/Color[]` | The fill colour of the arcs when hovered. -| `hoverBorderColor` | `Color/Color[]` | The stroke colour of the arcs when hovered. -| `hoverBorderWidth` | `Number/Number[]` | The stroke width of the arcs when hovered. +| Name | Type | [Scriptable](../general/options.md#scriptable-options) | [Indexable](../general/options.md#indexable-options) | Default +| ---- | ---- | :----: | :----: | ---- +| [`backgroundColor`](#styling) | [`Color`](../general/colors.md) | Yes | Yes | `'rgba(0,0,0,0.1)'` +| [`borderAlign`](#border-alignment) | `String` | Yes | Yes | `'center'` +| [`borderColor`](#styling) | [`Color`](../general/colors.md) | Yes | Yes | `'#fff'` +| [`borderWidth`](#styling) | `Number` | Yes | Yes | `2` +| [`data`](#data-structure) | `Number[]` | - | - | **required** +| [`hoverBackgroundColor`](#interations) | [`Color`](../general/colors.md) | Yes | Yes | `undefined` +| [`hoverBorderColor`](#interactions) | [`Color`](../general/colors.md) | Yes | Yes | `undefined` +| [`hoverBorderWidth`](#interactions) | `Number` | Yes | Yes | `undefined` + +### Styling + +The style of each arc can be controlled with the following properties: + +| Name | Description +| ---- | ---- +| `backgroundColor` | arc background color. +| `borderColor` | arc border color. +| `borderWidth` | arc border width (in pixels). + +All these values, if `undefined`, fallback to the associated [`elements.arc.*`](../configuration/elements.md#arc-configuration) options. ### Border Alignment @@ -62,6 +75,18 @@ The following values are supported for `borderAlign`. When `'center'` is set, the borders of arcs next to each other will overlap. When `'inner'` is set, it is guaranteed that all the borders are not overlap. +### Interactions + +The interaction with each arc can be controlled with the following properties: + +| Name | Description +| ---- | ----------- +| `hoverBackgroundColor` | arc background color when hovered. +| `hoverBorderColor` | arc border color when hovered. +| `hoverBorderWidth` | arc border width when hovered (in pixels). + +All these values, if `undefined`, fallback to the associated [`elements.arc.*`](../configuration/elements.md#arc-configuration) options. + ## Config Options These are the customisation options specific to Polar Area charts. These options are merged with the [global chart default options](#default-options), and form the options of the chart. From 880bddcfe41cfa363b90fe299a4d4b3fc8476e09 Mon Sep 17 00:00:00 2001 From: etimberg Date: Fri, 11 Jan 2019 07:50:21 -0500 Subject: [PATCH 5/5] Address code review comments in polarArea and doughnut controllers --- src/controllers/controller.doughnut.js | 2 +- src/controllers/controller.polarArea.js | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/controllers/controller.doughnut.js b/src/controllers/controller.doughnut.js index 6c00e83251f..21e23ebcae8 100644 --- a/src/controllers/controller.doughnut.js +++ b/src/controllers/controller.doughnut.js @@ -174,7 +174,7 @@ module.exports = DatasetController.extend({ } for (i = 0, ilen = arcs.length; i < ilen; ++i) { - arcs[i]._options = me._resolveElementOptions(arcs[i], i, reset); + arcs[i]._options = me._resolveElementOptions(arcs[i], i); } chart.borderWidth = me.getMaxBorderWidth(); diff --git a/src/controllers/controller.polarArea.js b/src/controllers/controller.polarArea.js index 93051c47451..19ceefddab7 100644 --- a/src/controllers/controller.polarArea.js +++ b/src/controllers/controller.polarArea.js @@ -138,10 +138,7 @@ module.exports = DatasetController.extend({ } for (i = 0, ilen = arcs.length; i < ilen; ++i) { - arcs[i]._options = me._resolveElementOptions(arcs[i], i, reset); - } - - for (i = 0, ilen = arcs.length; i < ilen; ++i) { + arcs[i]._options = me._resolveElementOptions(arcs[i], i); me.updateElement(arcs[i], i, reset); } },