Delimiting aggregate output in JIT/infovis

50 views Asked by At

I'm using JIT to create an area chart, but I'd like to delimit the aggregates by commas because I'm working with rather large numbers. At the moment the output is like 26103426, etc, but I would like to format it as 26,103,426. Is there a built-in way to do this?

edit: someValue.toLocaleString() would be perfect but I don't have access to the aggregate data as it's created in the jit.js source - I'm wondering if there's a way to do this where I don't need to drill into the source code and complicate my life/threaten my sanity when I download a new version in the future.

0

There are 0 answers