Viz framework: bigwig fixes and remove unnecessary type casting.

This commit is contained in:
Jeremy Goecks
2012-07-19 10:59:20 -04:00
parent 5756d21059
commit 6a591eb48b
3 changed files with 27 additions and 22 deletions
+1 -2
View File
@@ -4266,9 +4266,8 @@ extend(LineTrack.prototype, Drawable.prototype, TiledTrack.prototype, {
},
predraw_init: function() {
var track = this;
track.vertical_range = undefined;
return $.getJSON( track.data_url, { stats: true, chrom: track.view.chrom, low: null, high: null,
return $.getJSON( track.data_url, { stats: true, chrom: track.view.chrom, low: 0, high: track.view.max_high,
hda_ldda: track.hda_ldda, dataset_id: track.dataset_id }, function(result) {
track.container_div.addClass( "line-track" );
var data = result.data;