refactor: style heightmap tooltip
Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
parent
5e865aa670
commit
62f95cddf5
@ -244,6 +244,13 @@ export default class PageHeightmap extends Mixins(BaseMixin) {
|
|||||||
get chartOptions() {
|
get chartOptions() {
|
||||||
return {
|
return {
|
||||||
tooltip: {
|
tooltip: {
|
||||||
|
backgroundColor: 'rgba(0,0,0,0.9)',
|
||||||
|
borderWidth: 0,
|
||||||
|
textStyle: {
|
||||||
|
color: '#fff',
|
||||||
|
fontSize: '14px'
|
||||||
|
},
|
||||||
|
padding: 15,
|
||||||
formatter: this.tooltipFormatter
|
formatter: this.tooltipFormatter
|
||||||
},
|
},
|
||||||
darkMode: true,
|
darkMode: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user