This commit is contained in:
syuilo 2019-02-09 12:43:26 +09:00
parent bf79537f38
commit 249bc659a2

View File

@ -317,6 +317,9 @@ export default Vue.extend({
curve: 'straight', curve: 'straight',
width: 2 width: 2
}, },
tooltip: {
theme: this.$store.state.device.darkmode ? 'dark' : 'light'
},
legend: { legend: {
labels: { labels: {
colors: tinycolor(getComputedStyle(document.documentElement).getPropertyValue('--text')).toRgbString() colors: tinycolor(getComputedStyle(document.documentElement).getPropertyValue('--text')).toRgbString()