Skip to content

Commit

Permalink
use local plotly lib
Browse files Browse the repository at this point in the history
  • Loading branch information
mkevac committed Dec 22, 2019
1 parent 8019d08 commit 449bb6f
Show file tree
Hide file tree
Showing 5 changed files with 115 additions and 47 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -22,3 +22,4 @@ _testmain.go
*.exe
*.test
*.prof
.idea
151 changes: 105 additions & 46 deletions bindata/bindata.go

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions debugcharts.go
Expand Up @@ -178,6 +178,7 @@ func init() {
http.HandleFunc("/debug/charts/", handleAsset("static/index.html"))
http.HandleFunc("/debug/charts/main.js", handleAsset("static/main.js"))
http.HandleFunc("/debug/charts/jquery-2.1.4.min.js", handleAsset("static/jquery-2.1.4.min.js"))
http.HandleFunc("/debug/charts/plotly-1.51.3.min.js", handleAsset("static/plotly-1.51.3.min.js"))
http.HandleFunc("/debug/charts/moment.min.js", handleAsset("static/moment.min.js"))

myProcess, _ = process.NewProcess(int32(os.Getpid()))
Expand Down
2 changes: 1 addition & 1 deletion static/index.html
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8" />
<script src="jquery-2.1.4.min.js"></script>
<script src="moment.min.js"></script>
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
<script src="plotly-1.51.3.min.js"></script>
</head>
<body>
<div id="container1" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
Expand Down
7 changes: 7 additions & 0 deletions static/plotly-1.51.3.min.js

Large diffs are not rendered by default.

0 comments on commit 449bb6f

Please sign in to comment.