mirror of https://github.com/MISP/MISP
chg: [decaying:tool] Handle is placed closer to t=0
parent
80f527ea16
commit
6be63d45a6
|
@ -223,8 +223,8 @@
|
|||
.append('circle')
|
||||
.attr('id', 'decayingGraphHandleDot')
|
||||
.attr('class', 'decayingGraphHandleDot useCursorPointer')
|
||||
.attr("cx", function(d) { return that.x(parseFloat($('#input_lifetime').val()/2)); })
|
||||
.attr("cy", function(d) { return that.y(that.getScore(parseInt($('#input_lifetime').val()/2))); })
|
||||
.attr("cx", function(d) { return that.x(parseFloat($('#input_lifetime').val()/4)); })
|
||||
.attr("cy", function(d) { return that.y(that.getScore(parseInt($('#input_lifetime').val()/4))); })
|
||||
.attr("r", 5)
|
||||
.call(this.drag);
|
||||
|
||||
|
@ -311,8 +311,8 @@
|
|||
|
||||
if (computeFromHandle === undefined) {
|
||||
this.svg.select('.decayingGraphHandleDot')
|
||||
.attr("cx", function(d) { return that.x(parseFloat($('#input_lifetime').val()/2)); })
|
||||
.attr("cy", function(d) { return that.y(that.getScore(parseFloat($('#input_lifetime').val()/2))); });
|
||||
.attr("cx", function(d) { return that.x(parseFloat($('#input_lifetime').val()/4)); })
|
||||
.attr("cy", function(d) { return that.y(that.getScore(parseFloat($('#input_lifetime').val()/4))); });
|
||||
}
|
||||
|
||||
this.svg.select(".axis-x")
|
||||
|
|
Loading…
Reference in New Issue