| | |
| | | private void InitializeComponent() |
| | | { |
| | | components = new System.ComponentModel.Container(); |
| | | DevExpress.XtraCharts.TextAnnotation textAnnotation1 = new DevExpress.XtraCharts.TextAnnotation(); |
| | | DevExpress.XtraCharts.ChartAnchorPoint chartAnchorPoint1 = new DevExpress.XtraCharts.ChartAnchorPoint(); |
| | | DevExpress.XtraCharts.RelativePosition relativePosition1 = new DevExpress.XtraCharts.RelativePosition(); |
| | | DevExpress.XtraCharts.XYDiagram xyDiagram1 = new DevExpress.XtraCharts.XYDiagram(); |
| | | DevExpress.XtraCharts.ConstantLine constantLine1 = new DevExpress.XtraCharts.ConstantLine(); |
| | | DevExpress.XtraCharts.LayoutDefinition layoutDefinition1 = new DevExpress.XtraCharts.LayoutDefinition(); |
| | | DevExpress.XtraCharts.LayoutDefinition layoutDefinition2 = new DevExpress.XtraCharts.LayoutDefinition(); |
| | | DevExpress.XtraCharts.LayoutDefinition layoutDefinition3 = new DevExpress.XtraCharts.LayoutDefinition(); |
| | |
| | | barDockControlRight = new DevExpress.XtraBars.BarDockControl(); |
| | | bar1 = new DevExpress.XtraBars.Bar(); |
| | | ((System.ComponentModel.ISupportInitialize)chartControl1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)textAnnotation1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)xyDiagram1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)constantLine1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)xyDiagramPane1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)secondaryAxisy1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)secondaryAxisy2).BeginInit(); |
| | |
| | | // |
| | | // chartControl1 |
| | | // |
| | | chartAnchorPoint1.X = 951; |
| | | chartAnchorPoint1.Y = 30; |
| | | textAnnotation1.AnchorPoint = chartAnchorPoint1; |
| | | textAnnotation1.AnnotationID = 0; |
| | | textAnnotation1.AutoHeight = true; |
| | | textAnnotation1.AutoWidth = true; |
| | | textAnnotation1.BackColor = Color.FromArgb(255, 255, 255); |
| | | textAnnotation1.ConnectorStyle = DevExpress.XtraCharts.AnnotationConnectorStyle.None; |
| | | textAnnotation1.Name = "TextAnnoWorkPoint"; |
| | | relativePosition1.Angle = -131.51672853100234D; |
| | | relativePosition1.ConnectorLength = 81.467785044151043D; |
| | | textAnnotation1.ShapePosition = relativePosition1; |
| | | textAnnotation1.Text = "工作点"; |
| | | textAnnotation1.TextColor = Color.FromArgb(0, 0, 0); |
| | | chartControl1.AnnotationRepository.AddRange(new DevExpress.XtraCharts.Annotation[] { textAnnotation1 }); |
| | | chartControl1.BorderOptions.Visibility = DevExpress.Utils.DefaultBoolean.False; |
| | | constantLine1.AxisValueSerializable = "1"; |
| | | constantLine1.ConstantLineID = 0; |
| | | constantLine1.LineStyle.LineJoin = System.Drawing.Drawing2D.LineJoin.Miter; |
| | | constantLine1.LineStyle.Thickness = 2; |
| | | constantLine1.Name = "WorkPointLine"; |
| | | constantLine1.ShowInLegend = false; |
| | | constantLine1.Title.DXFont = new DevExpress.Drawing.DXFont("Tahoma", 8F); |
| | | constantLine1.Title.Text = "工作点"; |
| | | xyDiagram1.AxisX.ConstantLines.AddRange(new DevExpress.XtraCharts.ConstantLine[] { constantLine1 }); |
| | | xyDiagram1.AxisX.Title.Text = "流量 (m³/h)"; |
| | | xyDiagram1.AxisX.Title.Visibility = DevExpress.Utils.DefaultBoolean.Default; |
| | | xyDiagram1.AxisX.VisibleInPanesSerializable = "-1"; |
| | |
| | | Controls.Add(barDockControlTop); |
| | | Name = "PumpVariableSpeedViewChart"; |
| | | Size = new Size(1023, 857); |
| | | ((System.ComponentModel.ISupportInitialize)textAnnotation1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)constantLine1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)xyDiagramPane1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)secondaryAxisy1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)secondaryAxisy2).EndInit(); |