|
@@ -28,76 +28,145 @@
|
|
|
/// </summary>
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
+ DevExpress.XtraCharts.ImageAnnotation imageAnnotation1 = new DevExpress.XtraCharts.ImageAnnotation();
|
|
|
+ DevExpress.XtraCharts.ChartAnchorPoint chartAnchorPoint1 = new DevExpress.XtraCharts.ChartAnchorPoint();
|
|
|
+ DevExpress.XtraCharts.FreePosition freePosition1 = new DevExpress.XtraCharts.FreePosition();
|
|
|
+ DevExpress.XtraCharts.TextAnnotation textAnnotation1 = new DevExpress.XtraCharts.TextAnnotation();
|
|
|
+ DevExpress.XtraCharts.ChartAnchorPoint chartAnchorPoint2 = new DevExpress.XtraCharts.ChartAnchorPoint();
|
|
|
+ DevExpress.XtraCharts.FreePosition freePosition2 = new DevExpress.XtraCharts.FreePosition();
|
|
|
+ DevExpress.XtraCharts.TextAnnotation textAnnotation2 = new DevExpress.XtraCharts.TextAnnotation();
|
|
|
+ DevExpress.XtraCharts.ChartAnchorPoint chartAnchorPoint3 = new DevExpress.XtraCharts.ChartAnchorPoint();
|
|
|
+ DevExpress.XtraCharts.FreePosition freePosition3 = new DevExpress.XtraCharts.FreePosition();
|
|
|
DevExpress.XtraCharts.XYDiagram xyDiagram1 = new DevExpress.XtraCharts.XYDiagram();
|
|
|
DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series();
|
|
|
DevExpress.XtraCharts.PointSeriesView pointSeriesView1 = new DevExpress.XtraCharts.PointSeriesView();
|
|
|
- this.repositoryItemPictureEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemPictureEdit();
|
|
|
- this.directXFormContainerControl1 = new DevExpress.XtraEditors.DirectXFormContainerControl();
|
|
|
+ DevExpress.XtraCharts.ChartTitle chartTitle1 = new DevExpress.XtraCharts.ChartTitle();
|
|
|
this.chartControl1 = new DevExpress.XtraCharts.ChartControl();
|
|
|
- this.pic = new DevExpress.XtraBars.BarEditItem();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPictureEdit1)).BeginInit();
|
|
|
- this.directXFormContainerControl1.SuspendLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.chartControl1)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(imageAnnotation1)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(textAnnotation1)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(textAnnotation2)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(xyDiagram1)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(series1)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(pointSeriesView1)).BeginInit();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
- // repositoryItemPictureEdit1
|
|
|
- //
|
|
|
- this.repositoryItemPictureEdit1.Name = "repositoryItemPictureEdit1";
|
|
|
- //
|
|
|
- // directXFormContainerControl1
|
|
|
- //
|
|
|
- this.directXFormContainerControl1.Controls.Add(this.chartControl1);
|
|
|
- this.directXFormContainerControl1.Location = new System.Drawing.Point(1, 31);
|
|
|
- this.directXFormContainerControl1.Name = "directXFormContainerControl1";
|
|
|
- this.directXFormContainerControl1.Size = new System.Drawing.Size(807, 555);
|
|
|
- this.directXFormContainerControl1.TabIndex = 0;
|
|
|
- //
|
|
|
// chartControl1
|
|
|
//
|
|
|
+ imageAnnotation1.AnchorPoint = chartAnchorPoint1;
|
|
|
+ imageAnnotation1.AnnotationID = 1;
|
|
|
+ imageAnnotation1.AutoHeight = false;
|
|
|
+ imageAnnotation1.AutoWidth = false;
|
|
|
+ imageAnnotation1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|
|
+ imageAnnotation1.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|
|
+ imageAnnotation1.ConnectorStyle = DevExpress.XtraCharts.AnnotationConnectorStyle.None;
|
|
|
+ imageAnnotation1.FillStyle.Tag = "";
|
|
|
+ imageAnnotation1.Height = 32;
|
|
|
+ imageAnnotation1.Name = "Annotation 1";
|
|
|
+ imageAnnotation1.Padding.Bottom = 0;
|
|
|
+ imageAnnotation1.Padding.Left = 0;
|
|
|
+ imageAnnotation1.Padding.Right = 0;
|
|
|
+ imageAnnotation1.Padding.Top = 0;
|
|
|
+ imageAnnotation1.ShapeKind = DevExpress.XtraCharts.ShapeKind.Rectangle;
|
|
|
+ freePosition1.InnerIndents.Left = 231;
|
|
|
+ freePosition1.InnerIndents.Top = 7;
|
|
|
+ imageAnnotation1.ShapePosition = freePosition1;
|
|
|
+ imageAnnotation1.SizeMode = DevExpress.XtraCharts.ChartImageSizeMode.Stretch;
|
|
|
+ imageAnnotation1.Width = 400;
|
|
|
+ textAnnotation1.AnchorPoint = chartAnchorPoint2;
|
|
|
+ textAnnotation1.AnnotationID = 2;
|
|
|
+ textAnnotation1.AutoHeight = true;
|
|
|
+ textAnnotation1.AutoWidth = true;
|
|
|
+ textAnnotation1.Border.Visibility = DevExpress.Utils.DefaultBoolean.False;
|
|
|
+ textAnnotation1.ConnectorStyle = DevExpress.XtraCharts.AnnotationConnectorStyle.None;
|
|
|
+ textAnnotation1.Name = "Annotation 2";
|
|
|
+ textAnnotation1.Padding.Right = 0;
|
|
|
+ textAnnotation1.ShapeKind = DevExpress.XtraCharts.ShapeKind.Rectangle;
|
|
|
+ freePosition2.InnerIndents.Left = 200;
|
|
|
+ freePosition2.InnerIndents.Top = 12;
|
|
|
+ textAnnotation1.ShapePosition = freePosition2;
|
|
|
+ textAnnotation1.Text = "色系";
|
|
|
+ textAnnotation2.AnchorPoint = chartAnchorPoint3;
|
|
|
+ textAnnotation2.AnnotationID = 3;
|
|
|
+ textAnnotation2.AutoHeight = true;
|
|
|
+ textAnnotation2.AutoWidth = true;
|
|
|
+ textAnnotation2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|
|
+ textAnnotation2.Border.Visibility = DevExpress.Utils.DefaultBoolean.False;
|
|
|
+ textAnnotation2.ConnectorStyle = DevExpress.XtraCharts.AnnotationConnectorStyle.None;
|
|
|
+ textAnnotation2.Name = "Annotation 3";
|
|
|
+ textAnnotation2.Padding.Left = 0;
|
|
|
+ textAnnotation2.ShapeKind = DevExpress.XtraCharts.ShapeKind.Rectangle;
|
|
|
+ freePosition3.InnerIndents.Left = 632;
|
|
|
+ freePosition3.InnerIndents.Top = 13;
|
|
|
+ textAnnotation2.ShapePosition = freePosition3;
|
|
|
+ textAnnotation2.Text = "共0个点";
|
|
|
+ this.chartControl1.AnnotationRepository.AddRange(new DevExpress.XtraCharts.Annotation[] {
|
|
|
+ imageAnnotation1,
|
|
|
+ textAnnotation1,
|
|
|
+ textAnnotation2});
|
|
|
+ this.chartControl1.BorderOptions.Visibility = DevExpress.Utils.DefaultBoolean.False;
|
|
|
+ this.chartControl1.CrosshairEnabled = DevExpress.Utils.DefaultBoolean.Default;
|
|
|
+ xyDiagram1.AxisX.Label.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|
|
+ xyDiagram1.AxisX.Tickmarks.MinorVisible = false;
|
|
|
+ xyDiagram1.AxisX.Tickmarks.Visible = false;
|
|
|
xyDiagram1.AxisX.VisibleInPanesSerializable = "-1";
|
|
|
+ xyDiagram1.AxisY.GridLines.Visible = false;
|
|
|
+ xyDiagram1.AxisY.Label.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|
|
+ xyDiagram1.AxisY.Tickmarks.MinorVisible = false;
|
|
|
+ xyDiagram1.AxisY.Tickmarks.Visible = false;
|
|
|
+ xyDiagram1.AxisY.Visibility = DevExpress.Utils.DefaultBoolean.True;
|
|
|
xyDiagram1.AxisY.VisibleInPanesSerializable = "-1";
|
|
|
+ xyDiagram1.DefaultPane.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|
|
+ xyDiagram1.DefaultPane.BorderVisible = false;
|
|
|
+ xyDiagram1.DefaultPane.EnableAxisXScrolling = DevExpress.Utils.DefaultBoolean.False;
|
|
|
+ xyDiagram1.DefaultPane.EnableAxisXZooming = DevExpress.Utils.DefaultBoolean.False;
|
|
|
+ xyDiagram1.DefaultPane.EnableAxisYScrolling = DevExpress.Utils.DefaultBoolean.True;
|
|
|
+ xyDiagram1.DefaultPane.EnableAxisYZooming = DevExpress.Utils.DefaultBoolean.True;
|
|
|
+ xyDiagram1.EnableAxisXZooming = true;
|
|
|
+ xyDiagram1.EnableAxisYZooming = true;
|
|
|
this.chartControl1.Diagram = xyDiagram1;
|
|
|
this.chartControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
this.chartControl1.Legend.LegendID = -1;
|
|
|
+ this.chartControl1.Legend.MarkerMode = DevExpress.XtraCharts.LegendMarkerMode.None;
|
|
|
+ this.chartControl1.Legend.Visibility = DevExpress.Utils.DefaultBoolean.False;
|
|
|
this.chartControl1.Location = new System.Drawing.Point(0, 0);
|
|
|
this.chartControl1.Name = "chartControl1";
|
|
|
+ this.chartControl1.PaletteName = "Blue Green";
|
|
|
+ series1.CrosshairEnabled = DevExpress.Utils.DefaultBoolean.False;
|
|
|
series1.Name = "Series 1";
|
|
|
series1.SeriesID = 0;
|
|
|
+ series1.ToolTipEnabled = DevExpress.Utils.DefaultBoolean.True;
|
|
|
+ pointSeriesView1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|
|
+ pointSeriesView1.PointMarkerOptions.Size = 6;
|
|
|
series1.View = pointSeriesView1;
|
|
|
this.chartControl1.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
|
|
|
series1};
|
|
|
- this.chartControl1.Size = new System.Drawing.Size(807, 555);
|
|
|
- this.chartControl1.TabIndex = 4;
|
|
|
- //
|
|
|
- // pic
|
|
|
- //
|
|
|
- this.pic.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right;
|
|
|
- this.pic.Caption = "色系";
|
|
|
- this.pic.Edit = this.repositoryItemPictureEdit1;
|
|
|
- this.pic.EditHeight = 32;
|
|
|
- this.pic.Id = 0;
|
|
|
- this.pic.Name = "pic";
|
|
|
- this.pic.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
|
|
|
- this.pic.Size = new System.Drawing.Size(300, 0);
|
|
|
+ this.chartControl1.Size = new System.Drawing.Size(898, 599);
|
|
|
+ this.chartControl1.TabIndex = 1;
|
|
|
+ chartTitle1.Indent = 10;
|
|
|
+ chartTitle1.Text = " ";
|
|
|
+ chartTitle1.TitleID = 1;
|
|
|
+ chartTitle1.Visibility = DevExpress.Utils.DefaultBoolean.True;
|
|
|
+ this.chartControl1.Titles.AddRange(new DevExpress.XtraCharts.ChartTitle[] {
|
|
|
+ chartTitle1});
|
|
|
//
|
|
|
- // CgImageForm
|
|
|
+ // Test
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
- this.ChildControls.Add(this.directXFormContainerControl1);
|
|
|
- this.ClientSize = new System.Drawing.Size(809, 587);
|
|
|
+ this.ClientSize = new System.Drawing.Size(898, 599);
|
|
|
+ this.Controls.Add(this.chartControl1);
|
|
|
this.IconOptions.ShowIcon = false;
|
|
|
this.MaximizeBox = false;
|
|
|
this.MinimizeBox = false;
|
|
|
- this.Name = "CgImageForm";
|
|
|
+ this.Name = "Test";
|
|
|
this.ShowInTaskbar = false;
|
|
|
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
|
this.Text = "互模糊结果";
|
|
|
- this.Load += new System.EventHandler(this.CgImageForm_Load);
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPictureEdit1)).EndInit();
|
|
|
- this.directXFormContainerControl1.ResumeLayout(false);
|
|
|
+ this.Load += new System.EventHandler(this.Test_Load);
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(imageAnnotation1)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(textAnnotation1)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(textAnnotation2)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(xyDiagram1)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(pointSeriesView1)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(series1)).EndInit();
|
|
@@ -107,9 +176,6 @@
|
|
|
}
|
|
|
|
|
|
#endregion
|
|
|
- private DevExpress.XtraEditors.DirectXFormContainerControl directXFormContainerControl1;
|
|
|
- private DevExpress.XtraBars.BarEditItem pic;
|
|
|
private DevExpress.XtraCharts.ChartControl chartControl1;
|
|
|
- private DevExpress.XtraEditors.Repository.RepositoryItemPictureEdit repositoryItemPictureEdit1;
|
|
|
}
|
|
|
}
|