Esempio n. 1
0
 makeLabel: function () {
   const label = this.params.customLabel || this.getFieldDisplayName();
   return ordinalSuffix(this.key) + ' percentile of ' + label;
 }
Esempio n. 2
0
 it('knows ' + float, function () {
   expect(addOrdinalSuffix(num)).to.be(num + '' + expected);
 });
Esempio n. 3
0
 makeLabel: function () {
   return ordinalSuffix(this.key) + ' percentile of ' + this.fieldDisplayName();
 }