Legend Contour Items

The following are properties of the top-level Contour legend item. For a description of how a particular control is used, refer to Property Controls.

Table D-72: Contour Legend Properties 

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

Show Levels

Boolean: Show contour levels in the legend. Choose True or False. Default = True

SHOW_LEVELS

0 (Do not show contour levels)

1 (Show contour levels)

Text

String: Text that labels the contour object in the legend.

ITEM_TEXT

String

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.

Level labels

String List: Label type for contour legend items. Select a label type from the list. Choose from these values:

  • Individually defined
  • Level value
  • Level label

LEVEL_LABELS

0 (Individually defined)

1 (Level value)

2 (Level label)

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