]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Remove position defaults (#7165)
authorBen McCann <322311+benmccann@users.noreply.github.com>
Fri, 28 Feb 2020 00:37:36 +0000 (16:37 -0800)
committerGitHub <noreply@github.com>
Fri, 28 Feb 2020 00:37:36 +0000 (19:37 -0500)
src/controllers/controller.bubble.js
src/controllers/controller.horizontalBar.js
src/controllers/controller.scatter.js

index 2cad42c2463a41e6b1e7fad675b439344412abe6..86faedce91db7b1291832f417a56ae3dd46e292b 100644 (file)
@@ -11,12 +11,10 @@ defaults.set('bubble', {
        },
        scales: {
                x: {
-                       type: 'linear',
-                       position: 'bottom'
+                       type: 'linear'
                },
                y: {
-                       type: 'linear',
-                       position: 'left'
+                       type: 'linear'
                }
        },
 
index e406a165b49d8657e37e3a99cd4bc9af53d69446..d573412acca28a6bed2848f0196b6e05c46d9f46 100644 (file)
@@ -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
index db3e984bd94d8665ff2307c20c6d9254f03f0f10..8acbac025b1996f0e848abacd7c653fa84b8b39d 100644 (file)
@@ -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'
                }
        },