Select to view content in your preferred language

Need help.

1086
2
03-22-2011 07:22 AM
DougKampe
Regular Contributor
I've done some minor code modification to the chart widget, but a few days ago I was asked to include a combobox so users can select different layers to pull statistics from.  I thought I could figure it out by looking at examples online having some basic programming knowledge in VB.  I've modified the uncompiled chart tool, but I'm quickly realizing this request is beyond my skill level. 

Has anyone modified this tool to include a combobox and, if so, would you be so kind to share your code? 

Thanks,
Doug
Tags (2)
0 Kudos
2 Replies
JohnGarvey
Deactivated User
I have a couple questions. Is this a chart widget for flexviewer, if so, which one?

Are all the variables that will be offered as choices in the combo box being returned on the first call to the server or with each variable selection, does the widget query the server?

Sorry for the additional question, but these questions are how I would begin.
0 Kudos
DougKampe
Regular Contributor
Thanks for the response. 

Yes, this is the chart widget for flexviewer, version 2.2, and I'm using ArcGIS Server 9.3.1.  What I'm envisioning is the combobox would be populated with the names of the different layers from the REST services.  In my case, it would be the layers 1. County & 2. Watersheds. 

Currently, the tool does query the server for values, but this is to calculate the parts of the graph and is all declared in the tool's xml.  I do not want to allow the user to choose different values to graph, because it would introduce additional complexity and confusion. 

Thanks,

Doug
0 Kudos