Greetings,
Axis.ScaleFormat currently only works with columns of
type date. It would be useful to have the ability to use a
custom format for an axis (eg. use format $#,### for
currency values on the Y axis).
I have added the following for my own use but might be
worth considering for future addition.
if ( this.scaleFormat == null )
{
string tmpStr = "{0:F}";
tmpStr = tmpStr.Replace("",
this.numDec.ToString("D") );
label = String.Format( tmpStr, dVal /
scaleMult );
}
else
{
label = (dVal / scaleMult).ToString
(this.ScaleFormat);
}
This code begins on line 3158 of axis.cs (as per version
4.0).
Thank you.
Logged In: YES
user_id=1311171
And, as per Murhpy's Law, I have just had a look at Beta 4.1
(hadn't noticed it there) and realised that you have already
looked after this.
Sorry about that.
Regards.