Skip to content

Commit

Permalink
commenting
Browse files Browse the repository at this point in the history
  • Loading branch information
toorshia committed Jan 23, 2013
1 parent 573cbe9 commit 58ee3e0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions justgage.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
// titleFontColor : string
// color of gauge title
titleFontColor : (config.titleFontColor) ? config.titleFontColor : "#999999",

// value : int
// value gauge is showing
value : (config.value) ? config.value : 0,
Expand Down Expand Up @@ -548,12 +548,15 @@
// var clear
defs, svg = null;

// animate
// animate gauge level
this.level.animate({pki: [this.config.value, this.config.min, this.config.max, this.params.widgetW, this.params.widgetH, this.params.dx, this.params.dy, this.config.gaugeWidthScale, this.config.donut]}, this.config.startAnimationTime, this.config.startAnimationType);

// show value
if (!this.config.hideValue) {
this.txtValue.animate({"fill-opacity":"1"}, this.config.startAnimationTime, this.config.startAnimationType);
}

// show label
this.txtLabel.animate({"fill-opacity":"1"}, this.config.startAnimationTime, this.config.startAnimationType);
};

Expand Down

0 comments on commit 58ee3e0

Please sign in to comment.