private void showAnalysisResult(string chartType, Dictionary <string, string> ruleSpec, string command)
        {
            MtbHandler mtbExcute = new MtbHandler(selectKey, MapData[selectKey], command);

            Dictionary <string, object> result = mtbExcute.MtbAnalysis(chartType, ruleSpec);

            string key = selectKey + "_" + chartType;

            if (this.tbControl.TabPages.ContainsKey(key))
            {
                this.tbControl.TabPages.Remove(this.tbControl.TabPages[key]);
            }

            this.tbControl.TabPages.Add(key, key);

            if (chartType == "Capability")
            {
                Capability analysisResult = new Capability(result);
                this.tbControl.TabPages[key].Controls.Add(analysisResult);
                analysisResult.Dock = DockStyle.Fill;
                analysisResult.DisplayResultInfo();
                analysisResult.DrawImage(System.AppDomain.CurrentDomain.BaseDirectory + selectKey + "_" + chartType + ".PNG");
            }
            else
            {
                ControlChart analysisResult = new ControlChart(result, chartType);
                this.tbControl.TabPages[key].Controls.Add(analysisResult);
                analysisResult.Dock = DockStyle.Fill;
                analysisResult.DisplayResultInfo();
                analysisResult.DrawImage(System.AppDomain.CurrentDomain.BaseDirectory + selectKey + "_" + chartType + ".PNG");
            }

            tbControl.TabPages[key].Select();
        }