|
@@ -34,6 +34,9 @@
|
|
|
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();
|
|
@@ -42,6 +45,7 @@
|
|
|
((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();
|
|
@@ -64,8 +68,8 @@
|
|
|
imageAnnotation1.Padding.Right = 0;
|
|
|
imageAnnotation1.Padding.Top = 0;
|
|
|
imageAnnotation1.ShapeKind = DevExpress.XtraCharts.ShapeKind.Rectangle;
|
|
|
- freePosition1.InnerIndents.Left = 349;
|
|
|
- freePosition1.InnerIndents.Top = 8;
|
|
|
+ freePosition1.InnerIndents.Left = 231;
|
|
|
+ freePosition1.InnerIndents.Top = 7;
|
|
|
imageAnnotation1.ShapePosition = freePosition1;
|
|
|
imageAnnotation1.SizeMode = DevExpress.XtraCharts.ChartImageSizeMode.Stretch;
|
|
|
imageAnnotation1.Width = 400;
|
|
@@ -76,21 +80,41 @@
|
|
|
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 = 313;
|
|
|
- freePosition2.InnerIndents.Top = 13;
|
|
|
+ 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});
|
|
|
+ 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.Visibility = DevExpress.Utils.DefaultBoolean.True;
|
|
|
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;
|
|
@@ -103,13 +127,16 @@
|
|
|
this.chartControl1.Diagram = xyDiagram1;
|
|
|
this.chartControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
this.chartControl1.Legend.LegendID = -1;
|
|
|
- this.chartControl1.Legend.Visibility = DevExpress.Utils.DefaultBoolean.True;
|
|
|
+ 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.ColorEach = true;
|
|
|
pointSeriesView1.PointMarkerOptions.Size = 6;
|
|
|
series1.View = pointSeriesView1;
|
|
|
this.chartControl1.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
|
|
@@ -117,6 +144,7 @@
|
|
|
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[] {
|
|
@@ -138,6 +166,7 @@
|
|
|
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();
|