// The bits that we store in the IntAttribute1 field.
#define LEGEND_MANAGE_POSITION  0
#define LEGEND_DRAW_BOX         1
#define LEGEND_DRAW_LABELS      2
#define LEGEND_ORIENTATION0     3
#define LEGEND_ORIENTATION1     4
#define LEGEND_DRAW_TITLE       5
#define LEGEND_DRAW_MINMAX      6
#define LEGEND_CONTROL_TICKS    7
#define LEGEND_MINMAX_INCLUSIVE 8
#define LEGEND_DRAW_VALUES      9

#define LEGEND_TYPE_VARIABLE    0
#define LEGEND_TYPE_LEVELS      1
#define LEGEND_TYPE_OTHER       2

