Created
November 21, 2013 02:39
-
-
Save hcorrada/7575230 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
* User: florin | |
* Date: 8/2/13 | |
* Time: | |
* Created by Llewellyn | |
*/ | |
ExonExpressionTrackHandler.prototype = new TrackTypeHandler({ | |
dataTypeHandler: new ProbeDataHandler(), | |
chartType: 'exonExpressionTrack', | |
chartTypeName: 'Exon Expression', | |
defaultHeight: 100 | |
}); | |
ExonExpressionTrackHandler.prototype.constructor = ExonExpressionTrackHandler; | |
function ExonExpressionTrackHandler() { | |
this.initializeControls(); | |
} | |
$(function() { | |
ChartFactory.instance.registerChartType(new ExonExpressionTrackHandler()); | |
}); | |
/* | |
* Constructor method: it creates a chart of the specified type | |
* | |
* Used in ChartManager._addChart() | |
*/ | |
ExonExpressionTrackHandler.prototype.createChart = function() { | |
return new ExonExpressionTrack(); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment