private void BuildTheLastMetrix()
        {
            if (_currentmetrix != null)
            {
                if ((_currentmetrix as Cell).Visible)
                {
                    AddToNewLinesFromRows();
                    _rows.Clear();
                }

                if (_captiontoname != null)
                {
                    foreach (Cell cell in _currentcells)
                    {
                        if (cell is Chart && (cell as Chart).DataSource.ToLower().Trim() == (_currentmetrix as Cell).Name.ToLower().Trim())
                        {
                            Hashtable h = new Hashtable();
                            h.Add((cell as Chart).Level, _designcaptiontodesignname);
                            (cell as Chart).CaptionToName = h;

                            (cell as Chart).DrillTag = _chartdrilldata;
                        }
                    }
                    _captiontoname.Clear();
                }

                _captiontoname             = null;
                _currenttable              = null;
                _designcaptiontodesignname = null;
                _rowsheight           = 0;
                _cellnametocolumnname = null;
                _chartdrilldata       = null;
            }
        }
Example #2
0
 public void Dispose()
 {
     _data.Clear();
     _data     = null;
     _semirow  = null;
     _minorrow = null;
     _reader   = null;
 }