Profile
Achievement
uberdragon's Recent JavaScript Snippets
- All /
« Prev 1 Next »
A quick function that makes it easy to convert an integer into a number string with commas inserted.
0
631
posted 10 years ago by uberdragon
Usage:
var a = ['a','a','a'];
var b = a.AllValuesSame(): //true
var a ['1','1','2'];
var b = a.AllValuesSame(); //false
0
2037
posted 10 years ago by uberdragon
This will calculate the ticks for google charts so that you can have a chart with a defined height, and still represent large data ranges with out all the vertical information getting bunched up together.
0
565
posted 10 years ago by uberdragon