public void CreateLegend()
        {
            Legend aLegend = new Legend();
            PointD aPoint  = new PointD();

            double width = _maxX - _minX;

            aPoint.X = _minX + width / 4;
            aPoint.Y = _minY + width / 100;
            Legend.legendPara lPara = new Legend.legendPara();
            lPara.startPoint    = aPoint;
            lPara.isTriangle    = true;
            lPara.isVertical    = false;
            lPara.length        = width / 2;
            lPara.width         = width / 100;
            lPara.contourValues = _CValues;

            _legendPolygons = Legend.CreateLegend(lPara);
        }