Packagecom.esri.baserver.tasks.segmentation
Classpublic class ProfileComparisonChartParameters
InheritanceProfileComparisonChartParameters Inheritance StandardReportParameters Inheritance StandardReportParameters Inheritance BATaskParameters Inheritance Object

The ProfileComparisonChartParameters class provides input parameters for the Profile Comparison Chart task.

The baseProfile parameter specifies the base tapestry segmentation profile used for calculation the index and the targetProfile parameter specifies the target profile used to create the bar chart.

The indexThreshold parameter specifies the position of y-axis on the bar chart.

If the targetGroup parameter is specified, the bars for Tapestry segments are colorized with respect to the major groups to which the segments belong.

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

ProfileComparisonChartTask


Public Properties
 PropertyDefined By
 InheritedactiveDatasetID : String
Active dataset ID.
BATaskParameters
  baseProfile : ProfileData
Base segmentation profile (required).
ProfileComparisonChartParameters
  indexThreshold : Number
Index threshold (required).
ProfileComparisonChartParameters
 InheritedoutputReportItem : FolderItem
Configuration options for storing the output report in the repository.
StandardReportParameters
 InheritedoutputTypes : OutputTypes
Task output types.
BATaskParameters
 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 (optional).
ProfileComparisonChartParameters
  targetProfile : ProfileData
Target segmentation profile (required).
ProfileComparisonChartParameters
 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 ProfileComparisonChartParameters class.
ProfileComparisonChartParameters
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
targetGroupproperty 
targetGroup:TargetGroupData

Target group (optional).


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
ProfileComparisonChartParameters()Constructor
public function ProfileComparisonChartParameters()

Creates a new instance of the ProfileComparisonChartParameters class.

Examples
ActionScript to create ProfileComparisonChartParameters and then use in a Profile Comparison Chart task:
                     
     var parameters : ProfileComparisonChartParameters = new ProfileComparisonChartParameters();
     
     // 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 report parameters. 
     parameters.standardReportOptions = new ReportOptions("PDF");
      
     profileComparisonChartTask.execute(parameters, new Responder(resultHandler, faultHandler));