<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic summary statistics chart and datagrid - multiple points instead of polygon? in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/summary-statistics-chart-and-datagrid-multiple/m-p/488371#M11161</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have modified an example from the user forum (version 1.3 of FLEX) that will let the user draw a polygon and get summary statistics and a chart based on their selection.&amp;nbsp; This works just fine when you have contiguous polygons.&amp;nbsp; However, what if I wanted to compare 3 or counties that are not next to each other?&amp;nbsp; I thought I might be able to modify this to add points (or multipoints).&amp;nbsp; I would then need to have something different as a trigger to know when the user was done adding points (unlike polygon that has a draw end built into it).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I have multiple points, then I'm assuming I would need to loop through each of my points I'd drawn.&amp;nbsp; I can't decide whether I am better off using an identify task instead of the query task I have set for the drawn polygon.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This code works now with just polygons for anyone who wants to have another basic charting/datagrid/summary example.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Dec 2010 16:16:00 GMT</pubDate>
    <dc:creator>TracySchloss</dc:creator>
    <dc:date>2010-12-28T16:16:00Z</dc:date>
    <item>
      <title>summary statistics chart and datagrid - multiple points instead of polygon?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/summary-statistics-chart-and-datagrid-multiple/m-p/488371#M11161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have modified an example from the user forum (version 1.3 of FLEX) that will let the user draw a polygon and get summary statistics and a chart based on their selection.&amp;nbsp; This works just fine when you have contiguous polygons.&amp;nbsp; However, what if I wanted to compare 3 or counties that are not next to each other?&amp;nbsp; I thought I might be able to modify this to add points (or multipoints).&amp;nbsp; I would then need to have something different as a trigger to know when the user was done adding points (unlike polygon that has a draw end built into it).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I have multiple points, then I'm assuming I would need to loop through each of my points I'd drawn.&amp;nbsp; I can't decide whether I am better off using an identify task instead of the query task I have set for the drawn polygon.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This code works now with just polygons for anyone who wants to have another basic charting/datagrid/summary example.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 16:16:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/summary-statistics-chart-and-datagrid-multiple/m-p/488371#M11161</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2010-12-28T16:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: summary statistics chart and datagrid - multiple points instead of polygon?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/summary-statistics-chart-and-datagrid-multiple/m-p/488372#M11162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tracy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Are you still using Flex Builder 3 and some 1.x version of the Flex API? I don't normally develop for those any more, so I didn't want to waste time updating the code to Flash Builder 4 and the 2.2 Flex API if you don't have access to those.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 22:11:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/summary-statistics-chart-and-datagrid-multiple/m-p/488372#M11162</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-12-28T22:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: summary statistics chart and datagrid - multiple points instead of polygon?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/summary-statistics-chart-and-datagrid-multiple/m-p/488373#M11163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I'm still using the older versions.&amp;nbsp; I don't dare download the evaluation copy of Flash Builder until I know the purchase has at least been approved.&amp;nbsp; Right now it's a painful and slow process to buy anything.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After messing with my code a bit more, I did have better luck using an Identify task for each of the points and then accumulating those results into an array to populate datagrid and chart.&amp;nbsp; It's still really sloppy programming, but it is somewhat functional.&amp;nbsp; I don't know what it is about posting something to the forum that often jogs something in my own mind.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you don't want to mess with the older code, I understand.&amp;nbsp; I'm sure I will have lots more questions once I finally do make the switch!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One thing you might be able to answer for me.&amp;nbsp; I haven't used identifytask much, I've generally used querytask.&amp;nbsp; The identify task seems to take a little longer and so some of the time I've clicked and the previous task hadn't quite complete (so it basically skipped over it).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the reference, it says you can set the concurrency on it, but if you set it to multiple you have to manage the event stream yourself.&amp;nbsp; I was wondering what the code would look like for such a thing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Dec 2010 12:38:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/summary-statistics-chart-and-datagrid-multiple/m-p/488373#M11163</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2010-12-29T12:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: summary statistics chart and datagrid - multiple points instead of polygon?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/summary-statistics-chart-and-datagrid-multiple/m-p/488374#M11164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tracy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; I personally don't think the identify task is the way to go. Here is the code you provided fixed and cleaned up with the new ability to use multipoints working. I did use the Flex 1.3 API instead of 1.2.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Dec 2010 15:25:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/summary-statistics-chart-and-datagrid-multiple/m-p/488374#M11164</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-12-29T15:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: summary statistics chart and datagrid - multiple points instead of polygon?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/summary-statistics-chart-and-datagrid-multiple/m-p/488375#M11165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks so much!&amp;nbsp; My FLEX 4 books came in today, so hopefully I'll be upgraded soon.:cool:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Dec 2010 15:31:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/summary-statistics-chart-and-datagrid-multiple/m-p/488375#M11165</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2010-12-29T15:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: summary statistics chart and datagrid - multiple points instead of polygon?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/summary-statistics-chart-and-datagrid-multiple/m-p/488376#M11166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tracy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; GOOD NEWS. When you do switch over let me know because I did migrate the same code I just provided you over to FlashBuilder 4 and Flex AGS API 2.2 already.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Dec 2010 15:36:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/summary-statistics-chart-and-datagrid-multiple/m-p/488376#M11166</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-12-29T15:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: summary statistics chart and datagrid - multiple points instead of polygon?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/summary-statistics-chart-and-datagrid-multiple/m-p/488377#M11167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'll leave myself a note.&amp;nbsp; Who knows when my Flash will finally get here.&amp;nbsp; How are you managing to develop in both versions?&amp;nbsp; I assumed I couldn't have both installed.&amp;nbsp; Is 4 so backwardly compatible that you can use old code and the older API?&amp;nbsp; I assumed like many upgrades that there was no turning back.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Dec 2010 15:49:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/summary-statistics-chart-and-datagrid-multiple/m-p/488377#M11167</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2010-12-29T15:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: summary statistics chart and datagrid - multiple points instead of polygon?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/summary-statistics-chart-and-datagrid-multiple/m-p/488378#M11168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tracy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Nope you can have FlashBuilder4 and FlexBuilder3 on the same machine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.s.&amp;nbsp;&amp;nbsp; I forgot that on the chart mouse out I needed to close the info window so here is that code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;private function onChartItemRollOut( event : ChartItemEvent ) : void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; findGraphicByAttribute(event.hitSet[0].item).symbol = pointSymbol;
&amp;nbsp;&amp;nbsp;&amp;nbsp; mainMap.infoWindow.hide();
&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:29:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/summary-statistics-chart-and-datagrid-multiple/m-p/488378#M11168</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T21:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: summary statistics chart and datagrid - multiple points instead of polygon?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/summary-statistics-chart-and-datagrid-multiple/m-p/488379#M11169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Greetings Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would be interested in your charting code for Flashbuilder 4 , 2.2 API.&amp;nbsp; I am currently running 2.1 so I may need to upgrade.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jan 2011 11:39:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/summary-statistics-chart-and-datagrid-multiple/m-p/488379#M11169</guid>
      <dc:creator>R__CraigHolmes</dc:creator>
      <dc:date>2011-01-05T11:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: summary statistics chart and datagrid - multiple points instead of polygon?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/summary-statistics-chart-and-datagrid-multiple/m-p/488380#M11170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Craig,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; The code here is what Tracy modified for her use that someone else wrote, and I just ported to Flex API 2.2 (all that to say this is not my code, just ported by me).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway here it is.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jan 2011 12:06:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/summary-statistics-chart-and-datagrid-multiple/m-p/488380#M11170</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-01-05T12:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: summary statistics chart and datagrid - multiple points instead of polygon?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/summary-statistics-chart-and-datagrid-multiple/m-p/488381#M11171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you both for this thread!&amp;nbsp; It helped me figure out a simple way of totaling up the number of hospital beds within a given drive time!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2011 18:05:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/summary-statistics-chart-and-datagrid-multiple/m-p/488381#M11171</guid>
      <dc:creator>BethManghi</dc:creator>
      <dc:date>2011-07-11T18:05:08Z</dc:date>
    </item>
  </channel>
</rss>

