/// <summary>
 /// Removes a graph input handler from the control
 /// </summary>
 public void RemoveGraph( IGraphInputHandler handler )
 {
     if ( handler == null )
     {
         throw new ArgumentNullException( "handler" );
     }
     if ( m_Handlers.Contains( handler ) )
     {
         handler.Detach( this );
         m_Handlers.Remove( handler );
         Invalidate( );
     }
 }
 /// <summary>
 /// Adds a graph input handler to the control
 /// </summary>
 public void AddGraph( IGraphInputHandler handler )
 {
     if ( handler == null )
     {
         throw new ArgumentNullException( "handler" );
     }
     if ( !AllowMultipleGraphs )
     {
         ClearGraphs( );
     }
     handler.Attach( this );
     m_Handlers.Add( handler );
     Invalidate( );
 }