mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Changed zoom on graphs
Changed graph title Fixed flake errors
This commit is contained in:
@@ -43,7 +43,7 @@ function create_chart( inp_data, name, time, title ) {
|
||||
require( ["d3"], function (e) {
|
||||
var data = inp_data;
|
||||
var margin = {top: 60, right: 30, bottom: 50, left: 60};
|
||||
var chart_zoom = 1.8;
|
||||
var chart_zoom = 1.75;
|
||||
|
||||
function click() {
|
||||
var classes = d3.select(this).attr("class");
|
||||
@@ -255,7 +255,7 @@ function create_histogram( inp_data, name, time, title ) {
|
||||
require( ["d3"], function (e) {
|
||||
//inp_data is an array of numbers that are the amount of minutes per run
|
||||
var data = inp_data;
|
||||
var chart_zoom = 1.8;
|
||||
var chart_zoom = 1.75;
|
||||
// Formatters for counts and times (converting numbers to Dates).
|
||||
function click(d) {
|
||||
var classes = d3.select(this).attr("class")
|
||||
|
||||
@@ -104,7 +104,7 @@ class HomePage( BaseUIController, ReportQueryBuilder ):
|
||||
day = (end_day + month_range) - start_day
|
||||
else:
|
||||
day = end_day - start_day
|
||||
|
||||
|
||||
if(day < 30):
|
||||
jf_dy_data[int(day)] += 1
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -16,7 +16,7 @@
|
||||
create_chart( ${jc_hr_data}, "jc_hr_chart", "hours", "Jobs Created per Hour" );
|
||||
create_chart( ${jc_dy_data}, "jc_dy_chart", "days", "Jobs Created per Day" );
|
||||
create_histogram( ${et_hr_data}, "et_hr_chart", "delta-hours", "Job Run Times (past day)" );
|
||||
create_histogram( ${et_dy_data}, "et_dy_chart", "days", "Job Run Time (past 3 days)" );
|
||||
create_histogram( ${et_dy_data}, "et_dy_chart", "days", "Job Run Time (past 30 days)" );
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user