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>
Hi
I'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
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?