Skip to content

Commit

Permalink
feat: resize heightmap to get a better heightmap overview (mainsail-c…
Browse files Browse the repository at this point in the history
  • Loading branch information
meteyou authored and 4rnoP committed Dec 13, 2023
1 parent 1cf4f69 commit cc95a65
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/pages/Heightmap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
</v-col>
</v-row>
<v-row>
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
}
Expand Down

0 comments on commit cc95a65

Please sign in to comment.