@COLOR_FILE (Load a Color Scheme File)

This macro loads a color scheme from the crchart_colors.txt file. The file must exist in the same directory where the charting library file (sscsdk80.dll) is installed (see Setup Instructions for details). The file can be populated with two types of line items: # comment lines and comma-separated hex values that define a color schemes defined. Example:

# comment
0x9160c7, 0xb8a6cc, 0x31a412, 0x7734d9, 0x6c192e, 0x4dd346, 0xd30ec7, 0x89d1c0
0xc70818, 0xbc587a, 0x93b919, 0x4afbf2, 0xc96c87, 0xe8f9ce, 0x378edc, 0xbd01df

The number of colors in one color scheme is defined by the number of colors in the first scheme definition. Extra colors are ignored, and missing colors are set to black.

SYNTAX:

@COLOR_FILE nScheme

PARAMETERS:

nScheme; 0...1000 selects a color scheme definition from the crchart_colors.txt file (0=selects the first color scheme definition).

EXAMPLE:

@COLOR_FILE 4

@COLOR_FILE 1

PERSISTENT:

YES

REQUIREMENTS:

ALSO SEE:

@DEFINE_SCHEME, @COLOR_SCHEME

Next Macro Previous Macro Return to Alpha List

Next Macro in this Group Previous Macro in this Group Return to Group List