summaryrefslogtreecommitdiff
path: root/python/gras/query/chart_overall_throughput.js
diff options
context:
space:
mode:
authorJosh Blum2013-03-27 03:09:31 -0500
committerJosh Blum2013-03-27 03:09:31 -0500
commite344e8da8af6c8c4612a6d932f5efad653b95d78 (patch)
tree685ca14f3691bb5df5a3963f481dc768643f54a2 /python/gras/query/chart_overall_throughput.js
parent3868f8f0156e9e936c39908e43762273be2d4e51 (diff)
downloadsandhi-e344e8da8af6c8c4612a6d932f5efad653b95d78.tar.gz
sandhi-e344e8da8af6c8c4612a6d932f5efad653b95d78.tar.bz2
sandhi-e344e8da8af6c8c4612a6d932f5efad653b95d78.zip
gras: using jquery ui draggable and resizable
Diffstat (limited to 'python/gras/query/chart_overall_throughput.js')
-rw-r--r--python/gras/query/chart_overall_throughput.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/gras/query/chart_overall_throughput.js b/python/gras/query/chart_overall_throughput.js
index 61361dc..7b99fa4 100644
--- a/python/gras/query/chart_overall_throughput.js
+++ b/python/gras/query/chart_overall_throughput.js
@@ -15,6 +15,7 @@ function GrasChartOverallThroughput(args)
this.title = "Overall Throughput vs Time in MIps";
this.history = new Array();
+ this.default_width = 2*GRAS_CHARTS_STD_WIDTH;
}
GrasChartOverallThroughput.prototype.update = function(point)
@@ -38,7 +39,6 @@ GrasChartOverallThroughput.prototype.update = function(point)
var chart_data = google.visualization.arrayToDataTable(data_set);
var options = {
- width:GRAS_CHARTS_STD_WIDTH*2,
legend: {'position': 'bottom'},
};
this.chart.draw(chart_data, options);