Skip to content

Commit

Permalink
pie chart legend animations are broke. will fix later
Browse files Browse the repository at this point in the history
  • Loading branch information
rzurad committed Oct 25, 2011
1 parent e3b6967 commit 40ad26a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/piechart2.html
Expand Up @@ -19,14 +19,14 @@

if (this.label) {
this.label[0].stop();
this.label[0].scale(1.5);
//this.label[0].scale(1.5, 1.5, this.label[0].attrs.cx, this.label[0].attrs.cy);
this.label[1].attr({ "font-weight": 800 });
}
}, function () {
this.sector.animate({ transform: 's1 1 ' + this.cx + ' ' + this.cy] }, 500, "bounce");
this.sector.animate({ transform: 's1 1 ' + this.cx + ' ' + this.cy }, 500, "bounce");

if (this.label) {
this.label[0].animate({ transform: '' }, 500, "bounce");
//this.label[0].animate({ transform: 's' + 1 / 1.5 + ' ' + 1 / 1.5 + ' ' + this.label[0].attrs.cx + ' ' + this.label[0].attrs.cy }, 500, "bounce");
this.label[1].attr({ "font-weight": 400 });
}
});
Expand Down

0 comments on commit 40ad26a

Please sign in to comment.