Commit d4ebbdd1 authored by Leo Iannacone's avatar Leo Iannacone

stop effect properly on mouse leave-entry - speed up effect

parent e7aa8493
......@@ -162,9 +162,9 @@ function Page_History() {
value = $point.attr('ct:value'),
seriesName = $point.parent().attr('ct:series-name');
$point.animate({
$point.stop().animate({
'stroke-width': '20px'
}, 300, effect);
}, 200, effect);
$toolTip.find('.tooltip-inner').html(seriesName + ' (' + value + ')');
$toolTip.show();
});
......@@ -172,9 +172,9 @@ function Page_History() {
$chart.on('mouseleave', '.ct-point', function () {
var $point = $(this);
$point.animate({
$point.stop().animate({
'stroke-width': '10px'
}, 300, effect);
}, 150, effect);
$toolTip.hide();
});
......
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