Showing
4 changed files
with
9 additions
and
3 deletions
This diff could not be displayed because it is too large.
@@ -12,7 +12,7 @@ | @@ -12,7 +12,7 @@ | ||
12 | <html> | 12 | <html> |
13 | <head> | 13 | <head> |
14 | <jsp:include page="/jsp/common/include.jsp" flush="true"/> | 14 | <jsp:include page="/jsp/common/include.jsp" flush="true"/> |
15 | - <script src="https://gw.alipayobjects.com/as/g/datavis/g6/1.1.6/index.js"></script> | 15 | + <script src="<%=basePath %>js/antv/antv-g6-1.1.6.js" charset="UTF-8" type="text/javascript"></script> |
16 | <script> | 16 | <script> |
17 | var contextPath = '<%=basePath %>'; | 17 | var contextPath = '<%=basePath %>'; |
18 | </script> | 18 | </script> |
@@ -12,7 +12,8 @@ | @@ -12,7 +12,8 @@ | ||
12 | <html> | 12 | <html> |
13 | <head> | 13 | <head> |
14 | <jsp:include page="/jsp/common/include.jsp" flush="true"/> | 14 | <jsp:include page="/jsp/common/include.jsp" flush="true"/> |
15 | - <script src="https://gw.alipayobjects.com/as/g/datavis/g6/1.1.6/index.js"></script> | 15 | + <%--<script src="https://gw.alipayobjects.com/as/g/datavis/g6/1.1.6/index.js"></script>--%> |
16 | + <script src="<%=basePath %>js/antv/antv-g6-1.1.6.js" charset="UTF-8" type="text/javascript"></script> | ||
16 | <script> | 17 | <script> |
17 | var contextPath = '<%=basePath %>'; | 18 | var contextPath = '<%=basePath %>'; |
18 | </script> | 19 | </script> |
@@ -58,6 +59,11 @@ | @@ -58,6 +59,11 @@ | ||
58 | </script> | 59 | </script> |
59 | <script type="text/javascript"> | 60 | <script type="text/javascript"> |
60 | 61 | ||
62 | + var nodeStyle = { | ||
63 | + fill:"#00A263", | ||
64 | + lineWidth: 1 | ||
65 | + }; | ||
66 | + | ||
61 | // 第一步:获取数据 | 67 | // 第一步:获取数据 |
62 | var data=[]; | 68 | var data=[]; |
63 | if(${antvData}){ | 69 | if(${antvData}){ |
@@ -12,7 +12,7 @@ | @@ -12,7 +12,7 @@ | ||
12 | <html> | 12 | <html> |
13 | <head> | 13 | <head> |
14 | <jsp:include page="/jsp/common/include.jsp" flush="true"/> | 14 | <jsp:include page="/jsp/common/include.jsp" flush="true"/> |
15 | - <script src="https://gw.alipayobjects.com/as/g/datavis/g6/1.1.6/index.js"></script> | 15 | + <script src="<%=basePath %>js/antv/antv-g6-1.1.6.js" charset="UTF-8" type="text/javascript"></script> |
16 | <script> | 16 | <script> |
17 | var contextPath = '<%=basePath %>'; | 17 | var contextPath = '<%=basePath %>'; |
18 | </script> | 18 | </script> |
-
Please register or login to post a comment