private void GraphSettingForm_Load(object sender, EventArgs e)
        {
            // グラフ設定値の取得
            graphSettings.ReadConfig();

            // 軸フォントサイズのコンボ項目設定
            axisFontSizeCombo.SetComboItems(axisFontSizeItems, graphSettings.GetInteger("Graph", "AxisFontSize", 22));

            // タイトルフォントサイズのコンボ項目設定
            titleFontSizeCombo.SetComboItems(titleFontSizeItems, graphSettings.GetInteger("Graph", "TitleFontSize", 22));

            // 背景色
            //GraphBackColor = graphSettings.GetColor("Graph", "GraphBackColor", Color.FromArgb(0xff, 0x53, 0x53, 0x53));
            GraphBackColor = graphSettings.GetColor("Graph", "GraphBackColor", Color.Silver);

            // グラデーション
            Gradation = graphSettings.GetBool("Graph", "Gradation", true);

            // タイトル文字色
            TitleColor = graphSettings.GetColor("Graph", "TitleColor", Color.Olive);

            // LINE幅
            lineWidthCombo.SetComboItems(lineWidthItems, graphSettings.GetInteger("Graph", "LineWidth", 1));
        }
        /// <summary>
        /// フォームロード
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void GraphControl_Load(object sender, EventArgs e)
        {
            this.toolStrip1.Width = this.Width;

            zoomFromText.Text = string.Format("{0:F1}", 0 / 1000.0);
            zoomToText.Text   = string.Format("{0:F1}", 60 * 1000 / 1000.0);

            int displayDataSpan = Constants.GRAPH_REFRASH_INTERVAL;

            // グラフ設定値の取得
            graphSettings.ReadConfig();

            foreach (GraphView graphView in graphViews)
            {
                graphView.TitleFontSize      = graphSettings.GetInteger("Graph", "TitleFontSize", 22);
                graphView.TitleColor         = graphSettings.GetColor("Graph", "TitleColor", Color.Red);
                graphView.YAxisTitleFontSize = graphSettings.GetInteger("Graph", "AxisFontSize", 22);
                graphView.YAxisScaleFontSize = graphSettings.GetInteger("Graph", "AxisFontSize", 22);
                graphView.XAxisTitleFontSize = graphSettings.GetInteger("Graph", "AxisFontSize", 22);
                graphView.XAxisScaleFontSize = graphSettings.GetInteger("Graph", "AxisFontSize", 22);
                graphView.DataLabelFontSize  = graphSettings.GetInteger("Graph", "ItemFontSize", 2);
                //graphView.GraphBackColor = graphSettings.GetColor("Graph", "GraphBackColor", Color.FromArgb(0xff, 0x53, 0x53, 0x53));
                graphView.GraphBackColor  = graphSettings.GetColor("Graph", "GraphBackColor", Color.Silver);
                graphView.Gradation       = graphSettings.GetBool("Graph", "Gradation", true);
                graphView.NewDataOnlySpan = Convert.ToDouble(displayDataSpan);
            }

            // 最新表示モード時間幅
            //newDataOnlySpan.Text = graphSettings.GetStringValue("newDataOnlySpan", "span", "15.0");
            //zoomToText.Text = graphSettings.GetStringValue("newDataOnlySpan", "span", "15.0");
            newDataOnlySpan.Text = string.Format("{0:0.0}", displayDataSpan);
            zoomToText.Text      = string.Format("{0:0.0}", displayDataSpan);

            this.ParentForm.FormClosed += new FormClosedEventHandler(ParentForm_FormClosed);


            // デフォルトをスクロールモードにする
            this.autoScrollCheck.Checked = true;
        }