Packagecom.esri.baserver.tasks.segmentation
Classpublic class GamePlanChartParameters
InheritanceGamePlanChartParameters Inheritance StandardReportParameters Inheritance StandardReportParameters Inheritance BATaskParameters Inheritance Object

The GamePlanChartParameters class provides input parameters for the Game Plan Chart task.

Two tapestry segmentation profiles should be specified—the base profile (baseProfile parameter) is used for calculating the index and the target profile (targetProfile parameter) is used for calculating the percent composition for each Tapestry segment.

The indexThreshold and percentThreshold parameters specify positions of Index and Percent Composition axes on the Game Plan Chart. In most cases, the Index axis should be set to a value of at least 100. The Percent Composition axis should be set so you have at least three segments in the Core category. Often there will be a natural break in the percent composition values.

If the targetGroup parameter is specified, the Tapestry segments are colorized with respect to their distribution in clusters of the target group.

Output options for this task include creating a report (outputTypes.getReport). You need not specify the output options for this task because the getReport output type is set by default.

View the examples

See also

GamePlanChartTask


Public Properties
 PropertyDefined By
 InheritedactiveDatasetID : String
Active dataset ID.
BATaskParameters
  baseProfile : ProfileData
Base segmentation profile (required).
GamePlanChartParameters
  indexThreshold : Number
Index threshold (required).
GamePlanChartParameters
 InheritedoutputReportItem : FolderItem
Configuration options for storing the output report in the repository.
StandardReportParameters
 InheritedoutputTypes : OutputTypes
Task output types.
BATaskParameters
  percentThreshold : Number
Percent composition threshold (required).
GamePlanChartParameters
 InheritedresultType : BAResultType
[read-only] Type of the result returned by the task associated with these parameters.
BATaskParameters
 InheritedstandardReportOptions : ReportOptions
Standard report options.
StandardReportParameters
  targetGroup : TargetGroupData
Target group.
GamePlanChartParameters
  targetProfile : ProfileData
Target segmentation profile (required).
GamePlanChartParameters
 InheritedtaskName : String
[read-only] Name of a Community Analyst Task associated with these parameters.
BATaskParameters
Public Methods
 MethodDefined By
  
Creates a new instance of the GamePlanChartParameters class.
GamePlanChartParameters
Property Detail
baseProfileproperty
baseProfile:ProfileData

Base segmentation profile (required).


Implementation
    public function get baseProfile():ProfileData
    public function set baseProfile(value:ProfileData):void
indexThresholdproperty 
indexThreshold:Number

Index threshold (required).

The default value is NaN.


Implementation
    public function get indexThreshold():Number
    public function set indexThreshold(value:Number):void
percentThresholdproperty 
percentThreshold:Number

Percent composition threshold (required).

The default value is NaN.


Implementation
    public function get percentThreshold():Number
    public function set percentThreshold(value:Number):void
targetGroupproperty 
targetGroup:TargetGroupData

Target group.


Implementation
    public function get targetGroup():TargetGroupData
    public function set targetGroup(value:TargetGroupData):void
targetProfileproperty 
targetProfile:ProfileData

Target segmentation profile (required).


Implementation
    public function get targetProfile():ProfileData
    public function set targetProfile(value:ProfileData):void
Constructor Detail
GamePlanChartParameters()Constructor
public function GamePlanChartParameters()

Creates a new instance of the GamePlanChartParameters class.

Examples
ActionScript to create GamePlanChartParameters and then use in a Game Plan Chart task:
                     
     var parameters : GamePlanChartParameters = new GamePlanChartParameters();
     
     // The ProfileData type could take either data as an XML string
     // or as com.esri.baserver.FolderItem type, e.g.
     //var baseProfile:FolderItem = new FolderItem(workspaceName, projectName, FolderType.SEGMENTATION_PROFILES, profileName);
     
     // Set a base segmentation profile.
     parameters.baseProfile = new ProfileData(baseProfile);
     
     // Set a target segmentation profile.
     parameters.targetProfile = new ProfileData(targetProfile);
     
     // Set an index threshold. 
     parameters.indexThreshold = 110.0;
     
     // Set a percent composition threshold.
     parameters.percentThreshold = 4.0; 
     
     // Set report parameters. 
     parameters.standardReportOptions = new ReportOptions("PDF");
      
     gamePlanChartTask.execute(parameters, new Responder(resultHandler, faultHandler));