| Quintiq file version 2.0 | 
| #parent: PanelCustomDraw/CustomDrawDataLayerSWF_step | 
| Response OnDetermineRegion ( | 
|   SWF_Step object | 
| ) id:Response_PanelCustomDraw_CustomDrawDataLayerSWF_step_OnDetermineRegion | 
| { | 
|   #keys: '[136682.0.710335542]' | 
|   CanBindMultiple: false | 
|   DefinitionID: 'Responsedef_WebCustomDrawDataLayer_OnDetermineRegion' | 
|   QuillAction | 
|   { | 
|     Body: | 
|     [* | 
|       // Add region | 
|       gp := SWF_WorkflowDataset.GlobalParameter(); | 
|       pos := gp.DashboardGaugeWidth(); | 
|       x := pos * ( object.RootSequenceNr() + 1 ); | 
|       layer.AddRegion( x, 0, pos, gp.DashboardGaugeHeight(), 0 ); | 
|     *] | 
|     GroupServerCalls: false | 
|   } | 
| } |