Select to view content in your preferred language

looking for a Chart Widget that works with Flex Viewer 2.2

1239
9
02-22-2011 06:41 AM
JeffRemling
Emerging Contributor
Hi all,
I have attempted to download and compile the Chart Widgets that I found on the old forum pages, (AS16822, AS16018, AS15940) and none of them compile without crashing.  The main reason seems to be they cannot find IBaseWidget.  Earlier problems compiling them were outdated paths to the BaseWidget.as, but that I solved by altering the path.

Does anyone know of a more current version of a chart widget or how to make these widgets find the IBaseWidget?  Thanks.
Tags (2)
0 Kudos
9 Replies
DanielOchoa
Regular Contributor
Something like this:

http://www.arcgis.com/home/item.html?id=fabdd320b0724ab2957c7af297008d89

If you download the zip, you will find a Query CSV widget, a Charting Widget and a thematic widget with instructions.

I havent personally tried it yet, but the example page looks promising.

~ D
0 Kudos
JeffRemling
Emerging Contributor
No, although many thanks for pointing me to this one.

This widget takes Lat/Long point data from a saved CSV file and uses that to make the chart.  I am looking for something that will perform a query on tables which are embedded in the map service and output a chart.  There is also no source code with this download, so I can't open it up and see if I can tweak it.  Thanks anyways.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Jeff,

   There is no chart widget for FlexViewer 2.2, as you have probably noticed. Also you can not just take the chart widget code from the sample Flex Viewer 1.x and just recompile it for FlexViewer 2.2 without making all the necessary library changes and other code changes to bring it up to the current Flex SDK, Current AGS Flex API, and the current Flex Viewer design pattern. It can be done but will require a lot more than just attempting to drop the files and recompile. I don't use charting so this is not high on my priority list but I will look at adding it to the bottom of the list.
0 Kudos
JeffRemling
Emerging Contributor
Many thanks.  I had come to the same conclusion and have started taking the "Flex in a Week" online classes to bring myself up to speed.  I have used a little Actionscript 3.0 in the past, mostly for event handlers, and will brush up on this too.  Hopefully, I can find a way to use the Chart Components in Flash Builder 4 to expedite this.  If I get one working, I'll let everyone know.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Jeff,

   Well, I had a free hour or so last night, so I migrated the Chart Widget to Flex Viewer 2.x.

Here is the Link: http://www.arcgis.com/home/item.html?id=51558a31b24a4139bf915a0ba47bd25d
0 Kudos
DanielOchoa
Regular Contributor
Rob,

Do you still have the Chart widget version that will work with the 2.2 viewer?  There's a bunch of widgets that still havent made the leap to 2.4 yet, so I'm holding off from upgrading until all the widgets have caught up, and in the meantime I'd like to try this in my current viewer.  Thanks!

~ D
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Daniel,

  Only the compiled version.
0 Kudos
DanielOchoa
Regular Contributor
Thanks! That will do.
0 Kudos
RandallSounhein
Occasional Contributor
Using the Flex Viewer 2.4 Chart Widget (uncompiled version) and noticing the Pie Chart coming up in just one color.  This all works correctly in Flex Viewer 2.3.1.  Anyone seen this before?
0 Kudos