You will have to remove from renderer from the verticalAxisRenderers
array and re-assign the value to verticalAxisRenderers

 

Something like

 

verticalAxisRenderers = verticalAxisRenderers.splice(index,1), this will
make the chart to re-render without the unwanted vertical Axis.

 

Thanks

-Sunil

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Rodrigo Pereira Fraga
Sent: Thursday, August 30, 2007 8:15 PM
To: [email protected]
Subject: [flexcoders] Re: Flex 3 with Multiples Axis (Visual Error) BUG?

 

hi!

I add the Axis,
when I go to remove, the Flex don't update the Chart, it don't remove 
the "image" of the VerticalAxis, when I go to add, the Chart distorts.

=/

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "guna.samba" <[EMAIL PROTECTED]> wrote:
>
> When the chart get distorted, while changing any action or from the 
> begining (loading..)
> 
> --- In [email protected]
<mailto:flexcoders%40yahoogroups.com> , "Rodrigo Pereira Fraga" 
> <rpffoz@> wrote:
> >
> > Please...
> > 
> > I need Help! =/
> > 
> > http://img480.imageshack.us/my.php?image=linecharterrorgt7.jpg
<http://img480.imageshack.us/my.php?image=linecharterrorgt7.jpg> 
> > 
> > >
> > > Hi!
> > > 
> > > I am using Flex3, and I create VerticalAxis, and Series 
> Dynamically.
> > > 
> > > but when inserting and removing the VerticalAxis, the display 
of 
> > > chart goes being distorted.
> > > 
> > > I need a method to repaint!!!
> > > 
> > > 
> > > 
> > > 
> > > 
> > > --- In [email protected]
<mailto:flexcoders%40yahoogroups.com> , "guna.samba" <gunase29@> 
wrote:
> > > >
> > > > i think u need to show ur chart with dynamic axis and with 
out 
> > > > dynamic axis.
> > > > If this is ur question,
> > > > there may be some good way to solve the problem in flex 
3.
> > > > but as my knowledge, u can do this by setting visible option 
in 
> > > > vertical axis dynamically,
> > > > but the problem is chart will not get reloaded when 
using 
> > the 
> > > > above way, just the axis and supporing series get disabled.
> > > > 
> > > > In order to repaint the chart, u have to dynamicaly generate 
> the 
> > > > series. there is some way to create the series dynamically.
> > > > 
> > > > 
> > > > 
> > > > --- In [email protected]
<mailto:flexcoders%40yahoogroups.com> , "Rodrigo Pereira Fraga" 
> > > > <rpffoz@> wrote:
> > > > >
> > > > > Hi!
> > > > > 
> > > > > I put and remove Dynamic Axis, and when I remove the axis:
> > > > > 
> > > > > http://img480.imageshack.us/my.php?
<http://img480.imageshack.us/my.php?> 
image=linecharterrorgt7.jpg
> > > > > 
> > > > > how I can update the chart?
> > > > > with chart.validateNow();
> > > > > I dont have success.
> > > > > 
> > > > > in the AdobeFlex exists repaint, or something thus?
> > > > >
> > > >
> > >
> >
>

 

Reply via email to