Thousands Separator


(Raj Rangaswamy) #1

Hi,

Is there a way to get the thousands separator for huge numbers? I know the latest version of piwik has the thousands separator showing up in the charts, but not in the table.
Note: I tried applying the number_format() function in php, but the sorting gets messed up because values like 20,000 are treated like a string and not a number anymore.
Is there a way I can apply the number formatting only while displaying it in the table and not change the value in the datatable object?
Also the tooltip for the charts does not show the thousands separator. Is there a way to enable that?

Thanks,
Raj


(vipsoft) #2

The thousands separator in the charts is an Open Flash Chart feature. It’ll take a bit more work to realize that elsewhere.