<mx:Stroke id="StrokeInstance" color="#FFFFFF" />
LineSeries.setStyle("lineStroke", StrokeInstance); //the chart line color
LineSeries.setStyle ("stroke", StrokeInstance); //the outside stroke of the plot point renderer
LineSeries.setStyle("fill", #FFFFFF); //the inner fill of the plot point renderer
Thanks guys,
Brendan
On 6/22/06, Matt Horn <[EMAIL PROTECTED]> wrote:
Here's an example:
<mx:LineSeries yField="y"
itemRenderer="mx.charts.renderers.CircleItemRenderer" radius="7">
<!-- This defines the circle's border -->
<mx:stroke>
<mx:Stroke color="0x00CC33" weight="1"/>
</mx:stroke>
<!-- This defines the line itself -->
<mx:lineStroke>
<mx:Stroke color="0x00CC33" weight="4"/>
</mx:lineStroke>
</mx:LineSeries>
hth,
matt horn
flex docs
> -----Original Message-----
> From: [email protected]> [mailto:[email protected]] On Behalf Of Ely Greenfield
> Sent: Thursday, June 22, 2006 2:59 PM
> To: [email protected]> Subject: RE: [flexcoders] simple charting question
>
>
>
>
> The shipping renderers ask for the series' stroke and fill
> styles, and use them to draw themselves. The line renderer,
> on the other hand, asks for the lineStroke style. So you
> probably just need to set your stroke style as well.
>
> Ely.
>
>
> ________________________________
>
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Brendan Meutzner
> Sent: Thursday, June 22, 2006 10:59 AM
> To: [email protected]
> Subject: Re: [flexcoders] simple charting question
>
>
>
> Ely,
>
> I implemented this yesterday on a LineSeries which has a
> custom color applied to it... however, none of the built-in
> renderers applied the custom colors... they defaulted to the
> usual dull orange, green, blue, etc... How would I apply a
> custom color to the renderers?
>
> Thanks,
>
> Brendan
>
>
> On 6/22/06, Ely Greenfield <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Look in the docs for details on itemRenderes on LineSeries.
>
> <LineSeries
> itemRenderer="mx.charts.renderers.CircleItemRenderer" radius="5" />
>
> etc.
>
> Ely.
>
>
>
> ________________________________
>
> From: [email protected]
> [mailto:[email protected]] On Behalf Of hank williams
> Sent: Thursday, June 22, 2006 9:37 AM
> To: [email protected]
> Subject: [flexcoders] simple charting question
>
>
>
>
> If I have a line chart, and I want there to be bullets
> at each of the data points how do I turn this feature on.
>
> Hank
>
>
>
>
>
>
>
>
>
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
![]()
SPONSORED LINKS
Web site design development Computer software development Software design and development Macromedia flex Software development best practice
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___
Reply via email to

