Legend Contour Level Items

The following are properties of individual Contour level legend items. For a description of how a particular control is used, refer to Property Controls

Table D-73: Contour Level Legend Properties 

Interface:
Property Name
Control Type: Values
API:
Property Identifier
API:
Allowed Values

Text color

Color: Color to be used for the legend text. Click to choose from the default color palette, or specify RGB values. Default = [0,0,0] (black)

TEXT_COLOR

3D integer array of the form:

[R, G, B]

Each color value may range from 0 to 255.

Use text from

String List: Choose a source for the legend text. Choose from these values:

  • Level value
  • Level label
  • User defined

Default = Level value

MY_LABEL_VALUE

0 (Level value--default)

1 (Level label)

2 (User defined)

Text label

String: The legend item text label.

MY_LABEL_TEXT

String

Text format code

String: Text that defines the text format. Edit string to change format. You can edit this value only if Text Format is set to Use Text Format Code. Default = none

TEXTFORMAT

String

Text format

String List: Choose a format code or time interval to use for each legend item. Choose from these values:

  • None
  • Use Text Format Code
  • Filled Fixed Width Integer
  • Freeform Integer or Float
  • Float with 2 or 4 decimal places
  • Exponential with 2 or 4 decimal places
  • Date (13 formats)
  • Time (11 formats)

Default = None

TEXT_DEFINEDFORMAT

0 (None)

1 (Use text format code)

2 (Filled fixed width integer)

3 (Freeform integer or float)

4 (Float with 2 or 4 decimal places)

5 (Exponential with 2 or 4 decimal places)

6 (Date--12 formats)

7 (Time--11 formats)

Text font

String List: Font used for legend text. Select a font from the list. Choose from these values:

  • Helvetica
  • Courier
  • Times
  • Symbol
  • Hershey 3 Simplex

In addition to the above standard fonts, you will also have available all of the other Hershey fonts as well as any TrueType fonts available to IDL.

Default = Helvetica

FONT_INDEX

The following values are valid for all platforms:

0 (Helvetica--default)

1 (Courier)

2 (Times)

3 (Symbol)

4 (Hershey 3 Simplex)

There may be other Hershey and TrueType fonts available, but the list values are system-dependent.

Text style

String List: Style used for legend text. Select a style from the list. Choose from these values:

  • Normal
  • Bold
  • Italic
  • Bold italic

Default = Normal

FONT_STYLE

0 (Normal--default)

1 (Bold)

2 (Italic)

3 (Bold italic)

Text font size

Number: Font size in points for the legend text. Edit the number to change the size. Default = 12

FONT_SIZE

Integer