From af959d1c5202560e8d735490330d508c4d6c1a65 Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Wed, 13 Dec 2023 21:40:14 +0100 Subject: [PATCH] feat: resize heightmap to get a better heightmap overview (#1683) --- src/pages/Heightmap.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/pages/Heightmap.vue b/src/pages/Heightmap.vue index f193982fa..062ac7b15 100644 --- a/src/pages/Heightmap.vue +++ b/src/pages/Heightmap.vue @@ -89,7 +89,7 @@ ref="heightmap" :option="chartOptions" :init-options="{ renderer: 'canvas' }" - style="height: 400px; width: 100%; overflow: hidden" /> + style="height: 600px; width: 100%; overflow: hidden" /> @@ -546,7 +546,7 @@ export default class PageHeightmap extends Mixins(BaseMixin, ControlMixin) { top: 20, bottom: 0, itemWidth: this.isMobile ? 10 : 30, - itemHeight: 350, + itemHeight: 550, precision: 3, textStyle: { color: this.colorVisualMap, @@ -619,6 +619,9 @@ export default class PageHeightmap extends Mixins(BaseMixin, ControlMixin) { }, boxWidth: 100 * this.scaleX, boxDepth: 100 * this.scaleY, + viewControl: { + distance: 150, + }, }, series: this.series, }