当前位置: 首页>>代码示例>>C#>>正文


C# Chart.SetTime方法代码示例

本文整理汇总了C#中Chart.SetTime方法的典型用法代码示例。如果您正苦于以下问题:C# Chart.SetTime方法的具体用法?C# Chart.SetTime怎么用?C# Chart.SetTime使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Chart的用法示例。


在下文中一共展示了Chart.SetTime方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: InitializeInterface


//.........这里部分代码省略.........
            this.tabPage1.Location = this.panel1.Location = new System.Drawing.Point(0, 0);
            this.tabPage1.Name = "tabPage1";
            this.tabPage1.Size = new System.Drawing.Size(240, 242);
            this.tabPage1.Text = "Visualize";

            // 
            // tabPage2
            // 
            this.panel2.Controls.Add(this.label5);
            if (this.sensors.IsHR) //only add it if there it a HR
                this.panel2.Controls.Add(this.label4);
            this.panel2.Controls.Add(this.pictureBox1);
            this.panel2.Controls.Add(this.label3);
            this.panel2.Controls.Add(this.label2);
            this.panel2.Controls.Add(this.label1);
            this.panel2.Controls.Add(this.resetButton);
            this.panel2.Controls.Add(this.startStopButton);
            this.tabPage2.Location = new System.Drawing.Point(0, 0);
            this.tabPage2.Name = "tabPage2";
            this.tabPage2.Size = new System.Drawing.Size(232, 239);
            this.tabPage2.Text = "Annotate";
            // 
            // tabPage3
            // 
            //this.tabPage3.Controls.Add(this.label6);
            //this.tabPage3.Controls.Add(this.label16);

            GpStatusPlus stat = NativeMethods.GdiplusStartup(out token, input, out output);            
            pieChart = new Charts.twodimensional.PieChart();
            pieChart.IsStretch = true;
            this.aList = new ActivitySummary.Reader(null, this.dataDirectory).parse();
            pieChart.Data = aList.toPercentHashtable();
            pieChart.SetActivity("No Activity");
            pieChart.SetTime(0, 0,0);
            pieChart.SetCalories(0, 0);
            this.tabPage3.Controls.Add(pieChart);
        //pieChartClearButton = new Button();
        //pieChartClearButton.Text = "Clear";
        //pieChartClearButton.Name = "pieChartButton";
        //pieChartClearButton.Size = new System.Drawing.Size(72, 20);
        //pieChartClearButton.Location = new Point(0, 0);
        //pieChartClearButton.Click += new System.EventHandler(this.pieChartClearButton_Click);
        //this.tabPage3.Controls.Add(pieChartClearButton);

            
            this.tabPage3.Location = new System.Drawing.Point(0, 0);
            this.tabPage3.Name = "tabPage3";
            this.tabPage3.Size = new System.Drawing.Size(232, 239);
            this.tabPage3.Text = "Summary";
            // tabPage4
            // 
            this.panel4.Controls.Add(this.label8);
            this.panel4.Controls.Add(this.label7);
            this.panel4.Controls.Add(this.label9);
            this.tabPage4.Location = new System.Drawing.Point(0, 0);
            this.tabPage4.Name = "tabPage4";
            this.tabPage4.Size = new System.Drawing.Size(232, 239);
            this.tabPage4.Text = "Quality";

            //tabPage5
            //

            this.tabPage5.Controls.Add(this.label17);
            this.tabPage5.Controls.Add(this.pictureBox2);
            this.tabPage5.Controls.Add(this.button2);
开发者ID:intille,项目名称:mitessoftware,代码行数:66,代码来源:MITesDataCollectionForm.Designer.cs


注:本文中的Chart.SetTime方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。