Can I use two layers on thematic widget?
can i use thematic widget with arcgis 10.0 FV 3.0 AND FB SDK 4.6 ?????????????
I have issues making it work by only modifying the widget parameters in Flex Viewer! Could you please tell me if you see something in the configuration statement? Thanks!<url>http://ec2-xyz-xyz-xyz-xyz.compute-1.amazonaws.com/arcgis/rest/services/Municipalites/MapServer</url><classificationLayerName>egdb.DBO.sda_mus</classificationLayerName><classificationLayerID>0</classificationLayerID><classificationMethodTypeDescs>Natural Breaks,Quantile,Equal Interval</classificationMethodTypeDescs> <classificationMethodTypes>esriClassifyNaturalBreaks,esriClassifyQuantile,esriClassifyEqualInterval</classificationMethodTypes><classificationFieldTypeDescs>Test</classificationFieldTypeDescs><classificationFieldTypes>Thematic</classificationFieldTypes>
How practical/possible is it to make this widget dynamic. So I can selected from all of my dynamic layers instead of having to hardwire only one layer into the code?
In working with the widget if I have it open at the start, I have to close the widget and reopen the widget before it will create a thematic map based on one of the attributes. If the widget is not open at the beginning of the application, I have to open it, close it, and open it again before it will recognize the attributes and display the symbology.Here is my code.Thanks in advance for your help.<configuration> <layers> <layer> <url>http://gis-test/arcgis/rest/services/Parker/School_Aid_Flex_Registered/MapServer</url> <name>Thematic</name> <classificationLayerName>Schools</classificationLayerName> <classificationLayerID>0</classificationLayerID> <classificationMethodTypeDescs>Natural Breaks,Quantile,Equal Interval</classificationMethodTypeDescs> <classificationMethodTypes>esriClassifyNaturalBreaks,esriClassifyQuantile,esriClassifyEqualInterval</classificationMethodTypes> <classificationFieldTypeDescs>Budget Enrollment,Change in Enrollment</classificationFieldTypeDescs> <classificationFieldTypes>FY_2014_Budget_Enrollment,Est__Change_in_Enrollment</classificationFieldTypes> <classificationBreaksMin>4</classificationBreaksMin> <classificationBreaksMax>12</classificationBreaksMax> <classificationBreaksDefault>6</classificationBreaksDefault> <dynamicLabelingPlacement>esriServerPolygonPlacementAlwaysHorizontal</dynamicLabelingPlacement> <dynamicLabelingMinScale>18489298</dynamicLabelingMinScale> <dynamicLabelingFontColor>0x191919</dynamicLabelingFontColor> <dynamicLabelingFontFamily>Verdana</dynamicLabelingFontFamily> <dynamicLabelingFontWeight>bold</dynamicLabelingFontWeight> <useproxy>false</useproxy> </layer> </layers> <ui> <widget_dimensions> <width>300</width> <height>350</height> </widget_dimensions> <icons> <base_url>widgets/Thematic/assets/images/</base_url> <main_icon>i_thematic_icon.png</main_icon> <main_label>Main Panel</main_label> <settings_icon>i_options.png</settings_icon> <settings_label>Settings Panel</settings_label> </icons> <transparency> <comp_label>Transparency</comp_label> <defaulttransparency>0.9</defaulttransparency> </transparency> <color_ramp> <classificationFromColorRampDisplay>Lower values</classificationFromColorRampDisplay> <classificationFromColorRamp>0xCECECE</classificationFromColorRamp> <classificationToColorRampDisplay>Higher values</classificationToColorRampDisplay> <classificationToColorRamp>0x0D538A</classificationToColorRamp> </color_ramp> <classification> <methodsLabel>Classification</methodsLabel> <fieldsLabel>based on</fieldsLabel> <breaksLabel>Number of classes</breaksLabel> </classification> <dynamicLabels> <dynamicLabelsEnabledLabel>Labels</dynamicLabelsEnabledLabel> <dynamicLabelsOnLabel>Hide / Remove</dynamicLabelsOnLabel> <dynamicLabelsOffLabel>Show / Display</dynamicLabelsOffLabel> </dynamicLabels> </ui></configuration>
HiI'm use the thematic widget and the legend are not display the values. The widget work normally just the values in the legend appear null.
Hi Lloyd,Can the dynamicLabels be given more formatting such as making them currency with thousands comma's and 0 decimal places?I haven't been able to find other tags I can use to do such formatting.Any help you can direct me to would be much appreciated.Skip
This can be done pretty easily in the source code. Are you using Flash Builder or only editing the .xml files or using the Flex Application Builder?
Hi Skip,I wanted to implement this when I was writing the samples and widget. Unfortunately if the server is performing the labeling, there aren't many options other than what is listed with the labelExpression. See the REST API link below.ArcGIS REST API - labelYou can see more advanced samples below:LabelOptions WizardDynamic labelingDynamic labeling - advancedHere is the Flex doc:Flex API doc - LabelClassFlex API doc - LabelOptionsCan you please submit a support incident for this? This will create a internal tracking number for this issue which will be reviewed by the server team. The more customers that request this functionality will raise its priority to implement. Can you also create a suggestion on the ideas site?Thank you,
Does this support bubble maps? (Point Dynamic Layers) Would be very useful if it did. Thanks for sharing this, very nice widget.
It was reported in a thread from April 2013 this widget could not work on double fields. Based on what I am experiencing, not being able to use double fields is either inconsistent or was addressed in a later release. I am using version 3.6 and am able to display double data as shown below.Does anyone know if I am taking a risk it will fail or has it been fixed? It is not mentioned on the change log. [ATTACH=CONFIG]30371[/ATTACH]
There is an issue on the GitHub repo related to this, please help identify the issue. I need more information to know if it is an issue with the Legend skin or the version of ArcGIS Server you are using. I am currently not seeing this issue when using the service from sampleserver6.
Is it possible to restrict the color ramps users can choose? I know it is possible to set the default ramp, but would like to restrict the ability of the user to choose their own colors.
You could hardcode the color picker to only contain specific colors, if that would help out. Or did you want the user to select only particular ramps that you have defined?
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.