Quintiq file version 2.0
#parent: GanttChartUnitCalendar
Response OnDrawNode (
  Transition_MP element
) id:Response_GanttChartUnitCalendar_OnDrawNode_70
{
  #keys: '[127238.0.1098256949]'
  Body:
  [*
    // Determine the color of the transition nodes
    drawinfo.AddCompartment( ColorScheme.GanttChart_Transition(), element.End() - element.Start() );
    
    if( element.HasConstraintViolations() )
    {
      drawinfo.Image( 1, "CONSTRAINTVIOLATIONS" );
    }
  *]
  CanBindMultiple: false
  DefinitionID: 'Responsedef_GanttChart_OnDrawNode'
}
