AS15940
flex 

所属分类:图形图象
开发工具:Flex
文件大小:110KB
下载次数:5
上传日期:2009-01-16 10:36:58
上 传 者land77
说明:  对地图操作
(Operation on the map)

文件列表:
ChartWidget\ChartWidget.mxml (10135, 2008-12-10)
ChartWidget\ChartWidget.swf (107061, 2008-12-13)
ChartWidget\ChartWidget.xml (1345, 2008-12-13)

***************************************************************************** Sample Flex Viewer: Chart Widget Readme Version 1.0 ***************************************************************************** Directions to deploy the Chart widget in compiled/binary form: -------------------------------------------------------------- Step 1: Copy the ChartWidget.swf and ChartWidget.xml files to the widgets directory of the Sample Flex Viewer on your web server: \FlexViewer\com\esri\solutions\flexviewer\widgets Step 2: Modify “config.xml” which is the main configuration file for the Sample Flex Viewer. Add the configuration tag shown below to the widgets section of the file: com/esri/solutions/flexviewer/widgets/ChartWidget.swf Step 3: Test the application in a browser by entering the URL to the index.html page. The Chart widget should be listed under the Tools menu with the label Demographics as specified in the config file. Step 4: Modify the ChartWidget.xml configuration parameters as required to query data from your own map service and display it in a chart. A description of the XML tags can be found later in this document. Directions to import the Chart widget in source code: ----------------------------------------------------- Step 1: Copy the ChartWidget.mxml and ChartWidget.xml files to the widgets directory of the Sample Flex Viewer source code: \FlexViewer\src\com\esri\solutions\flexviewer\widgets Step 2: Start Flex Builder and open the Flex Viewer project. You should see the ChartWidget.mxml and the ChartWidget.xml file under the widgets directory. Refresh the widgets folder if necessary. Step 3: Modify “config.xml” which is the main configuration file for the Sample Flex Viewer. Add the configuration tag shown below to the widgets section of the file: com/esri/solutions/flexviewer/widgets/ChartWidget.swf Step 4: In Flex Builder from the Project menu seelect Properties. In the Flex Modules Properties section, add the ChartWidget as a module so that it will be compiled as a separate SWF. See the Developers Guide for additional information. Step 5: Test the application by running the project. The Chart widget should be listed under the Tools menu with the label Demographics as specified in the config file. Step 6: Modify the ChartWidget.xml configuration parameters as required to query data from your own map service and display it in a chart. A description of the XML tags can be found later in this document. Usage License: -------------- Copyright 2008 ESRI All rights reserved under the copyright laws of the United States. You may freely redistribute and use this software, with or without modification, provided you include the original copyright and use restrictions. See use restrictions in the file: /FlexViewer/License.txt ======================================= DESCRIPTION OF XML CONFIGURATION FILES: ======================================= ChartWidget.xml: ---------------- - layer: URL to the ArcGIS Server REST resource that represents a layer in a service. Example: http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/1 - fields: List of fields with numeric data to be queried and displayed in the widget. - summaryfield: Field with numeric data to be summarized and displayed. - chart: Configuration parameters for chart. - series: List of fields that will be a series in the Pie Chart. - labels: Optional list of labels to override default labels displayed in widget. - descriptonlabel: Label for widget description. - rectanglelabel: Label for Select by Rectangle tool. - polygonlabel: Label for Select by Polygon tool. - clearlabel: Label for Clear button. - loadinglabel: Label displayed while processing request. - chartlabel: Label for chart summary information.

近期下载者

相关文件


收藏者