Created
March 26, 2014 12:58
-
-
Save florin-chelaru/9782509 to your computer and use it in GitHub Desktop.
This file contains 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