From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Fri, 28 Feb 2020 00:37:36 +0000 (-0800) Subject: Remove position defaults (#7165) X-Git-Tag: v3.0.0-alpha~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc0a056fee9d33b20883bdf449493baf4d7acec6;p=thirdparty%2FChart.js.git Remove position defaults (#7165) --- diff --git a/src/controllers/controller.bubble.js b/src/controllers/controller.bubble.js index 2cad42c24..86faedce9 100644 --- a/src/controllers/controller.bubble.js +++ b/src/controllers/controller.bubble.js @@ -11,12 +11,10 @@ defaults.set('bubble', { }, scales: { x: { - type: 'linear', - position: 'bottom' + type: 'linear' }, y: { - type: 'linear', - position: 'left' + type: 'linear' } }, diff --git a/src/controllers/controller.horizontalBar.js b/src/controllers/controller.horizontalBar.js index e406a165b..d573412ac 100644 --- a/src/controllers/controller.horizontalBar.js +++ b/src/controllers/controller.horizontalBar.js @@ -10,12 +10,10 @@ defaults.set('horizontalBar', { scales: { x: { type: 'linear', - position: 'bottom', beginAtZero: true }, y: { type: 'category', - position: 'left', offset: true, gridLines: { offsetGridLines: true diff --git a/src/controllers/controller.scatter.js b/src/controllers/controller.scatter.js index db3e984bd..8acbac025 100644 --- a/src/controllers/controller.scatter.js +++ b/src/controllers/controller.scatter.js @@ -4,12 +4,10 @@ import defaults from '../core/core.defaults'; defaults.set('scatter', { scales: { x: { - type: 'linear', - position: 'bottom' + type: 'linear' }, y: { - type: 'linear', - position: 'left' + type: 'linear' } },