lixiaojun
2025-02-18 1f7091dac2a5dddf4a0a40acb0940d3787cf35f5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
namespace Yw.WinFrmUI
{
    partial class HydroLossStatisticsCatalogCtrl
    {
        /// <summary> 
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;
 
        /// <summary> 
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }
 
        #region Component Designer generated code
 
        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            components = new Container();
            DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series();
            DevExpress.XtraCharts.DoughnutSeriesLabel doughnutSeriesLabel1 = new DevExpress.XtraCharts.DoughnutSeriesLabel();
            DevExpress.XtraCharts.DoughnutSeriesView doughnutSeriesView1 = new DevExpress.XtraCharts.DoughnutSeriesView();
            bindingSource1 = new BindingSource(components);
            chartControl1 = new DevExpress.XtraCharts.ChartControl();
            ((ISupportInitialize)bindingSource1).BeginInit();
            ((ISupportInitialize)chartControl1).BeginInit();
            ((ISupportInitialize)series1).BeginInit();
            ((ISupportInitialize)doughnutSeriesLabel1).BeginInit();
            ((ISupportInitialize)doughnutSeriesView1).BeginInit();
            SuspendLayout();
            // 
            // bindingSource1
            // 
            bindingSource1.DataSource = typeof(HydroLossStatisticsCatalogItemViewModel);
            // 
            // chartControl1
            // 
            chartControl1.Dock = DockStyle.Fill;
            chartControl1.Legend.LegendID = -1;
            chartControl1.Legend.Visibility = DevExpress.Utils.DefaultBoolean.True;
            chartControl1.Location = new Point(0, 0);
            chartControl1.Name = "chartControl1";
            series1.ArgumentDataMember = "EnergyName";
            series1.DataSource = bindingSource1;
            doughnutSeriesLabel1.TextPattern = "{A}:{VP:P2}";
            series1.Label = doughnutSeriesLabel1;
            series1.Name = "Series 1";
            series1.SeriesID = 1;
            series1.ValueDataMembersSerializable = "EnergyValue";
            doughnutSeriesView1.TotalLabel.TextPattern = "总损失: {TV:#.##}kW";
            doughnutSeriesView1.TotalLabel.Visible = true;
            series1.View = doughnutSeriesView1;
            chartControl1.SeriesSerializable = new DevExpress.XtraCharts.Series[]
    {
    series1
    };
            chartControl1.Size = new Size(884, 602);
            chartControl1.TabIndex = 0;
            // 
            // HydroLossStatisticsCatalogCtrl
            // 
            AutoScaleDimensions = new SizeF(7F, 14F);
            AutoScaleMode = AutoScaleMode.Font;
            Controls.Add(chartControl1);
            Name = "HydroLossStatisticsCatalogCtrl";
            Size = new Size(884, 602);
            ((ISupportInitialize)bindingSource1).EndInit();
            ((ISupportInitialize)doughnutSeriesLabel1).EndInit();
            ((ISupportInitialize)doughnutSeriesView1).EndInit();
            ((ISupportInitialize)series1).EndInit();
            ((ISupportInitialize)chartControl1).EndInit();
            ResumeLayout(false);
        }
 
        #endregion
 
        private DevExpress.XtraCharts.ChartControl chartControl1;
        private BindingSource bindingSource1;
    }
}