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',
width: 2
},
tooltip: {
theme: this.$store.state.device.darkmode ? 'dark' : 'light'
},
legend: {
labels: {
colors: tinycolor(getComputedStyle(document.documentElement).getPropertyValue('--text')).toRgbString()