private void RemovePreviousObjects()
 {
     try
     {
         if (chartVu != null)
         {
             ArrayList arrObjects = chartVu.GetChartObjectsArrayList();
             int       iCount     = arrObjects.Count;
             if (arrObjects != null)
             {
                 for (int iCtr = 0; iCtr < iCount; iCtr++)
                 {
                     GraphObj objObject = (GraphObj)arrObjects[0];
                     Type     obj       = objObject.GetType();
                     chartVu.DeleteChartObject(objObject);
                 }
             }
             chartVu.UpdateDraw();
         }
     }
     catch (Exception ex)
     {
     }
 }