Different number format support - Charts and graphs - Web Experience Toolkit (WET)
Default without any chart preset
Space thousand separator
WET Contribution from May 5 2012 to May 4 2013
Contributor |
Commits |
Additions |
Deletions |
pjackson28 |
1 713 |
1 483 907 |
928 648 |
nschonni |
506 |
90 412 |
72 797 |
LaurentGoderre |
398 |
52 983 |
29 957 |
duboisp |
289 |
168 976 |
106 100 |
patheard |
135 |
6 820 |
3 639 |
cfarquharson |
85 |
18 572 |
3 518 |
Comma thousand separator
WET Contribution from May 5 2012 to May 4 2013
Contributor |
Commits |
Additions |
Deletions |
pjackson28 |
1,713 |
1,483,907 |
928,648 |
nschonni |
506 |
90,412 |
72,797 |
LaurentGoderre |
398 |
52,983 |
29,957 |
duboisp |
289 |
168,976 |
106,100 |
patheard |
135 |
6,820 |
3,639 |
cfarquharson |
85 |
18,572 |
3,518 |
Dot thousand separator
WET Contribution from May 5 2012 to May 4 2013
Contributor |
Commits |
Additions |
Deletions |
pjackson28 |
1.713 |
1.483.907 |
928.648 |
nschonni |
506 |
90.412 |
72.797 |
LaurentGoderre |
398 |
52.983 |
29.957 |
duboisp |
289 |
168.976 |
106.100 |
patheard |
135 |
6.820 |
3.639 |
cfarquharson |
85 |
18.572 |
3.518 |
Using Preset
Comma thousand separator (wb-charts-usnumber
)
WET Contribution from May 5 2012 to May 4 2013
Contributor |
Commits |
Additions |
Deletions |
pjackson28 |
1,713 |
1,483,907 |
928,648 |
nschonni |
506 |
90,412 |
72,797 |
LaurentGoderre |
398 |
52,983 |
29,957 |
duboisp |
289 |
168,976 |
106,100 |
patheard |
135 |
6,820 |
3,639 |
cfarquharson |
85 |
18,572 |
3,518 |
Dot thousand separator (wb-charts-germannumber
)
WET Contribution from May 5 2012 to May 4 2013
Contributor |
Commits |
Additions |
Deletions |
pjackson28 |
1.713 |
1.483.907 |
928.648 |
nschonni |
506 |
90.412 |
72.797 |
LaurentGoderre |
398 |
52.983 |
29.957 |
duboisp |
289 |
168.976 |
106.100 |
patheard |
135 |
6.820 |
3.639 |
cfarquharson |
85 |
18.572 |
3.518 |
Custom thousand separator (wb-charts-specialthousandseparator
)
WET Contribution from May 5 2012 to May 4 2013
Contributor |
Commits |
Additions |
Deletions |
pjackson28 |
1N713 |
1N483N907 |
928N648 |
nschonni |
506 |
90N412 |
72N797 |
LaurentGoderre |
398 |
52N983 |
29N957 |
duboisp |
289 |
168N976 |
106N100 |
patheard |
135 |
6N820 |
3N639 |
cfarquharson |
85 |
18N572 |
3N518 |
Special thousand separator javascript
// Chart and graph - Declared in the current webpage
var wet_boew_charts = {
preset: {
specialthousandseparator: {
getcellvalue: function(elem){
var raw = $(elem).text().replace(/\s\s+/g, ' ').replace(/^\s+|\s+$/g, '').replace(/N/g, '');
return [parseFloat(raw.match(/[\+\-0-9]+[0-9,\. ]*/)), raw.match(/[^\+\-\.\, 0-9]+[^\-\+0-9]*/)];
}
}
}
}
- Date modified: