Jump to content
Software FX Community

Is there a way to specify a custom axis format so that I can get % signs to show up?


User (Legacy)

Recommended Posts

Ok presently I set axis formats via the Format method by passing a string to

represent a format expression. Ex. "$#,##0;($#,##0)" for currency. What I

would like to do now is to specify a format mask that would output a

percentatge sign after the number when chart FX displays this particular #

on the particular axis. For some reason I cannot get the % sign to show up.

"#,##0$" works, but "#,##0%" does not. Why is this? I would prefer not to

use the default defines for the percentage because I feel that it is not

flexible enough for my tastes. Thank you for your help.

-Mac

Link to comment
Share on other sites

You can specify to display the currency symbol ($) but you can not specify

to display any symbol (string) you want as part of the format.

The only way you can achieve this would be to capture the GetAxisLabel event

and append this custom symbol (%) to your labels.

--

FP

Software FX, Inc.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...