Quintiq file version 2.0
#parent: #root
Method OnCreated () id:Method_DialogLegendCapacityPlanning_OnCreated
{
  #keys: '[134266.2.55120221]'
  Body:
  [*
    // On created
    
    // Set colors
    ColorSelectorConstraintViolation.Color( [String]ColorScheme.CapacityGanttChart_Error() );
    ColorSelectorOverloadedCapacity.Color( [String]ColorScheme.CapacityGanttChart_WarningHigh() );
    ColorSelectorBottleneckCapacity.Color( [String]ColorScheme.CapacityGanttChart_WarningMid() );
    ColorSelectorUsedCapacity.Color( [String]ColorScheme.CapacityGanttChart_Good() );
    ColorSelectorInfiniteCapacity.Color( [String]ColorScheme.CapacityGanttChart_Infinite() );
    ColorSelectorFreeCapacity.Color( [String]ColorScheme.CapacityGanttChart_Free() );
    ColorSelectorAggregatedCapacity.Color( [String]ColorScheme.CapacityGanttChart_Aggregation() );
    ColorSelectorHistoricalPeriodUnavailableAggregated.Color( [String]ColorScheme.CapacityGanttChart_Irrelevant() );
    ColorSelectorChangeover.Color( [String]ColorScheme.CapacityGanttChart_Changeover() );
  *]
}
