| | |
| | | DevExpress.XtraCharts.LayoutDefinition layoutDefinition3 = new DevExpress.XtraCharts.LayoutDefinition(); |
| | | DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series(); |
| | | DevExpress.XtraCharts.SplineSeriesView splineSeriesView1 = new DevExpress.XtraCharts.SplineSeriesView(); |
| | | chartControl1 = new DevExpress.XtraCharts.ChartControl(); |
| | | chartControl1 = new DevExpress.XtraCharts.ChartControl(); |
| | | ((System.ComponentModel.ISupportInitialize)chartControl1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)xyDiagram1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)constantLine1).BeginInit(); |
| | |
| | | constantLine1.Title.Alignment = DevExpress.XtraCharts.ConstantLineTitleAlignment.Far; |
| | | constantLine1.Title.DXFont = new DevExpress.Drawing.DXFont("Tahoma", 8F); |
| | | constantLine1.Title.Text = "ConstantLineZ"; |
| | | constantLine1.Visible = false; |
| | | xyDiagram1.AxisX.ConstantLines.AddRange(new DevExpress.XtraCharts.ConstantLine[] { constantLine1 }); |
| | | xyDiagram1.AxisX.Title.Text = "流量 (m³/h)"; |
| | | xyDiagram1.AxisX.Title.Visibility = DevExpress.Utils.DefaultBoolean.Default; |
| | |
| | | constantLine2.ConstantLineID = 0; |
| | | constantLine2.Name = "ConstantLineY"; |
| | | constantLine2.ShowInLegend = false; |
| | | constantLine2.Visible = false; |
| | | xyDiagram1.AxisY.ConstantLines.AddRange(new DevExpress.XtraCharts.ConstantLine[] { constantLine2 }); |
| | | xyDiagram1.AxisY.Label.TextColor = Color.DodgerBlue; |
| | | xyDiagram1.AxisY.Title.Alignment = StringAlignment.Far; |
| | |
| | | }; |
| | | chartControl1.Size = new Size(1023, 857); |
| | | chartControl1.TabIndex = 0; |
| | | // |
| | | // UniversalChart |
| | | // |
| | | // UniversalViewChart |
| | | // |
| | | AutoScaleDimensions = new SizeF(10F, 22F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(chartControl1); |
| | | Name = "UniversalChart"; |
| | | Name = "UniversalViewChart"; |
| | | Size = new Size(1023, 857); |
| | | ((System.ComponentModel.ISupportInitialize)constantLine1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)constantLine2).EndInit(); |