On 2D charts, this macro fills a portion of the chart frame with a rectangle. Set fStartX and fStopX to zero to select the lower left corner of the chart frame. The rectangle is outlined with the specified color (nRed, nGreen, nBlue). The nThickness and nStyle parameters define the thickness and style of the outline of the rectangle.
SYNTAX:
@USER_RECT fStartX fStopX fStartY fStopY nRed nGreen nBlue nLineStyle nLineThickness szPhrase
PARAMETERS:
fStartX; 0.0...1.1 X-Axis start location
fStopX; 0.0...1.1 X-Axis stop location
fStartY; 0.0...1.1 Y-Axis start location
fStopY; 0.0...1.1 X-Axis stop location
nRed; 0...255 defines the RED portion of the RGB color
nGreen; 0...255 defines the GREEN portion of the RGB color
nBlue; 0...255 defines the BLUE portion of the RGB color
nLineStyle; 0...15 selects the line style (0=Solid, 1=Dashed, 2=Dotted, 3=Dot-Dash, 4=Dash-Dot-Dot, 5=Medium Dash, 6=Short Dash, 7=Long Dash, 8=Long Dot, 9=Dot-Dot-Dot, 10=Dash-Dash-Dot, 11=Dash-Dash-Dot-Dot, 12=Long Dash-Dot, 13=Long Dash-Dot-Dot, 14=Long Dash-Dash-Dot, 15=Long Dash-Dash-Dot-Dot)
nLineThickness; 0...1000 Line Thickness
szPhrase; Optional phrase. Add a tilde character (~) to this string if you intend to define another macro in the same title field.EXAMPLE:
@USER_LABEL_FONT 12 255 0 0 255 Georgia
@USER_RECT 0.0 0.5 1.0 0.5 0 0 255 14 1000 Three D Graphics
PERSISTENT:
NO
NOTES:
- Use the @USER_LABEL_FONT macro to define the size, color, and font of szPhrase.
- Charts Unlimited supports a maximum of 20 user-defined areas that are created with the following macros: @UF, @USER_CIRCLE, @USER_CIRCLE_ABOVE, @USER_FILL, @USER_FILL2, @USER_FILL_CIRCLE, @USER_FILL_CIRCLE_ABOVE, @USER_FILL_CIRCLE2, @USER_FILL_CIRCLE2_ABOVE, @USER_RECT, and @UW.
- @UF, @USER_CIRCLE..., @USER_FILL..., and @USER_RECT macros are independent of the X or Y axis values/scales.
Next Macro
Previous Macro
Return to Alpha List
Next Macro in this Group
Previous Macro in this Group
Return to Group List