Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lower default value of grid z index so it draws behind chart elements (…
- Loading branch information
1 parent
0094a58
commit 259f8e8
Showing
3 changed files
with
50 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
module.exports = { | ||
config: { | ||
type: 'bubble', | ||
data: { | ||
datasets: [ | ||
{ | ||
label: '# of Votes', | ||
data: [{x: 19, y: 3, r: 3}, {x: 2, y: 2, r: 60}], | ||
radius: 100, | ||
backgroundColor: 'pink' | ||
} | ||
] | ||
}, | ||
options: { | ||
plugins: { | ||
legend: { | ||
display: false | ||
} | ||
}, | ||
scales: { | ||
y: { | ||
ticks: { | ||
display: false | ||
}, | ||
grid: { | ||
borderColor: 'red', | ||
borderWidth: 5 | ||
} | ||
}, | ||
x: { | ||
ticks: { | ||
display: false | ||
}, | ||
grid: { | ||
borderColor: 'red', | ||
borderWidth: 5 | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
|
||
options: { | ||
canvas: { | ||
height: 512, | ||
width: 512 | ||
} | ||
} | ||
}; |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.