<?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 Customizing Chart Widget in Sample Flex Viewer... in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/customizing-chart-widget-in-sample-flex-viewer/m-p/153180#M3588</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello everyone, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been relatively successful in customizing the Sample Flex Viewer with various add-on widgets, added colours/symbology, and custom data. Considering I learned how to program using Flex about 1 week ago, things are going smoothly with the help of all the resources and forums. I am, however stuck on how to customize the chart widget. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was successful in implementing the enhanced chart widget (&lt;/SPAN&gt;&lt;A href="http://resources.esri.com/arcgisserver/apis/flex/index.cfm?fa=codeGalleryDetails&amp;amp;scriptID=16822"&gt;http://resources.esri.com/arcgisserver/apis/flex/index.cfm?fa=codeGalleryDetails&amp;amp;scriptID=16822&lt;/A&gt;&lt;SPAN&gt;) with my own demographic data set. I can't find a way to customize the labeling, widget template, fonts etc. within the chart itself. I would like the chart widget to be much larger using a larger widget template I made, I would like the labelPosition to = "callout." The text is going to be changed, so will the colours of the "pie slices."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I customize the widget properties in the &amp;lt;mx:&amp;gt; tags then compile the application, none of my changes are represented in the widget. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have even attempted to modify the ChartWidget to be a Bar Chart series without success using &lt;/SPAN&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=158&amp;amp;f=2421&amp;amp;t=289432#900710"&gt;http://forums.esri.com/Thread.asp?c=158&amp;amp;f=2421&amp;amp;t=289432#900710&lt;/A&gt;&lt;SPAN&gt;. The process I went through was to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. copy the working ChartWidget.mxml and .xml then pasting them in the widget directory as BarChartWidget.mxml and .xml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. I then modify with .mxml with the code posted by Robert Scheitlin (&lt;/SPAN&gt;&lt;A href="http://forums.esri.com/Attachments/37439.txt"&gt;http://forums.esri.com/Attachments/37439.txt&lt;/A&gt;&lt;SPAN&gt;) with a straight copy and paste.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. The .xml was changed to reflect only one series of data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Again the BarChartWidget was added to the Flex Modules area of Project&amp;gt;Properties. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;5. Compiling the application resulted in the same spinning clock.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;6. The ChartWidget.swf was copied and renamed to BarChartWidget.swf. The widget compiles but has all the default ChartWidget settings including the fact that the chart is a Pie Chart.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure where to go from here in terms of customizing the widget. I would like to avoid creating my own widget from scratch.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for all the help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;Tom Lavery&lt;BR /&gt;GIS Analyst&lt;BR /&gt;&lt;BR /&gt;Trent University&lt;BR /&gt;Peterborough, ON.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 May 2010 19:04:56 GMT</pubDate>
    <dc:creator>TomLavery</dc:creator>
    <dc:date>2010-05-14T19:04:56Z</dc:date>
    <item>
      <title>Customizing Chart Widget in Sample Flex Viewer...</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/customizing-chart-widget-in-sample-flex-viewer/m-p/153180#M3588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello everyone, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been relatively successful in customizing the Sample Flex Viewer with various add-on widgets, added colours/symbology, and custom data. Considering I learned how to program using Flex about 1 week ago, things are going smoothly with the help of all the resources and forums. I am, however stuck on how to customize the chart widget. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was successful in implementing the enhanced chart widget (&lt;/SPAN&gt;&lt;A href="http://resources.esri.com/arcgisserver/apis/flex/index.cfm?fa=codeGalleryDetails&amp;amp;scriptID=16822"&gt;http://resources.esri.com/arcgisserver/apis/flex/index.cfm?fa=codeGalleryDetails&amp;amp;scriptID=16822&lt;/A&gt;&lt;SPAN&gt;) with my own demographic data set. I can't find a way to customize the labeling, widget template, fonts etc. within the chart itself. I would like the chart widget to be much larger using a larger widget template I made, I would like the labelPosition to = "callout." The text is going to be changed, so will the colours of the "pie slices."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I customize the widget properties in the &amp;lt;mx:&amp;gt; tags then compile the application, none of my changes are represented in the widget. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have even attempted to modify the ChartWidget to be a Bar Chart series without success using &lt;/SPAN&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=158&amp;amp;f=2421&amp;amp;t=289432#900710"&gt;http://forums.esri.com/Thread.asp?c=158&amp;amp;f=2421&amp;amp;t=289432#900710&lt;/A&gt;&lt;SPAN&gt;. The process I went through was to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. copy the working ChartWidget.mxml and .xml then pasting them in the widget directory as BarChartWidget.mxml and .xml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. I then modify with .mxml with the code posted by Robert Scheitlin (&lt;/SPAN&gt;&lt;A href="http://forums.esri.com/Attachments/37439.txt"&gt;http://forums.esri.com/Attachments/37439.txt&lt;/A&gt;&lt;SPAN&gt;) with a straight copy and paste.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. The .xml was changed to reflect only one series of data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Again the BarChartWidget was added to the Flex Modules area of Project&amp;gt;Properties. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;5. Compiling the application resulted in the same spinning clock.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;6. The ChartWidget.swf was copied and renamed to BarChartWidget.swf. The widget compiles but has all the default ChartWidget settings including the fact that the chart is a Pie Chart.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure where to go from here in terms of customizing the widget. I would like to avoid creating my own widget from scratch.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for all the help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;Tom Lavery&lt;BR /&gt;GIS Analyst&lt;BR /&gt;&lt;BR /&gt;Trent University&lt;BR /&gt;Peterborough, ON.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 19:04:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/customizing-chart-widget-in-sample-flex-viewer/m-p/153180#M3588</guid>
      <dc:creator>TomLavery</dc:creator>
      <dc:date>2010-05-14T19:04:56Z</dc:date>
    </item>
  </channel>
</rss>

