Commit 0068e9d5 authored by Mikaël Salson's avatar Mikaël Salson
Browse files

scatterplot: Bar view adapts depending on active clones

When major clones are hidden (filtered out) the bars may be quite small
making the differences hard to view. Now the scale of the bar plot is
scaled depending on the active clones.
parent 1849a1bb
......@@ -732,7 +732,8 @@ ScatterPlot.prototype = {
if (typeof values == "undefined"){
for (var i in this.m.clones) {
var clone = this.m.clone(i)
if (!this.use_system_grid || (this.use_system_grid && this.m.germlineV.system == clone.get('germline') ) ){
if ((!this.use_system_grid || (this.use_system_grid && this.m.germlineV.system == clone.get('germline') ))
&& clone.isActive()){
var v;
try{
var v = fct(i);
......@@ -759,7 +760,8 @@ ScatterPlot.prototype = {
for (var i in this.m.clones) {
var clone = this.m.clone(i)
if (!this.use_system_grid || (this.use_system_grid && this.m.germlineV.system == clone.get('germline') ) ){
if ((!this.use_system_grid || (this.use_system_grid && this.m.germlineV.system == clone.get('germline') ))
&& clone.isActive()){
var v;
try{
var v = fct(i);
......
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