Skip to content

Commit

Permalink
Reverted tooltip configuration changes awaiting for chartjs/Chart.js#…
Browse files Browse the repository at this point in the history
…8059 to be fixed
  • Loading branch information
santam85 committed Nov 16, 2020
1 parent aacd28f commit d891459
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 45 deletions.
4 changes: 1 addition & 3 deletions samples/advanced/multiple-labels.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@

Chart.defaults.set('', {
aspectRatio: 4 / 3,
tooltips: {
enabled: false
},
tooltips: false,
layout: {
padding: {
top: 42,
Expand Down
4 changes: 1 addition & 3 deletions samples/charts/bar.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@

Chart.defaults.set('', {
aspectRatio: 4 / 3,
tooltips: {
enabled: false
},
tooltips: false,
layout: {
padding: {
top: 42,
Expand Down
4 changes: 1 addition & 3 deletions samples/charts/bubble.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@

Chart.defaults.set('', {
aspectRatio: 1,
tooltips: {
enabled: false
},
tooltips: false,
layout: {
padding: {
top: 42,
Expand Down
4 changes: 1 addition & 3 deletions samples/charts/doughnut.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@

Chart.defaults.set('', {
maintainAspectRatio: false,
tooltips: {
enabled: false
},
tooltips: false,
layout: {
padding: 32
},
Expand Down
4 changes: 1 addition & 3 deletions samples/charts/line.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@

Chart.defaults.set('', {
aspectRatio: 4 / 3,
tooltips: {
enabled: false
},
tooltips: false,
layout: {
padding: {
top: 42,
Expand Down
4 changes: 1 addition & 3 deletions samples/charts/polar.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@

Chart.defaults.set('', {
maintainAspectRatio: false,
tooltips: {
enabled: false
},
tooltips: false,
layout: {
padding: 16
},
Expand Down
4 changes: 1 addition & 3 deletions samples/charts/radar.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@

Chart.defaults.set('', {
maintainAspectRatio: false,
tooltips: {
enabled: false
},
tooltips: false,
layout: {
padding: 16
},
Expand Down
4 changes: 1 addition & 3 deletions samples/events/highlight.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@

Chart.defaults.set('', {
aspectRatio: 4 / 3,
tooltips: {
enabled: false
},
tooltips: false,
layout: {
padding: {
top: 42,
Expand Down
4 changes: 1 addition & 3 deletions samples/events/listeners.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@

Chart.defaults.set('', {
aspectRatio: 4 / 3,
tooltips: {
enabled: false
},
tooltips: false,
layout: {
padding: {
top: 42,
Expand Down
4 changes: 1 addition & 3 deletions samples/events/selection.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@

Chart.defaults.set('', {
aspectRatio: 4 / 3,
tooltips: {
enabled: false
},
tooltips: false,
layout: {
padding: {
top: 42,
Expand Down
4 changes: 1 addition & 3 deletions samples/scriptable/data.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@

Chart.defaults.set('', {
aspectRatio: 4 / 3,
tooltips: {
enabled: false
},
tooltips: false,
layout: {
padding: {
top: 32,
Expand Down
4 changes: 1 addition & 3 deletions samples/scriptable/dataset.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@

Chart.defaults.set('', {
aspectRatio: 4 / 3,
tooltips: {
enabled: false
},
tooltips: false,
layout: {
padding: {
top: 32,
Expand Down
4 changes: 1 addition & 3 deletions samples/scriptable/indices.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@

Chart.defaults.set('', {
aspectRatio: 4 / 3,
tooltips: {
enabled: false
},
tooltips: false,
layout: {
padding: {
top: 32,
Expand Down
4 changes: 1 addition & 3 deletions samples/scriptable/interactions.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@

Chart.defaults.set('', {
aspectRatio: 4 / 3,
tooltips: {
enabled: false
},
tooltips: false,
layout: {
padding: {
bottom: 25,
Expand Down
4 changes: 1 addition & 3 deletions samples/scriptable/mirror.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@

Chart.defaults.set('', {
aspectRatio: 4 / 3,
tooltips: {
enabled: false
},
tooltips: false,
layout: {
padding: {
top: 32,
Expand Down

0 comments on commit d891459

Please sign in to comment.