Visit Gigasoft's Web Site
 ProEssentials v9 Help

SetExtraAxisTX Method

Scope Scientific Graph Interfaces

 

SetExtraAxisTX(fMin As Single, fMax As Single, szLabel As String, fManualLine As Single, fManualTick As Single, szFormat As String, nShowAxis As Integer, nShowTick As Integer, bInvertedAxis As Boolean, bLog As Boolean, dwColor As OLE_COLOR)

 

Parameter

Description

fMin

Sets minimum range of axis.

fMax

Sets maximum range of axis.

szLabel

Sets axis label.

fManualLine

Sets optional grid line density. Set zero for automatic construction.

fManualTick

Sets optional grid tick density. Set zero for automatic construction.

szFormat

Sets optional format string. See AxisFormatX for more info.

nShowAxis

Sets ShowAxis state. See ShowXAxis for more info.

nShowTick

Sets ShowTick state. See ShowTickMarkX for more info.

bInvertedAxis

Sets Inverted state. See InvertedXAxis for more info.

bLog

Sets Log state. False = Linear scaling, True = Log scaling.

dwColor

Sets axis RGB color.

 

This method is used to create extra top x axes on top of image. These axes are not actually associated with any data. The axes are pure visualization tools and you will need to message appropriate subset data if you need to match data to the axis.

 

This method is used to set the structure EXTRAAXIS for the property PEP_structEXTRAAXISTX. Before calling this method, set WorkingAxis to the axis index (0 through 4) for the appropriate axis if using more than one extra top x axis. Note, this is an alternate use of WorkingAxis which usually corresponds to the use of MultiAxesSubsets. In the case of extra x axes, WorkingAxis is used to designate an extra axis index. In this way, an image can be constructed with 5 extra x axes on top and/or on bottom of image.

  

Comments

pfMin and pfMax have meanings similar to ManualMinX and ManualMaxX.

pfManualLine and pfManualTick have meanings similar to ManualXAxisLine and ManualXAxisTick.

 

See Also: GetExtraAxisTX, SetExtraAxisX, OCX Methods, PEP_structEXTRAAXISTX.

 

Visual Basic 6 Example

Pesgo1.WorkingAxis = 0 setting first extra x axis

Pesgo1.SetExtraAxisTX 5, 15, "My Axis", 0, 0, "", 0, 0, False, False, 0