Пример #1
0
        private void chart1_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            HitTestResult htr = chart1.HitTest(e.X, e.Y);

            //int time = 0;
            if (htr.PointIndex < 0)
            {
                return;
            }
            string keyword = "";

            keyword = chart1.Series["Data"].Points[htr.PointIndex].AxisLabel;
            string KE = "E";

            if (kidlist.SelectedIndex != kidlist.Items.Count - 1 && kwlist.SelectedIndex != kwlist.Items.Count - 1)
            {
                KE = "K";
            }
            else
            {
                KE = "E";
            }

            ChartDetailData cdd = new ChartDetailData(keyword, "全网", KE, DataSelected);

            cdd.ShowDialog();
        }
Пример #2
0
        private void allKwChart_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            HitTestResult htr = chart10.HitTest(e.X, e.Y);
            //int time = 0;
            if (htr.PointIndex < 0)
            {
                return;
            }
            string keyword = "";
            keyword = chart10.Series["Series"].Points[htr.PointIndex].AxisLabel;

            //ChartDetailData cdd = new ChartDetailData(0, keyword, "全网", time, "U");
            ChartDetailData cdd = new ChartDetailData(keyword, "全网", "K", DataSelected);
            cdd.ShowDialog();
        }
Пример #3
0
        private void allKwChart_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            HitTestResult htr = chart10.HitTest(e.X, e.Y);

            //int time = 0;
            if (htr.PointIndex < 0)
            {
                return;
            }
            string keyword = "";

            keyword = chart10.Series["Series"].Points[htr.PointIndex].AxisLabel;

            //ChartDetailData cdd = new ChartDetailData(0, keyword, "全网", time, "U");
            ChartDetailData cdd = new ChartDetailData(keyword, "全网", "K", DataSelected);

            cdd.ShowDialog();
        }
Пример #4
0
        private void chart1_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            HitTestResult htr = chart1.HitTest(e.X, e.Y);
            //int time = 0;
            if (htr.PointIndex < 0)
            {
                return;
            }
            string keyword = "";
            keyword = chart1.Series["Data"].Points[htr.PointIndex].AxisLabel;
            string KE = "E";
            if (kidlist.SelectedIndex != kidlist.Items.Count - 1 && kwlist.SelectedIndex != kwlist.Items.Count - 1)
            {
                KE = "K";
            }
            else
            {
                KE = "E";
            }

            ChartDetailData cdd = new ChartDetailData(keyword, "全网", KE, DataSelected);
            cdd.ShowDialog();
        }