Hi,

You will have to set the "itemRenderer" on the series. The below code would
probably help you:

<?xml version="1.0"?>
<!-- charts/BasicLine.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";>
  <mx:Script><![CDATA[
     import mx.collections.ArrayCollection;
     import mx.charts.renderers.CircleItemRenderer;
     [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:Panel title="Line Chart">
     <mx:LineChart id="myChart"
        dataProvider="{expenses}"
        showDataTips="true"
     >
        <mx:horizontalAxis>
           <mx:CategoryAxis
                dataProvider="{expenses}"
                categoryField="Month"
            />
        </mx:horizontalAxis>
        <mx:series>
           <mx:LineSeries
                yField="Profit"

displayName="Profit"*itemRenderer="mx.charts.renderers.CircleItemRenderer"
*
           />
           <mx:LineSeries
                yField="Expenses"
                displayName="Expenses" *
itemRenderer="mx.charts.renderers.CircleItemRenderer"*
           />
        </mx:series>
     </mx:LineChart>
     <mx:Legend dataProvider="{myChart}"/>
  </mx:Panel>
</mx:Application>


Regards,
Sangavi

On Wed, May 21, 2008 at 2:17 AM, Nate Pearson <[EMAIL PROTECTED]> wrote:

>
> Hmm...I can get this to work but I still don't see any little circles
> unless I hover.
>
> legendMarkerRenderer="mx.charts.renderers.CircleItemRenderer"
>
>
> --- In [email protected] <flexcoders%40yahoogroups.com>, "Nate
> Pearson" <[EMAIL PROTECTED]> wrote:
> >
> > uhhh...I have to create a custom item renderer? Damn you ely...
> >
> > Can't I just set it in properties?
> >
> > This does not work:
> > <mx:LineSeries yField="defectsFound" form="curve"
> > legendMarkerRenderer="CircleItemRenderer" displayName="Defects
> Found" />
> >
> > Can you be more specific? Code example?
> >
> > Thanks,
> >
> > Nate
> >
> >
> >
> >
> > --- In [email protected] <flexcoders%40yahoogroups.com>,
> "ryanphelan" <ryanphelan@> wrote:
> > >
> > > I think you're looking for the "itemRenderer" style on your
> > > LineSeries. Set to CircleItemRenderer to get circles.
> > >
> > > Ryan
> > >
> > > --- In [email protected] <flexcoders%40yahoogroups.com>,
> "Nate Pearson" <napearson99@>
> wrote:
> > > >
> > > > I have a line chart with multiple line series. I want that little
> > > > circle marker looking thingy to show up all the time (not only
> when I
> > > > hover). I know it's some simple property setting but I can't
> seem to
> > > > find it!
> > > >
> > > > Thanks!
> > > >
> > > > Nate
> > > >
> > >
> >
>
>  
>

Reply via email to