Skip to content

Commit

Permalink
Fix issue w3c#435
Browse files Browse the repository at this point in the history
  • Loading branch information
almossawi committed May 22, 2015
1 parent 4c0807f commit 54c8cf3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 14 deletions.
7 changes: 1 addition & 6 deletions dist/metricsgraphics.js
Expand Up @@ -2521,7 +2521,7 @@ MG.button_layout = function(target) {
.transition()
.duration(updateTransitionDuration);

if (!displayArea) {
if (!displayArea && args.transition_on_update) {
lineTransition.attrTween('d', path_tween(line(args.data[i]), 4));
} else {
lineTransition.attr('d', line(args.data[i]));
Expand Down Expand Up @@ -4550,11 +4550,6 @@ function process_line(args) {
else {
processed_data.push(existing_o);
}

//add the last data item
if (Date.parse(d) === Date.parse(new Date(last[args.x_accessor]))) {
processed_data.push(last);
}
}

//update our date object
Expand Down

0 comments on commit 54c8cf3

Please sign in to comment.