Visit Gigasoft's Web Site
 ProEssentials v9 Help

AxisFormatY

Scope

Pego, Pesgo, Pe3do

Type

String

Default

NULL

.NET

PeGrid.Option.AxisFormatY

Ocx|Vcl

AxisFormatY

DLL

PEP_szAXISFORMATY

 

Purpose

This property controls formatting of the grid line numbers along y axis. If MultiAxesSubsets is used, then WorkingAxis must be set prior to setting this property.

 

This property allows for adding text before and after grid numbers. It also controls placing commas on thousand marks and forcing decimal positions.

 

The format string consists of

 

{PRE-TEXT}|{.}{,}{0000}|{POST-TEXT}

 

Where all items are optional except pipe symbols, and one or more zeros can be provided in middle section.

 

For example, the value 1000 will be formatted as follows.

 

Format String

Result

"$|,|"

"$1,000"

"|,.00| dollars"

"1,000.00 dollars"

 

Comments

PeGrid.Option.AxisFormatY members of Pego.PeGrid.Option, Pesgo.PeGrid.Option, Pe3do.PeGrid.Option

 

See Also: AxisFormatRY, AxisFormatX, AxisFormatTX, AxisFormatZ, Decimal, Thousands

 

See example 109 within demo example code.