[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.birt] Re: Chaning thousand separator

Ralf,

You could add a chart script like:

function beforeDrawDataPointLabel( dph, label, icsc )
{
var newlabel = label.getCaption().getValue().replace(",", "'");
label.getCaption().setValue(newlabel);
}

This assumes that a comma is used currently as your separator.

Jason

Ralf Grewe wrote:
Hello!

I want to use a different thousand separator for the seris labels in a
chart. I've seen that you can specify a number pattern in order to format
the numbers. Nevertheless I haven't figured out a pattern which changes the
thousand separator, e.g. I want to use a apostrophe: 23'432'123. Is there
any way to do this?


Thanks Ralf