Commit eae9abb9 authored by Daria Zenkova's avatar Daria Zenkova

fixed size of chart + removed redundant button

parent 0fd7adf5
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -335,7 +335,7 @@ morpheus.PcaPlotTool.prototype = {
console.log(arguments);
var req = ocpu.call("pcaPlot", arguments, function (session) {
var img = $('<img />', {src : session.getLoc() + 'graphics/1/png'});
var img = $('<img />', {src : session.getLoc() + 'graphics/1/png', style : "width:720px;height:540px"});
_this.$chart.prepend(img);
});
req.fail(function () {
......
......@@ -250,19 +250,21 @@ morpheus.HeatMapToolBar = function (controller) {
toolbarHtml.push('<div class="morpheus-button-divider"></div>');
toolbarHtml.push('<button type="button" class="btn btn-default btn-xs" data-toggle="tooltip" title="PCAPlot" name="pca">PCA</button>');
toolbarHtml.push('<div class="morpheus-button-divider"></div>');/*
toolbarHtml.push('<button type="button" class="btn btn-default btn-xs" data-toggle="tooltip" title="create ExpressionSet" name="es">ES</button>');
*/
$buttons.on('click', '[name=pca]', function () {
console.log("test button clicked");
controller.getProject().getFullDataset().setESSession();
new morpheus.PcaPlotTool({project : controller.getProject()});
});
$buttons.on('click', '[name=es]', function () {
/*$buttons.on('click', '[name=es]', function () {
console.log("es button clicked");
var session = controller.getProject().getFullDataset().getESSession();
});
});*/
var $lineOneColumn = $el.find('[data-name=lineOneColumn]');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment