! This is the magics check file
!
! Each request is checked again each rule
! The rules have the following syntax:
!
!   RULE   ---> if TEST then ACTION 
!
!
!   TEST   ---> PARAMETER  =  VALUE
!          ---> PARAMETER  >  VALUE
!          ---> PARAMETER  <  VALUE
!          ---> PARAMETER  >= VALUE
!          ---> PARAMETER  <= VALUE
!          ---> PARAMETER  <> VALUE
!          ---> PARAMETER  in LIST_OF_VALUES
!          ---> not TEST
!          ---> TEST and TEST
!          ---> TEST or TEST
!          ---> ( TEST )
!
!
!   ACTION ---> error    MESSAGE
!          ---> warning	 MESSAGE
!		   ---> set      PARAMETER = VALUE
!		   ---> unset    PARAMETER 
!
! B.Raoult
! Wed Feb 13 15:07:49 GMT 1991
!
! J.Daabeck
! Thu Nov 3
!

%if AXIS_LINE = OFF %then
        %unset AXIS_LINE_COLOUR
        %unset AXIS_LINE_THICKNESS
        %unset AXIS_LINE_POSITION

%if AXIS_TITLE = OFF %then
        %unset AXIS_TITLE_ORIENTATION
        %unset AXIS_TITLE_COLOUR
        %unset AXIS_TITLE_HEIGHT
        %unset AXIS_TITLE_QUALITY
        %unset AXIS_TITLE_TEXT

%if AXIS_TIP_TITLE = OFF %then
        %unset AXIS_TIP_TITLE_ORIENTATION
        %unset AXIS_TIP_TITLE_COLOUR
        %unset AXIS_TIP_TITLE_HEIGHT
        %unset AXIS_TIP_TITLE_QUALITY
        %unset AXIS_TIP_TITLE_TEXT

%if AXIS_TICK = OFF %then
        %unset AXIS_TICK_COLOUR
        %unset AXIS_TICK_SIZE
        %unset AXIS_TICK_THICKNESS

%if AXIS_TICK_LABEL = OFF %then
        %unset AXIS_TICK_LABEL_TYPE
        %unset AXIS_TICK_LABEL_ORIENTATION
        %unset AXIS_TICK_LABEL_COLOUR
        %unset AXIS_TICK_LABEL_HEIGHT
        %unset AXIS_TICK_LABEL_QUALITY
        %unset AXIS_TICK_LABEL_POSITION
        %unset AXIS_TICK_LABEL_FIRST
        %unset AXIS_TICK_LABEL_LAST

%if AXIS_TICK_LABEL = OFF %or AXIS_TICK_LABEL_TYPE = LABEL_LIST %then
        %unset AXIS_TICK_LABEL_FORMAT
        %unset AXIS_TICK_LABEL_FREQUENCY

%if AXIS_TICK_LABEL = OFF %then
        %unset AXIS_TICK_LABEL_LIST

%if AXIS_MINOR_TICK = OFF %then
        %unset AXIS_MINOR_TICK_COUNT
        %unset AXIS_MINOR_TICK_COLOUR
        %unset AXIS_MINOR_TICK_SIZE
        %unset AXIS_MINOR_TICK_THICKNESS
        %unset AXIS_MINOR_TICK_MIN_GAP

%if AXIS_TYPE = REGULAR %then
        %unset AXIS_TICK_POSITION_LIST
        %unset AXIS_TICK_LABEL_UNITS

%if AXIS_TYPE = POSITION_LIST %then
        %unset AXIS_TICK_INTERVAL
        %unset AXIS_TICK_LABEL_TYPE
        %unset AXIS_TICK_LABEL_FORMAT
        %unset AXIS_TICK_LABEL_FREQUENCY
        %unset AXIS_MINOR_TICK
        %unset AXIS_MINOR_TICK_COUNT
        %unset AXIS_MINOR_TICK_COLOUR
        %unset AXIS_MINOR_TICK_SIZE
        %unset AXIS_MINOR_TICK_THICKNESS
        %unset AXIS_MINOR_TICK_MIN_GAP

%if AXIS_TYPE = LOGARITHMIC %then
        %unset AXIS_TICK_INTERVAL
        %unset AXIS_TICK_POSITION_LIST
        %unset AXIS_TICK_LABEL_UNITS
        %unset AXIS_TICK_LABEL_FREQUENCY

%if AXIS_TYPE = DATE %then
        %unset AXIS_MIN_VALUE
        %unset AXIS_MAX_VALUE
        %unset AXIS_TICK_POSITION_LIST
        %unset AXIS_TICK_LABEL_UNITS
        %unset AXIS_TICK_LABEL_TYPE
        %unset AXIS_TICK_LABEL_FORMAT

%if AXIS_TYPE <> DATE %then
        %unset AXIS_DATE_TYPE
        %unset AXIS_DATE_MIN_VALUE
        %unset AXIS_DATE_MAX_VALUE
        %unset AXIS_HOURS_LABEL
        %unset AXIS_DAYS_LABEL
        %unset AXIS_MONTHS_LABEL
        %unset AXIS_YEARS_LABEL

%if AXIS_TYPE <> DATE %or AXIS_DATE_TYPE <> HOURS %then
        %unset AXIS_HOURS_LABEL

%if AXIS_TYPE <> DATE %or AXIS_DATE_TYPE <> HOURS %or AXIS_HOURS_LABEL = OFF %then
        %unset AXIS_HOURS_LABEL_HEIGHT
        %unset AXIS_HOURS_LABEL_QUALITY
        %unset AXIS_HOURS_LABEL_COLOUR

%if AXIS_TYPE <> DATE %or AXIS_DATE_TYPE = MONTHS %or AXIS_DATE_TYPE = YEARS %then
        %unset AXIS_DAYS_LABEL

%if AXIS_TYPE <> DATE %or AXIS_DATE_TYPE = MONTHS %or AXIS_DATE_TYPE = YEARS
%or AXIS_DAYS_LABEL = OFF %then
        %unset AXIS_DAYS_LABEL_COMPOSITION
        %unset AXIS_DAYS_LABEL_HEIGHT
        %unset AXIS_DAYS_LABEL_QUALITY
        %unset AXIS_DAYS_LABEL_COLOUR

%if AXIS_TYPE <> DATE %or AXIS_DATE_TYPE = YEARS %then
        %unset AXIS_MONTHS_LABEL

%if AXIS_TYPE <> DATE %or AXIS_DATE_TYPE = YEARS %or AXIS_MONTHS_LABEL = OFF %then
        %unset AXIS_MONTHS_LABEL_COMPOSITION
        %unset AXIS_MONTHS_LABEL_HEIGHT
        %unset AXIS_MONTHS_LABEL_QUALITY
        %unset AXIS_MONTHS_LABEL_COLOUR

%if AXIS_TYPE <> DATE %or AXIS_YEARS_LABEL = OFF %then
        %unset AXIS_YEARS_LABEL_HEIGHT
        %unset AXIS_YEARS_LABEL_QUALITY
        %unset AXIS_YEARS_LABEL_COLOUR

%if AXIS_GRID = OFF %then
        %unset AXIS_GRID_COLOUR
        %unset AXIS_GRID_THICKNESS
        %unset AXIS_GRID_LINE_STYLE

%if AXIS_GRID = OFF %or AXIS_TYPE <> DATE %then
        %unset AXIS_DATE_GRID_POSITIONING

%if AXIS_GRID = OFF %or AXIS_TYPE <> DATE %or AXIS_DATE_GRID_POSITIONING = AUTOMATIC %then
        %unset AXIS_DATE_GRID_POSITION_LIST
