//int[,] IClassSeparabilityRenderer.arrColors
        //{
        //    get { return this.arrColors; }
        //    set { this.arrColors = value; }
        //}

        //int[,] IClassSeparabilityRenderer.arrSepLineColors
        //{
        //    get { return this.arrSepLineColors; }
        //    set { this.arrSepLineColors = value; }
        //}
        void IClassSeparabilityRenderer.CreateLegend()
        {
            double     dblLinewidth = 2;
            clsSnippet pSnippet     = new clsSnippet();

            m_pTwoLegendGroup = new LegendGroupsClass();
            //Create Legend Group
            ILegendGroup pLegendGroup = new LegendGroup();

            pLegendGroup.Heading  = null;
            pLegendGroup.Editable = true;
            pLegendGroup.Visible  = true;

            //intBrksCount = (arrClassBrks.Length * 2) - 3;
            intBrksCount = (pCSMembers.ClassBrks.Length * 2) - 3;

            //For Values
            ILegendClass legendClass = new LegendClass();

            ISimpleFillSymbol pSimpleFillSym = new SimpleFillSymbolClass();
            ISimpleLineSymbol pLineSym       = new SimpleLineSymbolClass();
            int intValueIdx   = 0;
            int intSepLineIdx = 0;

            int intLastIdx = pCSMembers.ClassBrks.Length - 2;

            legendClass          = new LegendClass();
            legendClass.Label    = "Estimates";
            pSimpleFillSym       = new SimpleFillSymbolClass();
            pSimpleFillSym.Color = (IColor)pSnippet.getRGB(pCSMembers.Colors[intLastIdx, 0], pCSMembers.Colors[intLastIdx, 1], pCSMembers.Colors[intLastIdx, 2]);
            legendClass.Symbol   = pSimpleFillSym as ISymbol;
            pLegendGroup.AddClass(legendClass);

            legendClass = new LegendClass();
            //legendClass.Label = "Separability Value";
            legendClass.Label = "-- Separability Value";
            pLineSym          = new SimpleLineSymbolClass();
            //pLineSym.Color = (IColor)pSnippet.getRGB(0, 0, 0);
            pLineSym.Color     = (IColor)pSnippet.getRGB(255, 255, 255);
            pLineSym.Width     = dblLinewidth;
            legendClass.Symbol = (ISymbol)pLineSym;
            pLegendGroup.AddClass(legendClass);
            m_pTwoLegendGroup.Add(pLegendGroup);

            //Create Legend Group
            pLegendGroup = new LegendGroup();
            //pLegendGroup.Heading = "-----------------";
            pLegendGroup.Heading  = "_____________";
            pLegendGroup.Editable = true;
            pLegendGroup.Visible  = true;

            for (int i = 0; i < intBrksCount; i++)
            {
                legendClass = new LegendClass();
                if (i % 2 == 0)
                {
                    intValueIdx = i / 2;
                    if (i == 0)
                    {
                        legendClass.Label = Math.Round(pCSMembers.ClassBrks[intValueIdx], intRoundingDigits).ToString() + " - " + (Math.Round(pCSMembers.ClassBrks[intValueIdx + 1], intRoundingDigits)).ToString();
                    }
                    else
                    {
                        legendClass.Label = (Math.Round(pCSMembers.ClassBrks[intValueIdx], intRoundingDigits) + (1 * Math.Pow(0.1, intRoundingDigits))).ToString() + " - " + (Math.Round(pCSMembers.ClassBrks[intValueIdx + 1], intRoundingDigits)).ToString();
                    }


                    pSimpleFillSym       = new SimpleFillSymbolClass();
                    pSimpleFillSym.Color = (IColor)pSnippet.getRGB(pCSMembers.Colors[intValueIdx, 0], pCSMembers.Colors[intValueIdx, 1], pCSMembers.Colors[intValueIdx, 2]);
                    legendClass.Symbol   = pSimpleFillSym as ISymbol;
                }
                else
                {
                    intValueIdx       = (i - 1) / 2;
                    legendClass.Label = "-- " + Math.Round(pCSMembers.Serabability[intValueIdx], intRoundingDigits).ToString();

                    intSepLineIdx = Convert.ToInt32(Math.Floor(pCSMembers.Serabability[intValueIdx] * 10));
                    pLineSym      = new SimpleLineSymbolClass();
                    //pLineSym.Color = (IColor)pSnippet.getRGB(arrSepLineColors[intSepLineIdx, 0], arrSepLineColors[intSepLineIdx, 1], arrSepLineColors[intSepLineIdx, 2]);
                    pLineSym.Color = (IColor)pSnippet.getRGB(255, 255, 255);
                    pLineSym.Width = dblLinewidth;

                    //ITextSymbol
                    //ITextSymbol textSymbol = new TextSymbol();


                    //legendClass.Format.LabelSymbol = textSymbol;


                    legendClass.Symbol = (ISymbol)pLineSym;
                }

                pLegendGroup.AddClass(legendClass);
            }
            m_pTwoLegendGroup.Add(pLegendGroup);
        }