<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>a timocracy of one: Getting circle/diamond/etc datapoints on an ActionScript dynamically created Flex charting lineseries</title>
    <link>http://www.timocracy.com/articles/2008/04/11/getting-circle-diamond-etc-datapoints-on-an-actionscript-dynamically-created-flex-charting-lineseries</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Tim Connor's Blog</description>
    <item>
      <title>Getting circle/diamond/etc datapoints on an ActionScript dynamically created Flex charting lineseries</title>
      <description>&lt;code&gt;&lt;pre&gt;
myLineseries.setStyle("itemRenderer", new ClassFactory(DiamondItemRenderer));
&lt;/code&gt;&lt;/pre&gt;

	&lt;p&gt;It works similarly for lineSegmentRenderers, even custom ones, like &lt;a href="http://www.quietlyscheming.com/blog/2006/05/30/32/"&gt;Quietly Scheming&amp;#8217;s Dashed Line Renderer&lt;/a&gt;.  I just need to figure out how to set a parameter for the renderer created by the class factory now, so I can use different patterns of spaces to make different dashed and dotted lines.&lt;/p&gt;</description>
      <pubDate>Fri, 11 Apr 2008 11:40:00 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:1ea78ee7-dab2-47f0-b0fa-6dbaad7c7cb7</guid>
      <author>Tim Connor</author>
      <link>http://www.timocracy.com/articles/2008/04/11/getting-circle-diamond-etc-datapoints-on-an-actionscript-dynamically-created-flex-charting-lineseries</link>
      <category>Misc</category>
      <category>flex</category>
      <category>charting</category>
      <category>actionscript</category>
    </item>
    <item>
      <title>"Getting circle/diamond/etc datapoints on an ActionScript dynamically created Flex charting lineseries" by Tim Connor</title>
      <description>&lt;p&gt;Thankfully that was solved pretty quickly: &lt;a href="http://blog.flashgen.com/components/implementation/flex/itemrendering-pt1/" rel="nofollow"&gt;setting itemRenderer properties via a ClassFactory&lt;/a&gt;&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
var foo:ClassFactory = new ClassFactory(DashedLineRenderer);
foo.properties = {pattern: [10,2,5]}
&lt;/code&gt;&lt;/pre&gt;</description>
      <pubDate>Fri, 11 Apr 2008 11:56:57 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:19115670-8fb9-43bb-8698-3aef2a9cb942</guid>
      <link>http://www.timocracy.com/articles/2008/04/11/getting-circle-diamond-etc-datapoints-on-an-actionscript-dynamically-created-flex-charting-lineseries#comment-218</link>
    </item>
  </channel>
</rss>
