Skip to content

Commit

Permalink
chart resize issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
saivivek116 committed Mar 8, 2024
1 parent 32160d1 commit 5b418d3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions src/main/resources/static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,11 @@ form .progress {

}

#process-chart-container{
position: relative;
width: 100%;
}

.subtab {
overflow: hidden;
border: 1px solid #ccc;
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/static/js/gw.history.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,8 @@ GW.history = {

content =
// "<h4 class=\"border-bottom\">History Section <button type=\"button\" class=\"btn btn-secondary btn-sm\" id=\"closeHistory\" >close</button></h4>"+
"<div id=\"process-chart-container\" width=\"200\" height=\"100\">"+
"<canvas id=\"process-history-chart\" style=\"width:200px !important; height:50px !important;\" ></canvas>"+
"<div id=\"process-chart-container\">"+
"<canvas id=\"process-history-chart\"></canvas>"+
"</div>" + content ;

return content;
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/static/js/gw.process.js
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ GW.process = {
*/
history: function(pid, pname, ){

GW.process.util.history(pid, "#process-history-container", 'process_history_table',
GW.process.util.history(pid, "#process-history-container", '#process_history_table',
"#closeHistory", "main-process-info-history-tab", "main-process-info-history")

},
Expand Down

0 comments on commit 5b418d3

Please sign in to comment.