a custom series? this is big.
isnt this possible to do inside the series itemRenderer?

i have started checking this option on a columnSeries itemRenderer and
gotten this far:
i have a getter and setter for data:
public function get data():Object
{
        return _data;
}
public function set data(value:Object):void
{
        value.yValue = 30;
        _data = value;
}

and after that the updateDisplayList function.

what i get is the columns in the chart rendered as the yValue havent
changed (like it is in the dataProvider), BUT - when hovering the cols
i see in all the dataTips the value is indeed 30!
how do i make it render the values from the setter. i tried to put
invalidateDisplayList as the last line in the setter - not working

--- In [email protected], "Ely Greenfield" <[EMAIL PROTECTED]> wrote:
>
>  
>  
> To format the data, it would be much easier to pre-process the data
> before you assign it to the chart. If you want to build the formatting
> into the chart itself, you'll have to write a custom series, which would
> be a lot more work.
>  
> Ely.
>  
> 
> ________________________________
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of shemeshkale
> Sent: Wednesday, November 22, 2006 4:27 AM
> To: [email protected]
> Subject: [flexcoders] Re: what is the best way to format a chart data
> 
> 
> 
> someone can help?
> 
> --- In [email protected] <mailto:flexcoders%40yahoogroups.com>
> , "shemeshkale" <baldhead72@> wrote:
> >
> > i have a chart. (horay..)
> > i need to format this chart's data.
> > for example: in a LineSeries whenever i get a point with a value of
> > zero i want to change this value to be null.
> > 
> > what/where is the best way to do this?
> > 
> > i was thinking inside an itenRenderer, is this a good idea?? if so -
> > how would i do that.
> >
>



Reply via email to