| | |
| | | textAnnotation1.TextAlignment = System.Drawing.StringAlignment.Near; |
| | | this.chartControl1.AnnotationRepository.AddRange(new DevExpress.XtraCharts.Annotation[] { |
| | | textAnnotation1}); |
| | | this.chartControl1.BorderOptions.Visibility = DevExpress.Utils.DefaultBoolean.False; |
| | | this.chartControl1.BorderOptions.Visible = DevExpress.Utils.DefaultBoolean.False; |
| | | constantLine1.AxisValueSerializable = "1"; |
| | | constantLine1.LineStyle.LineJoin = System.Drawing.Drawing2D.LineJoin.Miter; |
| | | constantLine1.LineStyle.Thickness = 2; |
| | |
| | | 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.Title.Visible = DevExpress.Utils.DefaultBoolean.Default; |
| | | xyDiagram1.AxisX.VisibleInPanesSerializable = "-1"; |
| | | xyDiagram1.AxisY.Color = System.Drawing.Color.DodgerBlue; |
| | | constantLine2.AxisValueSerializable = "1"; |
| | |
| | | xyDiagram1.AxisY.Title.EnableAntialiasing = DevExpress.Utils.DefaultBoolean.False; |
| | | xyDiagram1.AxisY.Title.Text = "扬程/m"; |
| | | xyDiagram1.AxisY.Title.TextColor = System.Drawing.Color.DodgerBlue; |
| | | xyDiagram1.AxisY.Title.Visibility = DevExpress.Utils.DefaultBoolean.True; |
| | | xyDiagram1.AxisY.Title.Visible = DevExpress.Utils.DefaultBoolean.True; |
| | | xyDiagram1.AxisY.VisibleInPanesSerializable = "-1"; |
| | | xyDiagram1.DefaultPane.BorderVisible = false; |
| | | xyDiagram1.DefaultPane.Title.Text = "无数据"; |
| | | xyDiagramPane1.Name = "BottomPanel"; |
| | | xyDiagramPane1.PaneID = 0; |
| | | xyDiagramPane1.Visibility = DevExpress.XtraCharts.ChartElementVisibility.Hidden; |
| | | xyDiagramPane1.Visible = DevExpress.XtraCharts.ChartElementVisible.Hidden; |
| | | xyDiagram1.Panes.AddRange(new DevExpress.XtraCharts.XYDiagramPane[] { |
| | | xyDiagramPane1}); |
| | | secondaryAxisY1.AxisID = 0; |
| | | secondaryAxisY1.Color = System.Drawing.Color.Green; |
| | | secondaryAxisY1.Label.Border.Visibility = DevExpress.Utils.DefaultBoolean.False; |
| | | secondaryAxisY1.Label.Border.Visible = DevExpress.Utils.DefaultBoolean.False; |
| | | secondaryAxisY1.Label.TextColor = System.Drawing.Color.Green; |
| | | secondaryAxisY1.Name = "AxisYQE"; |
| | | secondaryAxisY1.Title.Text = "效率/%"; |
| | | secondaryAxisY1.Title.TextColor = System.Drawing.Color.Green; |
| | | secondaryAxisY1.Title.Visibility = DevExpress.Utils.DefaultBoolean.Default; |
| | | secondaryAxisY1.Title.Visible = DevExpress.Utils.DefaultBoolean.Default; |
| | | secondaryAxisY1.VisibleInPanesSerializable = "-1"; |
| | | secondaryAxisY2.AxisID = 1; |
| | | secondaryAxisY2.Label.Border.Visibility = DevExpress.Utils.DefaultBoolean.False; |
| | | secondaryAxisY2.Label.Border.Visible = DevExpress.Utils.DefaultBoolean.False; |
| | | secondaryAxisY2.Label.TextColor = System.Drawing.Color.Crimson; |
| | | secondaryAxisY2.Name = "AxisYQP"; |
| | | secondaryAxisY2.NumericScaleOptions.AutoGrid = false; |
| | |
| | | secondaryAxisY2.Title.Alignment = System.Drawing.StringAlignment.Near; |
| | | secondaryAxisY2.Title.Text = "功率/kW"; |
| | | secondaryAxisY2.Title.TextColor = System.Drawing.Color.Crimson; |
| | | secondaryAxisY2.Title.Visibility = DevExpress.Utils.DefaultBoolean.Default; |
| | | secondaryAxisY2.Title.Visible = DevExpress.Utils.DefaultBoolean.Default; |
| | | secondaryAxisY2.VisibleInPanesSerializable = "-1"; |
| | | xyDiagram1.SecondaryAxesY.AddRange(new DevExpress.XtraCharts.SecondaryAxisY[] { |
| | | secondaryAxisY1, |
| | |
| | | this.chartControl1.Diagram = xyDiagram1; |
| | | this.chartControl1.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.chartControl1.Legend.AlignmentHorizontal = DevExpress.XtraCharts.LegendAlignmentHorizontal.Right; |
| | | this.chartControl1.Legend.Border.Visibility = DevExpress.Utils.DefaultBoolean.False; |
| | | this.chartControl1.Legend.Border.Visible = DevExpress.Utils.DefaultBoolean.False; |
| | | this.chartControl1.Legend.Direction = DevExpress.XtraCharts.LegendDirection.LeftToRight; |
| | | this.chartControl1.Legend.MarkerMode = DevExpress.XtraCharts.LegendMarkerMode.CheckBoxAndMarker; |
| | | this.chartControl1.Legend.Visibility = DevExpress.Utils.DefaultBoolean.True; |
| | | this.chartControl1.Legend.Visible = DevExpress.Utils.DefaultBoolean.True; |
| | | this.chartControl1.Location = new System.Drawing.Point(0, 0); |
| | | this.chartControl1.Name = "chartControl1"; |
| | | series1.Name = "SeriesCurveQH"; |