Commit 752d1cca authored by flothoni's avatar flothoni Committed by Mikaël Salson

graph.js; add a '*' to sample name in graph if focus given on it

Link to #4221 and !564
parent 9c70b2c5
......@@ -1063,6 +1063,8 @@ Graph.prototype = {
time_name = this.m.getStrTime(l);
if (time_name.length > maxchar+3) time_name = time_name.substring(0,maxchar)+" ..."
if (l == this.m.t) time_name = this.m.getStrTime(l);
// If focus on this sample only (todo: #4221; add an search icon, hard with d3js)
if (this.m.show_only_one_sample && l == this.m.t) time_name += " *"
d.type = "axis_v";
d.text = time_name;
......
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