Jump to content
Software FX Community

Axis Format Options


User (Legacy)

Recommended Posts

Hello,

There are several constants for the axis format which are not listed in the

property page dialog box. For example, if I specify AF_CUSTOM, there is not

a option for that in the dropdown box on the property page. How can I get

this into the property page? Also, the minimum and maximum values are set

based on this option. For example, if I want to represent the data using my

own custom format, which is an engineering style. Small numbers do not get

formatted properly because of the # of decimals that I want (3). This only

works if it uses scientific.

Help.

Link to comment
Share on other sites

A custom format requires for you to set the custom format string as well, so

it can not be an option in the combo-box.

If you want Scientific notation you can use AF_SCIENTIFIC, and you can

always increase the number of decimals using the Decimals property (Axis

object).

--

FP

Software FX, Inc.

Link to comment
Share on other sites

If this is the case, is there a way I can eliminate this combo box from the

property page? If a user switches to the non-custom format, they can never

get back to the custom format??

"SoftwareFX Support" <support@softwarefx.com> wrote in message

news:OD6wbQqACHA.812@webserver1.softwarefx.com...

> A custom format requires for you to set the custom format string as well,

so

> it can not be an option in the combo-box.

>

> If you want Scientific notation you can use AF_SCIENTIFIC, and you can

> always increase the number of decimals using the Decimals property (Axis

> object).

>

> --

> FP

> Software FX, Inc.

>

>

Link to comment
Share on other sites

When you set an axis.format property to AF_CUSTOM, the dialog box shows a

blank selection in the dropdown combo box. If you make a change, and apply

it, you can never get back to the custom. Also, the blank selection should

specify custom.

In a specific example, if you specify an AF_CUSTOM format (because I want to

override using the GetAxisLabel event, so I can create engineering format),

and then say change it to Scientific using the dialog box, all of the units

disappear, and if you then look at the dialog again, it will be under

Date/Time, and no way to get back to Scientific even, though that is what I

selected.

Abe

"SoftwareFX Support" <support@softwarefx.com> wrote in message

news:k8nOB4zBCHA.1324@webserver1.softwarefx.com...

> The dialog will leave the Custom flag on if it was on. So you should be

able

> to revert back to the original. Can you please explain the specific

> situation in which this is not working correctly.

>

> --

> FP

> Software FX, Inc.

>

>

Link to comment
Share on other sites

You should never assign Format = AF_CUSTOM, you assign format to a string,

the WE (chart FX) turn on AF_CUSTOM but combined with another type

(AF_NUMERIC, etc).

This is the reason you are getting this problem, you are assigning format to

an invalid value (AF_CUSTOM).

--

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...