Properties
date
date: (Anonymous function) = ((date: Date): string => {return date.toLocaleDateString();})
datetime
datetime: (Anonymous function) = ((date: Date): string => {return date.toLocaleString();})
decimal
decimal: (Anonymous function) = ((val: number): string => {if (isNaN(val)) {return "N/A";}return val.toFixed(2);})
integer
integer: (Anonymous function) = ((val: number): string => {if (isNaN(val)) {return "N/A";}return val.toPrecision(0);})
preciseDecimal
preciseDecimal: (Anonymous function) = ((val: number): string => {if (isNaN(val)) {return "N/A";}return val.toPrecision(4);})
shortDate
shortDate: (Anonymous function) = ((date: Date): string => {return date.getDate() + '.' + (date.getMonth() + 1);})
time
time: (Anonymous function) = ((date: Date): string => {var mins = date.getMinutes() ? date.getMinutes() : '0';if (mins < 10) {mins = "0" + mins;}return date.getHours() + ':' + mins;})
yAxis
yAxis: (Anonymous function) = ((val: number): string => {val = parseFloat(val.toFixed(2));if (val === 0)return val.toString();if ((val / 1000000000000) >= 1)return (val / 1000000000000) + "T";if ((val / 1000000000) >= 1)return (val / 1000000000) + "B";if ((val / 1000000) >= 1)return (val / 1000000) + "M";if ((val / 1000) >= 1)return (val / 1000) + "k";return val.toString();})