The default appearance of the lines in a LineChart control is with drop shadows. You can remove these shadows by setting the chart control's seriesFilters property to an empty Array, as the following example shows:
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script><![CDATA[
import mx.collections.ArrayCollection;
[Bindable]
public var expenses:ArrayCollection = new ArrayCollection([
{Month: "Jan", Profit: 2000, Expenses: 1500, Amount: 450},
{Month: "Feb", Profit: 1000, Expenses: 200, Amount: 600},
{Month: "Mar", Profit: 1500, Expenses: 500, Amount: 300}
]);
]]></mx:Script>
<mx:LineChart id="myChart" dataProvider="{expenses}">
<mx:seriesFilters>
<mx:Array/>
</mx:seriesFilters>
<mx:horizontalAxis>
<mx:CategoryAxis dataProvider="{expenses}" categoryField="Month"/>
</mx:horizontalAxis>
<mx:series>
<mx:LineSeries yField="Profit" displayName="Profit"/>
<mx:LineSeries yField="Expenses" displayName="Expenses"/>
<mx:LineSeries yField="Amount" displayName="Amount"/>
</mx:series>
</mx:LineChart>
</mx:Application>
You can also set the value of the seriesFilters property programmatically, as the following example shows:
myLineChart.seriesFilters = [];
> -----Original Message-----
> From: [email protected]
> [mailto:[EMAIL PROTECTED] On Behalf Of sp0rarb3jd3r
> Sent: Thursday, June 01, 2006 3:58 AM
> To: [email protected]
> Subject: [flexcoders] how to shut off the DropshadowEffect of
> the lineChartSeries
>
> well basically i just want to shut of the drop shadow effect
> of the line charts so that i get only the straight-on lines.
> I tried to apply another line renderer but either i declare
> it wrong or it gets overridden.
> does anyone know how to do this?
>
> incidentally...if there is a noble and very flexchartsavvy
> person ...any way to change the indicators in a plotseries.
> so they dont appear as diamonds. but say,...flags....?
>
>
>
>
>
> ------------------------ Yahoo! Groups Sponsor
> --------------------~--> Home is just a click away. Make
> Yahoo! your home page now.
> http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM
> --------------------------------------------------------------
> ------~->
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
--
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.

