I have a simple Silverlight
Application that has a Map control that shows a ESRI Tiled layer service and a Dynamic Layer service. The Dynamic Layer service is just called "Wells" and it has a "Date
" column and "Gas_Percent
" field that would be perfect to show in a Chart.
Does anyone know how I can do this?
I've been looking at these examples in below hyperlink (for LineSeries) (Silverlight Chart Examples) but I don't know how to use my Wells layer and Date and Gas_Percent columns in place of what they have.
Best Answer
I did a similar kind of thing some time back. I did this for a featurelayer/graphics layer using ESRI ArcGIS API
Binding the feature/graphics layer attributes to a data grid (did not use the featuredata grid ESRI provides) Then bind a specific grid column to a chart. Infact the way I did was the user can click on a column and the chart would display that column (simple bar chart). So you click a different column the chart changes.
This is how i did it C# code I have a method which executes a GP task that returns a graphics layer I iterate each graphic, create an observable collection and bind the observable collection to the data grid. there are other ways to bind but this worked for me when used with the chart.