have you tried calling invalidateDisplayList() or
invalidateProperties() after editing the series array?


--- In [email protected], "cuddlygunchi" <[EMAIL PROTECTED]> wrote:
>
> Hello,
> 
> I give the user an option to make a series visible / invisible in a 
> chart. However, the Y axis is always scaled according to the largest 
> value a series can take, no matter if its visible or not.
> 
> How can I make the Y axis scale according to only the visible series in 
> my chart? 
> 
> I could perhaps get this effect if I remove the series item instead of 
> just setting its visible to false. But when I dynamically add / remove 
> series to the array, it does not recreate the chart and all the series 
> just stay there.
> 
> Many Thanks,
> Aman
>


Reply via email to