Skip to content

Commit

Permalink
version 1.19.1, fixed undefined variable, svg download, and cat title…
Browse files Browse the repository at this point in the history
… length
  • Loading branch information
cornhundred committed Aug 13, 2017
1 parent 4af8512 commit 36621ea
Show file tree
Hide file tree
Showing 9 changed files with 1,494 additions and 2,335 deletions.
1,874 changes: 726 additions & 1,148 deletions clustergrammer.js

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions clustergrammer.min.js

Large diffs are not rendered by default.

1,904 changes: 741 additions & 1,163 deletions clustergrammer.node.js

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions clustergrammer.node.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "clustergrammer",
"version": "v1.19.0",
"version": "v1.19.1",
"description": "This is a clustergram implemented in D3.js. I started from the example http://bost.ocks.org/mike/miserables/ and added the following features",
"main": "clustergrammer.node.js",
"scripts": {
Expand Down
4 changes: 3 additions & 1 deletion src/dendrogram/make_cat_breakdown_graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = function make_cat_breakdown_graph(params, inst_rc, inst_data, d
var width = 370;
var bar_offset = 23;
var bar_height = 20;
var max_string_length = 30;
var max_string_length = 25;
var bar_width = 180;
var title_height = 27;
var shift_tooltip_left = 177;
Expand Down Expand Up @@ -133,6 +133,8 @@ module.exports = function make_cat_breakdown_graph(params, inst_rc, inst_data, d
inst_title = inst_title.slice(0, max_string_length) + '..';
}

console.log(inst_title)

// make title
cat_graph_group
.append('text')
Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var awesomplete = require('awesomplete');
require('!style!css!./d3.slider/d3.slider.css');
require('!style!css!awesomplete/awesomplete.css');

/* clustergrammer v1.19.0
/* clustergrammer v1.19.1
* Nicolas Fernandez, Ma'ayan Lab, Icahn School of Medicine at Mount Sinai
* (c) 2017
*/
Expand Down
1 change: 1 addition & 0 deletions src/params/make_cat_params.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ module.exports = function make_cat_params(params, viz, predefined_cat_colors=tru

_.each(cat_instances_titles, function(inst_cat){

var new_cat;
if (inst_cat.indexOf(': ') >0){
new_cat = inst_cat.split(': ')[1];
} else {
Expand Down
2 changes: 1 addition & 1 deletion src/sidebar/make_icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ module.exports = function make_icons(cgm, sidebar){

d3.select(params.root+' .expand_button').style('opacity',0);

var html = d3.select(params.root+" svg")
var html = d3.select(params.root+" .viz_svg")
.attr("title", "test2")
.attr("version", 1.1)
.attr("xmlns", "http://www.w3.org/2000/svg")
Expand Down

0 comments on commit 36621ea

Please sign in to comment.