[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.birt] Re: Chaning thousand separator
|
- From: Jason Weathersby <jasonweathersby@xxxxxxxxxx>
- Date: Thu, 06 Nov 2008 12:22:13 -0500
- Newsgroups: eclipse.birt
- Organization: EclipseCorner
- User-agent: Thunderbird 2.0.0.17 (Windows/20080914)
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