No it is not that.
Width is SIXTH parameter, not fourth. Fourth is
foreground color.
Should be:
AddColumn(pchng, "Pct. Chg.", 1.2, colorDefault, colorDefault, 160 /* width
here !!! */ );
Best regards, Tomasz Janeczko amibroker.com
----- Original Message -----
Sent: Saturday, September 10, 2005 2:42
AM
Subject: RE: [amibroker] AmiBroker 4.72.0
BETA released
try 5000 - pixels are small
d
Hi Tomasz,
Saturday, September 10, 2005, 8:55:28 AM,
you wrote:
TJ> Yuki,
TJ> The only negative width that is
accepted is -1. TJ> width = -1 (the default) means "old" behaviour,
i.e. column width is determined TJ> automatically from the length of
text in column caption.
TJ> any width >= 0 is just PIXEL width
of the column. So 100 is just 100 pixels on your screen.
I'm
stumped. The following line should produce different widths
with different values entered:
AddColumn(pchng, "Pct. Chg.",
format = 0.000,width = 160);
I've tried everything from 50 to 500 and
a lot in between. The column width never varies. I have 1024
horizontal pixels, and I'm used to setting column width by pixel in
Excel. But for some reason, this is stumping
me.
Yuki
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
SPONSORED LINKS
YAHOO! GROUPS LINKS
|