Select to view content in your preferred language

Required Statistics  Summary

544
2
04-05-2011 04:29 AM
MuhammadWaqar_ul_islam
Occasional Contributor
I m using Sptail query sample
http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#SpatialQuery
i want little advancement in my application
after selecting object i want statistics summary of data that is selected
like if a line feature selected its type ,total lenght , and other statics for different feild can be calculated as it was done in ARCMAP

it is an urgent requirement
0 Kudos
2 Replies
JenniferNery
Esri Regular Contributor
If the service include these fields, you can display them. If a calculation is necessary, that's something you would have to do in your application. You can subscribe to GraphicsLayer mouse events to get to the graphic and inspect its attributes. You may then add this calculated value as an attribute to your graphic and display them to a control or map tip just as you would do for attributes that came from the service fields.
0 Kudos
MuhammadWaqar_ul_islam
Occasional Contributor
thanks jenniferdnery
My requirement is to create reports as an option in arcinfo in the attribute table
i not good programmer to developed it
i need code to do it
i m using spatial query sample to select the data
just want to create report
0 Kudos