From fc0a056fee9d33b20883bdf449493baf4d7acec6 Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Thu, 27 Feb 2020 16:37:36 -0800 Subject: [PATCH] Remove position defaults (#7165) --- src/controllers/controller.bubble.js | 6 ++---- src/controllers/controller.horizontalBar.js | 2 -- src/controllers/controller.scatter.js | 6 ++---- 3 files changed, 4 insertions(+), 10 deletions(-) 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' } }, -- 2.47.2