Esri Business Analyst Server API for Silverlight 2.2 Reference
MultiProfileBarChartParameters Class
Members  Example  See Also  Send Feedback
ESRI.ArcGIS.Client.BAServer.Tasks.Segmentation Namespace : MultiProfileBarChartParameters Class

Glossary Item Box

The MultiProfileBarChartParameters class provides input parameters for the Multi-profile Bar Chart task.

Object Model

MultiProfileBarChartParameters ClassProfileData ClassFolderItem ClassOutputTypes ClassBAResultType ClassReportOptions ClassTargetGroupData ClassProfileData ClassProfileData ClassProfileData Class

Syntax

Remarks

The BaseProfile parameter specifies the base tapestry segmentation profile used for calculation the index. Up to three target segmentation profiles can be specified—the TargetProfile1 is used to create the bar chart and the TargetProfile2 and TargetProfile3 are used to draw trend lines on top of 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.

Example

The code snippet below creates MultiProfileBarChartParameters and then executes a Multi-profile Bar Chart task.
C#Copy Code
MultiProfileBarChartParameters parameters = new MultiProfileBarChartParameters();
             
// The ProfileData type could take either data as an XML string
// or as ESRI.ArcGIS.Client.BAServer.FolderItem type, e.g.
//FolderItem baseProfile = new FolderItem(workspaceName, projectName, FolderType.esriFolderSegProfiles, profileName);
             
// Set a base segmentation profile as a FolderItem using implicit cast operator.
parameters.BaseProfile = baseProfile;
             
// Set a target segmentation profile 1.
parameters.TargetProfile1 = targetProfile1;
             
// Set a target segmentation profile 2.
parameters.TargetProfile2 = targetProfile2;
 
// Set an index threshold. 
parameters.IndexThreshold = 110.0;
             
// Set report parameters. 
parameters.StandardReportOptions = new ReportOptions("PDF");
 
multiProfileBarChartTask.ExecuteAsync(parameters, new AsyncResponder(resultHandler, faultHandler));

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.Client.BACore.Client.BATaskParameters
      ESRI.ArcGIS.Client.BACore.Client.StandardReportParameters
         ESRI.ArcGIS.Client.BAServer.Tasks.StandardReportParameters
            ESRI.ArcGIS.Client.BAServer.Tasks.Segmentation.MultiProfileBarChartParameters

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2010-2012 Esri, Inc. All Rights Reserved.