refactor: style heightmap tooltip

Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
Stefan Dej committed 2021-12-19 21:11:10 +01:00
1 parent 5e865aa670
commit 62f95cddf5
1 file changed
+7
+7
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,