Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Formatting graph axis values

2 posts in DataWindow Last posting was on 2009-12-16 09:07:24.0Z
Thomas Waldorff Posted on 2009-12-14 13:52:26.0Z
Sender: 6c3c.4b263f8d.1804289383@sybase.com
From: Thomas Waldorff
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Formatting graph axis values
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4b26431a.6c94.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 14 Dec 2009 05:52:26 -0800
X-Trace: forums-1-dub 1260798746 10.22.241.41 (14 Dec 2009 05:52:26 -0800)
X-Original-Trace: 14 Dec 2009 05:52:26 -0800, 10.22.241.41
Lines: 13
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:90435
Article PK: 410038

Hi
I'm using PB 10.2.9948
I have a bar chart (vertical bars) where the height of each
bar represents an amount of money. The amounts are typically
in the range 50000 to 500000. The vertical axis labels are
generated as expected with a tick and label for each 50000.
Now my question is: Can I format these tick labels so they
include a "digit grouping symbol" ie. they will read like
100,000 rather than 100000? The grouping symbol used should
reflect the current locale, like when you use the display
format on a textbox.

Thomas Waldorff


Frederick KOH[Sybase] Posted on 2009-12-16 09:07:24.0Z
From: "Frederick KOH[Sybase]" <fkoh.powerbuilder@gmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: Formatting graph axis values
Date: Wed, 16 Dec 2009 01:07:24 -0800 (PST)
Organization: http://groups.google.com
Lines: 3
Message-ID: <b96eed74-3d57-45d8-885d-5dd178dcb358@g1g2000pra.googlegroups.com>
References: <4b26431a.6c94.1681692777@sybase.com>
NNTP-Posting-Host: 130.214.25.252
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: posting.google.com 1260954444 8474 127.0.0.1 (16 Dec 2009 09:07:24 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 16 Dec 2009 09:07:24 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: g1g2000pra.googlegroups.com; posting-host=130.214.25.252; posting-account=CA-V9AoAAAALl8TNYCIUm0D-21T09M4_
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.33 Safari/532.0,gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!news-out.readnews.com!news-xxxfer.readnews.com!postnews.google.com!g1g2000pra.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:90438
Article PK: 410043

Set the "DisplayExpression" property of "Value Axis Text" to

string(value,"###,###.00")