I am trying to return a custom tooltip on my statuschart with the following piece of code in the getToolTipText() extension function but it does return the default tool tip.
startDate = system.date.fromMillis(selectedTimeStamp)
endDateCalc = self.selectedTimeStamp + self.timeDiff
endDate = system.date.fromMillis(endDateCalc)
customString = (startDate,endDate,selectedStatus)
If I get rid of all the lines and leave the lines as below it works but the date is not really readable.
customString = (selectedTimeStamp,timeDiff,selectedStatus)
Could you point me in the right direction, please? Thanks!