Hi all,

I have a class that extends GridLines in a Flex chart. GridLines is itself a 
subclass of ChartElement.

I need the gridlines to redraw whenever the min/max of the axes changes. I can 
get it to redraw but in updateDisplayList method, the reference dataTransform 
object does not contain the most recent axis minimum and maximum values even 
though I see these values changes if I inspect the axis through the chart 
object itself. The dataTransform object in my GridLines subclass sees updated 
axis min/max when I set min/max the values manually but not when they are 
auto-generated by the axis itself.

How would I force the gridlines to update the dataTransform object? I tried 
invalidating cache of the axis but that did not make any difference. 

If anyone can give me a hint in which direction to go, I would appreciate it a 
lot. 

Thanks in advance.
Denis

Reply via email to