Quintiq file version 2.0
Component DashboardChartScenarioAnalysisUnitCapacity
{
  #keys: '[139394.0.2086157546]'
  BaseType: 'WebChart'
  Children:
  [
    Component DashboardChartLevelScenarioAnalysisUnitCapacity
    {
      #keys: '[139394.0.2086157547]'
      BaseType: 'WebChartLevel'
      Children:
      [
        Component DataExtractorScenarioAnalysisUnitCapacity
        {
          #keys: '[139394.0.2086157548]'
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'structured[UnitPeriod]'
            Source: 'DataHolderScenarioAnalysisUnitCapacity'
            Taborder: 0
            Transformation: 'Elements'
          ]
        }
        Component DashboardChartSeriesScenarioAnalysisUnitUtilization
        {
          #keys: '[139394.0.2086157549]'
          BaseType: 'WebChartSeries'
          Properties:
          [
            Label: 'Utilization'
            Subtotal: 'average'
            Taborder: 3
            YScaleDataPath: 'minvalue( object.UtilizationPercentage(), 100 )'
          ]
        }
        Component DashboardChartSeriesScenarioAnalysisUnitFree
        {
          #keys: '[137862.1.470524828]'
          BaseType: 'WebChartSeries'
          Properties:
          [
            Label: 'Free'
            Subtotal: 'average'
            Taborder: 2
            YScaleDataPath: 'maxvalue( 100 - object.UtilizationPercentage(), 0 )'
          ]
        }
        Component DashboardChartSeriesScenarioAnalysisUnitOverload
        {
          #keys: '[137862.1.472744473]'
          BaseType: 'WebChartSeries'
          Properties:
          [
            Label: 'Overload'
            Subtotal: 'average'
            Taborder: 1
            YScaleDataPath: 'maxvalue( object.UtilizationPercentage()-100, 0 )'
          ]
        }
      ]
      Properties:
      [
        ChartColorString:
        [*
          WebChartColor
          {
            WebChartConfigGroup
            {
              Label: 'Series'
            }
            WebChartColorEntry
            {
              Label: 'Utilization'
              Color: '$FFFAC4'
              Shape: 'Square'
              Size: 0
              Pattern: 'Solid'
            }
            WebChartColorEntry
            {
              Label: 'Max capacity'
              Color: '$7B1FA2'
              Shape: 'Square'
              Size: 0
              Pattern: 'Solid'
            }
            WebChartColorEntry
            {
              Label: 'Min capacity'
              Color: '$7B1FA2'
              Shape: 'Square'
              Size: 0
              Pattern: 'Solid'
            }
            WebChartColorEntry
            {
              Label: 'Free'
              Color: '$CCCCCC'
              Shape: 'Square'
              Size: 0
              Pattern: 'Dashed'
            }
            WebChartColorEntry
            {
              Label: 'Overload'
              Color: '$FF6666'
              Shape: 'Square'
              Size: 0
              Pattern: 'Solid'
            }
          }
        *]
        ChartTypeString:
        [*
          WebChartType
          {
            WebChartConfigGroup
            {
              Label: 'Series'
            }
            WebChartTypeEntry
            {
              Label: 'Max capacity'
              ChartType: 'Line'
            }
            WebChartTypeEntry
            {
              Label: 'Min capacity'
              ChartType: 'Line'
            }
            WebChartTypeEntry
            {
              Label: 'Utilization'
              ChartType: 'Stacked bar'
            }
            WebChartTypeEntry
            {
              Label: 'Free'
              ChartType: 'Stacked bar'
            }
            WebChartTypeEntry
            {
              Label: 'Overload'
              ChartType: 'Stacked bar'
            }
            Default: 'Stacked bar'
            MergeStackedBars: true
          }
        *]
        Groups: 'StartDate'
        Taborder: 0
      ]
    }
  ]
  Properties:
  [
    Taborder: 1
    Title: 'Unit capacity utilization'
    TitleYAxis: 'Utilization(%)'
    YAxisGridlines: true
    YAxisMax: 120
  ]
  ResponseDefinitions:
  [
    DelegatedResponseDefinition OnClick id:Responsedef_DashboardChartScenarioAnalysisUnitCapacity_WebMenu_OnClick
    {
      #keys: '[139394.0.2086157544]'
      Initiator: 'WebMenu'
      IsInherited: false
      ResponseType: 'OnClick'
    }
    DelegatedResponseDefinition OnClick id:Responsedef_DashboardChartScenarioAnalysisUnitCapacity_WebButton_OnClick
    {
      #keys: '[139394.0.2086157545]'
      Initiator: 'WebButton'
      IsInherited: false
      ResponseType: 'OnClick'
    }
  ]
}
