refactor: style heightmap tooltip

Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
Stefan Dej 2021-12-19 21:11:10 +01:00
parent 5e865aa670
commit 62f95cddf5
No known key found for this signature in database
GPG Key ID: 5D3A5823133D2246

View File

@ -244,6 +244,13 @@ export default class PageHeightmap extends Mixins(BaseMixin) {
get chartOptions() {
return {
tooltip: {
backgroundColor: 'rgba(0,0,0,0.9)',
borderWidth: 0,
textStyle: {
color: '#fff',
fontSize: '14px'
},
padding: 15,
formatter: this.tooltipFormatter
},
darkMode: true,