Added interaction configs
This commit is contained in:
parent
0bf03a5f87
commit
7c2b23150d
|
@ -66,6 +66,12 @@ export default {
|
||||||
return {
|
return {
|
||||||
responsive: true,
|
responsive: true,
|
||||||
maintainAspectRatio: false,
|
maintainAspectRatio: false,
|
||||||
|
|
||||||
|
interaction: {
|
||||||
|
intersect: false,
|
||||||
|
axis: 'x',
|
||||||
|
mode: 'index'
|
||||||
|
},
|
||||||
scales: {
|
scales: {
|
||||||
y: {
|
y: {
|
||||||
beginAtZero: true,
|
beginAtZero: true,
|
||||||
|
|
|
@ -64,7 +64,10 @@ export default {
|
||||||
return {
|
return {
|
||||||
responsive: true,
|
responsive: true,
|
||||||
maintainAspectRatio: false,
|
maintainAspectRatio: false,
|
||||||
|
interaction: {
|
||||||
|
intersect: false,
|
||||||
|
axis: 'x'
|
||||||
|
},
|
||||||
scales: {
|
scales: {
|
||||||
y: {
|
y: {
|
||||||
beginAtZero: true,
|
beginAtZero: true,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user