This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
.page{position:relative;-ms-flex-direction:column;flex-direction:column;min-height:100vh} | |
.page-loading{background:center no-repeat;background-size:auto} | |
.js-hidden{display:none!important} | |
</style> | |
<div id="page-loading" class="page page-loading" style="background-image:url(../../img/loading-0.gif)"></div> | |
<div id="app" class="page js-hidden"> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
axisLabel : {//坐标轴刻度标签的相关设置。 | |
interval:0, | |
rotate:"45", | |
margin: 15,//刻度标签与轴线之间的距离。 | |
formatter : function(params){ | |
var newParamsName = "";// 最终拼接成的字符串 | |
var paramsNameNumber = params.length;// 实际标签的个数 | |
var provideNumber = 6;// 每行能显示的字的个数 | |
var rowNumber = Math.ceil(paramsNameNumber / provideNumber);// 换行的话,需要显示几行,向上取整 | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
Licensed to the Apache Software Foundation (ASF) under one | |
or more contributor license agreements. See the NOTICE file | |
distributed with this work for additional information | |
regarding copyright ownership. The ASF licenses this file | |
to you under the Apache License, Version 2.0 (the | |
"License"); you may not use this file except in compliance | |
with the License. You may obtain a copy of the License at |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"scripts": { | |
"start": "live-server --open=./ --port=9000 --proxy=/fhdd:http://127.0.0.1:8001/fhdd --proxy=/arcgis:http://10.3.250.139:8399/arcgis --proxy=/arcgis2:http://10.3.250.139:8399/arcgis" | |
} | |
// --open 启动服务器时打开指定的文件 | |
// --port 启动指定端口 | |
// --proxy 要跨域请求的域名和端口 |