File tree Expand file tree Collapse file tree 4 files changed +576
-216
lines changed
Expand file tree Collapse file tree 4 files changed +576
-216
lines changed Original file line number Diff line number Diff line change 1111 < script src ="bower_components/jquery-ui/jquery-ui.min.js "> </ script >
1212 <!-- <script src="https://cdn.jsdelivr.net/npm/[email protected] /dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>--> 1313 < script src ="src/lib/bootstrap.bundle.js "> </ script >
14+ < script src ="https://cdn.jsdelivr.net/npm/luxon@3/build/global/luxon.min.js "> </ script >
1415 < script type ="text/javascript " src ="src/DataTables/datatables.min.js "> </ script >
1516</ head >
1617< body >
@@ -129,11 +130,21 @@ <h3 class="text-center processText">Center aligned text on all viewport sizes.</
129130 < li class ="nav-item demo ">
130131 < a class ="nav-link active " href ="index.html " target ="_blank "> Historical Data</ a >
131132 </ li >
132- < li class ="nav-item realtime ">
133+ <!-- < li class="nav-item realtime">
133134 <a class="nav-link" href="index.html?mode=realTime" target="_blank">RealTime</a>
135+ </li> -->
136+ < li class ="nav-item realtime ">
137+ < a class ="nav-link " href ="index.html?mode=realTime&type=cpu " target ="_blank ">
138+ RealTime CPU
139+ </ a >
140+ </ li >
141+ < li class ="nav-item realtime ">
142+ < a class ="nav-link " href ="index.html?mode=realTime&type=gpu " target ="_blank ">
143+ RealTime GPU
144+ </ a >
134145 </ li >
135146 </ ul >
136- </ form >
147+ </ form >
137148 </ nav >
138149<!-- <div class="container">-->
139150<!-- <div class="row align-items-center" style="margin-bottom: 20px">-->
Original file line number Diff line number Diff line change @@ -158,6 +158,7 @@ d3.TimeArc = function () {
158158 timeArc . init = function ( ) {
159159//---End Insert------
160160//Append a SVG to the body of the html page. Assign this SVG as an object to svg
161+
161162 svg . classed ( 'timearc' , true )
162163 . attr ( 'width' , graphicopt . width )
163164 . attr ( 'height' , graphicopt . height ) ;
Original file line number Diff line number Diff line change @@ -96,11 +96,13 @@ let TimeArcSetting = function (){
9696 } ;
9797
9898 master . draw = function ( ) {
99- if ( isFirst ) {
100- debugger
99+ // if (isFirst) {
100+ // debugger
101+ // master.init();
102+ // isFirst = false;
103+ // }
104+ d3 . select ( graphicopt . contain ) . selectAll ( '*' ) . remove ( ) ;
101105 master . init ( ) ;
102- isFirst = false ;
103- }
104106
105107 if ( filterTerm . length < 4000 || confirm ( `It will take long time to process ${ filterTerm . length } jobs. Continue?` ) ) {
106108 scheme . filterTerm = filterTerm ;
You can’t perform that action at this time.
0 commit comments