Ask a questionAsk a question
 

Questionchanging data in zoom event

  • Thursday, November 05, 2009 4:02 PMTurtle64 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    When the user deeply zooms into a chart, I want to replace the Series with more detailed data.
    In the AxisViewChanging and AxisViewChanged events, I can find out to what
    range the user wants to zoom.
    But when I delete the existing Series and replace them by others in the AxisViewChanging
    or AxisViewChanged event, I get an InvalidOperatonException.
    Unfortunately I have the error text in German only,
    in Englisch it might be something like "The list has been changed.
    Eventually the enumeration can not be processed".
    Is there another event that is raised when Chart Control has finished its update
    where I can exchange the data?
    Is there a safe method to exchange the data in the middle of the zoom event?