Пример #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Wisej.Web.Ext.ChartJS.LineOptions              lineOptions1       = new Wisej.Web.Ext.ChartJS.LineOptions();
     Wisej.Web.Ext.ChartJS.OptionScalesAxesX        optionScalesAxesX1 = new Wisej.Web.Ext.ChartJS.OptionScalesAxesX();
     Wisej.Web.Ext.ChartJS.OptionScalesAxesY        optionScalesAxesY1 = new Wisej.Web.Ext.ChartJS.OptionScalesAxesY();
     Wisej.Web.Ext.ChartJS.BarOptions               barOptions1        = new Wisej.Web.Ext.ChartJS.BarOptions();
     Wisej.Web.Ext.ChartJS.OptionScalesAxesX        optionScalesAxesX2 = new Wisej.Web.Ext.ChartJS.OptionScalesAxesX();
     Wisej.Web.Ext.ChartJS.OptionScalesAxesY        optionScalesAxesY2 = new Wisej.Web.Ext.ChartJS.OptionScalesAxesY();
     Wisej.Web.Ext.ChartJS.RadarOptions             radarOptions1      = new Wisej.Web.Ext.ChartJS.RadarOptions();
     Wisej.Web.Ext.ChartJS.PolarAreaOptions         polarAreaOptions1  = new Wisej.Web.Ext.ChartJS.PolarAreaOptions();
     Wisej.Web.Ext.ChartJS.DoughnutOptions          doughnutOptions1   = new Wisej.Web.Ext.ChartJS.DoughnutOptions();
     Wisej.Web.Ext.ChartJS.PieOptions               pieOptions1        = new Wisej.Web.Ext.ChartJS.PieOptions();
     System.ComponentModel.ComponentResourceManager resources          = new System.ComponentModel.ComponentResourceManager(typeof(MainPage));
     this.flowLayoutPanel1 = new Wisej.Web.FlowLayoutPanel();
     this.chartJS1         = new Wisej.Web.Ext.ChartJS.ChartJS();
     this.chartJS2         = new Wisej.Web.Ext.ChartJS.ChartJS();
     this.chartJS4         = new Wisej.Web.Ext.ChartJS.ChartJS();
     this.chartJS6         = new Wisej.Web.Ext.ChartJS.ChartJS();
     this.chartJS5         = new Wisej.Web.Ext.ChartJS.ChartJS();
     this.chartJS3         = new Wisej.Web.Ext.ChartJS.ChartJS();
     this.flowLayoutPanel2 = new Wisej.Web.FlowLayoutPanel();
     this.button1          = new Wisej.Web.Button();
     this.panel1           = new Wisej.Web.Panel();
     this.label1           = new Wisej.Web.Label();
     this.trackBar         = new Wisej.Web.TrackBar();
     this.flowLayoutPanel1.SuspendLayout();
     this.flowLayoutPanel2.SuspendLayout();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.trackBar)).BeginInit();
     this.SuspendLayout();
     //
     // flowLayoutPanel1
     //
     this.flowLayoutPanel1.Anchor = ((Wisej.Web.AnchorStyles)(((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Left)
                                                               | Wisej.Web.AnchorStyles.Right)));
     this.flowLayoutPanel1.AutoSize     = true;
     this.flowLayoutPanel1.AutoSizeMode = Wisej.Web.AutoSizeMode.GrowAndShrink;
     this.flowLayoutPanel1.Controls.Add(this.chartJS1);
     this.flowLayoutPanel1.Controls.Add(this.chartJS2);
     this.flowLayoutPanel1.Controls.Add(this.chartJS4);
     this.flowLayoutPanel1.Controls.Add(this.chartJS6);
     this.flowLayoutPanel1.Controls.Add(this.chartJS5);
     this.flowLayoutPanel1.Controls.Add(this.chartJS3);
     this.flowLayoutPanel1.Location = new System.Drawing.Point(67, 241);
     this.flowLayoutPanel1.Name     = "flowLayoutPanel1";
     this.flowLayoutPanel1.Size     = new System.Drawing.Size(784, 960);
     this.flowLayoutPanel1.TabIndex = 15;
     //
     // chartJS1
     //
     this.chartJS1.AppearanceKey = "chartjs";
     this.flowLayoutPanel1.SetFillWeight(this.chartJS1, 100);
     this.chartJS1.Labels = new string[] {
         "Jan",
         "Feb",
         "Mar",
         "Apr",
         "May",
         "Jun",
         "Jul",
         "Aug",
         "Sep",
         "Oct",
         "Nov",
         "Dec"
     };
     this.chartJS1.Location                = new System.Drawing.Point(10, 10);
     this.chartJS1.Margin                  = new Wisej.Web.Padding(10);
     this.chartJS1.MinimumSize             = new System.Drawing.Size(300, 300);
     this.chartJS1.Name                    = "chartJS1";
     lineOptions1.Legend.Display           = false;
     optionScalesAxesX1.ScaleLabel.Display = false;
     lineOptions1.Scales.xAxes             = new Wisej.Web.Ext.ChartJS.OptionScalesAxesX[] {
         optionScalesAxesX1
     };
     optionScalesAxesY1.ScaleLabel.LabelString = "y scale label";
     lineOptions1.Scales.yAxes = new Wisej.Web.Ext.ChartJS.OptionScalesAxesY[] {
         optionScalesAxesY1
     };
     this.chartJS1.Options     = lineOptions1;
     this.chartJS1.Size        = new System.Drawing.Size(372, 300);
     this.chartJS1.TabIndex    = 3;
     this.chartJS1.Text        = "Line Chart";
     this.chartJS1.ChartClick += new Wisej.Web.Ext.ChartJS.ChartClickEventHandler(this.chartJS_ChartClick);
     //
     // chartJS2
     //
     this.chartJS2.AppearanceKey = "chartjs";
     this.chartJS2.ChartType     = Wisej.Web.Ext.ChartJS.ChartType.Bar;
     this.flowLayoutPanel1.SetFillWeight(this.chartJS2, 100);
     this.flowLayoutPanel1.SetFlowBreak(this.chartJS2, true);
     this.chartJS2.Labels = new string[] {
         "Jan",
         "Feb",
         "Mar",
         "Apr",
         "May",
         "Jun",
         "Jul",
         "Aug",
         "Sep",
         "Oct",
         "Nov",
         "Dec"
     };
     this.chartJS2.Location                    = new System.Drawing.Point(402, 10);
     this.chartJS2.Margin                      = new Wisej.Web.Padding(10);
     this.chartJS2.MinimumSize                 = new System.Drawing.Size(300, 300);
     this.chartJS2.Name                        = "chartJS2";
     barOptions1.DataLabel.Display             = true;
     barOptions1.DataLabel.Font                = new System.Drawing.Font("default", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     optionScalesAxesX2.ScaleLabel.LabelString = "x scale label";
     barOptions1.Scales.xAxes                  = new Wisej.Web.Ext.ChartJS.OptionScalesAxesX[] {
         optionScalesAxesX2
     };
     optionScalesAxesY2.ScaleLabel.LabelString = "y scale label";
     barOptions1.Scales.yAxes = new Wisej.Web.Ext.ChartJS.OptionScalesAxesY[] {
         optionScalesAxesY2
     };
     barOptions1.Title.Text    = "Bar Chart";
     this.chartJS2.Options     = barOptions1;
     this.chartJS2.Size        = new System.Drawing.Size(372, 300);
     this.chartJS2.TabIndex    = 4;
     this.chartJS2.Text        = "Bar Chart";
     this.chartJS2.ChartClick += new Wisej.Web.Ext.ChartJS.ChartClickEventHandler(this.chartJS_ChartClick);
     //
     // chartJS4
     //
     this.chartJS4.AppearanceKey = "chartjs";
     this.chartJS4.ChartType     = Wisej.Web.Ext.ChartJS.ChartType.Radar;
     this.flowLayoutPanel1.SetFillWeight(this.chartJS4, 100);
     this.chartJS4.Labels = new string[] {
         "Jan",
         "Feb",
         "Mar",
         "Apr",
         "May",
         "Jun",
         "Jul",
         "Aug",
         "Sep",
         "Oct",
         "Nov",
         "Dec"
     };
     this.chartJS4.Location    = new System.Drawing.Point(10, 330);
     this.chartJS4.Margin      = new Wisej.Web.Padding(10);
     this.chartJS4.MinimumSize = new System.Drawing.Size(200, 200);
     this.chartJS4.Name        = "chartJS4";
     this.chartJS4.Options     = radarOptions1;
     this.chartJS4.Size        = new System.Drawing.Size(241, 300);
     this.chartJS4.TabIndex    = 6;
     this.chartJS4.Text        = "Radar Chart";
     this.chartJS4.ChartClick += new Wisej.Web.Ext.ChartJS.ChartClickEventHandler(this.chartJS_ChartClick);
     //
     // chartJS6
     //
     this.chartJS6.AppearanceKey = "chartjs";
     this.chartJS6.ChartType     = Wisej.Web.Ext.ChartJS.ChartType.PolarArea;
     this.flowLayoutPanel1.SetFillWeight(this.chartJS6, 100);
     this.chartJS6.Labels = new string[] {
         "Jan",
         "Feb",
         "Mar",
         "Apr",
         "May",
         "Jun",
         "Jul",
         "Aug",
         "Sep",
         "Oct",
         "Nov",
         "Dec"
     };
     this.chartJS6.Location           = new System.Drawing.Point(271, 330);
     this.chartJS6.Margin             = new Wisej.Web.Padding(10);
     this.chartJS6.MinimumSize        = new System.Drawing.Size(200, 200);
     this.chartJS6.Name               = "chartJS6";
     polarAreaOptions1.Legend.Display = false;
     this.chartJS6.Options            = polarAreaOptions1;
     this.chartJS6.Size               = new System.Drawing.Size(241, 300);
     this.chartJS6.TabIndex           = 8;
     this.chartJS6.Text               = "Polar Area Chart";
     this.chartJS6.ChartClick        += new Wisej.Web.Ext.ChartJS.ChartClickEventHandler(this.chartJS_ChartClick);
     //
     // chartJS5
     //
     this.chartJS5.AppearanceKey = "chartjs";
     this.chartJS5.ChartType     = Wisej.Web.Ext.ChartJS.ChartType.Doughnut;
     this.flowLayoutPanel1.SetFillWeight(this.chartJS5, 100);
     this.chartJS5.Labels = new string[] {
         "Jan",
         "Feb",
         "Mar",
         "Apr",
         "May",
         "Jun",
         "Jul",
         "Aug",
         "Sep",
         "Oct",
         "Nov",
         "Dec"
     };
     this.chartJS5.Location          = new System.Drawing.Point(532, 330);
     this.chartJS5.Margin            = new Wisej.Web.Padding(10);
     this.chartJS5.MinimumSize       = new System.Drawing.Size(200, 200);
     this.chartJS5.Name              = "chartJS5";
     doughnutOptions1.Legend.Display = false;
     doughnutOptions1.Title.Text     = "Doughnut Chart";
     this.chartJS5.Options           = doughnutOptions1;
     this.chartJS5.Size              = new System.Drawing.Size(241, 300);
     this.chartJS5.TabIndex          = 7;
     this.chartJS5.Text              = "Doughnut Chart";
     this.chartJS5.ChartClick       += new Wisej.Web.Ext.ChartJS.ChartClickEventHandler(this.chartJS_ChartClick);
     //
     // chartJS3
     //
     this.chartJS3.AppearanceKey = "chartjs";
     this.chartJS3.ChartType     = Wisej.Web.Ext.ChartJS.ChartType.Pie;
     this.flowLayoutPanel1.SetFillWeight(this.chartJS3, 100);
     this.chartJS3.Labels = new string[] {
         "Jan",
         "Feb",
         "Mar",
         "Apr",
         "May",
         "Jun",
         "Jul",
         "Aug",
         "Sep",
         "Oct",
         "Nov",
         "Dec"
     };
     this.chartJS3.Location        = new System.Drawing.Point(10, 650);
     this.chartJS3.Margin          = new Wisej.Web.Padding(10);
     this.chartJS3.MinimumSize     = new System.Drawing.Size(200, 200);
     this.chartJS3.Name            = "chartJS3";
     pieOptions1.DataLabel.Display = true;
     pieOptions1.Legend.Display    = false;
     this.chartJS3.Options         = pieOptions1;
     this.chartJS3.Size            = new System.Drawing.Size(764, 300);
     this.chartJS3.TabIndex        = 5;
     this.chartJS3.Text            = "Pie Chart";
     this.chartJS3.ChartClick     += new Wisej.Web.Ext.ChartJS.ChartClickEventHandler(this.chartJS_ChartClick);
     //
     // flowLayoutPanel2
     //
     this.flowLayoutPanel2.Anchor = ((Wisej.Web.AnchorStyles)(((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Left)
                                                               | Wisej.Web.AnchorStyles.Right)));
     this.flowLayoutPanel2.Controls.Add(this.button1);
     this.flowLayoutPanel2.Controls.Add(this.panel1);
     this.flowLayoutPanel2.Location     = new System.Drawing.Point(67, 40);
     this.flowLayoutPanel2.Name         = "flowLayoutPanel2";
     this.flowLayoutPanel2.Padding      = new Wisej.Web.Padding(0, 15, 0, 0);
     this.flowLayoutPanel2.Size         = new System.Drawing.Size(784, 169);
     this.flowLayoutPanel2.TabIndex     = 16;
     this.flowLayoutPanel2.WrapContents = false;
     //
     // button1
     //
     this.button1.Anchor = ((Wisej.Web.AnchorStyles)(((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Left)
                                                      | Wisej.Web.AnchorStyles.Right)));
     this.button1.AppearanceKey = "button-ok";
     this.flowLayoutPanel2.SetFillWeight(this.button1, 100);
     this.button1.Font        = new System.Drawing.Font("default", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
     this.button1.Location    = new System.Drawing.Point(3, 18);
     this.button1.Margin      = new Wisej.Web.Padding(3, 3, 20, 3);
     this.button1.MinimumSize = new System.Drawing.Size(150, 0);
     this.button1.Name        = "button1";
     this.button1.Size        = new System.Drawing.Size(315, 128);
     this.button1.TabIndex    = 1;
     this.button1.Text        = "Randomize";
     this.button1.Click      += new System.EventHandler(this.button1_Click);
     //
     // panel1
     //
     this.panel1.Anchor = ((Wisej.Web.AnchorStyles)((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Right)));
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.trackBar);
     this.panel1.Location    = new System.Drawing.Point(341, 18);
     this.panel1.MaximumSize = new System.Drawing.Size(440, 128);
     this.panel1.MinimumSize = new System.Drawing.Size(440, 128);
     this.panel1.Name        = "panel1";
     this.panel1.Size        = new System.Drawing.Size(440, 128);
     this.panel1.TabIndex    = 13;
     //
     // label1
     //
     this.label1.AllowHtml = true;
     this.label1.Location  = new System.Drawing.Point(12, 3);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(401, 82);
     this.label1.TabIndex  = 10;
     this.label1.Text      = resources.GetString("label1.Text");
     //
     // trackBar
     //
     this.trackBar.Location      = new System.Drawing.Point(26, 86);
     this.trackBar.Maximum       = 5000;
     this.trackBar.Name          = "trackBar";
     this.trackBar.Size          = new System.Drawing.Size(387, 34);
     this.trackBar.TabIndex      = 11;
     this.trackBar.TickFrequency = 200;
     this.trackBar.TickStyle     = Wisej.Web.TickStyle.None;
     this.trackBar.Value         = 300;
     //
     // MainPage
     //
     this.AutoScaleMode    = Wisej.Web.AutoScaleMode.None;
     this.AutoScroll       = true;
     this.AutoScrollMargin = new System.Drawing.Size(0, 50);
     this.Controls.Add(this.flowLayoutPanel2);
     this.Controls.Add(this.flowLayoutPanel1);
     this.Font   = new System.Drawing.Font("default", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.Margin = new Wisej.Web.Padding(7, 0, 7, 0);
     this.Name   = "MainPage";
     this.Size   = new System.Drawing.Size(900, 779);
     this.Load  += new System.EventHandler(this.ChartsPage_Load);
     this.flowLayoutPanel1.ResumeLayout(false);
     this.flowLayoutPanel2.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.trackBar)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Wisej.Web.Ext.ChartJS.LineOptions lineOptions1 = new Wisej.Web.Ext.ChartJS.LineOptions();
     this.flowLayoutPanel = new Wisej.Web.FlowLayoutPanel();
     this.salesTargetGage = new Wisej.Web.Ext.JustGage.JustGage();
     this.returnsGage     = new Wisej.Web.Ext.JustGage.JustGage();
     this.salesChart      = new Wisej.Web.Ext.ChartJS.ChartJS();
     this.flowLayoutPanel.SuspendLayout();
     this.SuspendLayout();
     //
     // flowLayoutPanel
     //
     this.flowLayoutPanel.AutoScroll = true;
     this.flowLayoutPanel.Controls.Add(this.salesTargetGage);
     this.flowLayoutPanel.Controls.Add(this.returnsGage);
     this.flowLayoutPanel.Controls.Add(this.salesChart);
     this.flowLayoutPanel.Dock     = Wisej.Web.DockStyle.Fill;
     this.flowLayoutPanel.Location = new System.Drawing.Point(0, 33);
     this.flowLayoutPanel.Name     = "flowLayoutPanel";
     this.flowLayoutPanel.Size     = new System.Drawing.Size(740, 609);
     this.flowLayoutPanel.TabIndex = 2;
     //
     // salesTargetGage
     //
     this.flowLayoutPanel.SetFillWeight(this.salesTargetGage, 100);
     this.salesTargetGage.ForeColor   = System.Drawing.Color.Green;
     this.salesTargetGage.Location    = new System.Drawing.Point(30, 30);
     this.salesTargetGage.Margin      = new Wisej.Web.Padding(30);
     this.salesTargetGage.MinimumSize = new System.Drawing.Size(200, 190);
     this.salesTargetGage.Name        = "salesTargetGage";
     this.salesTargetGage.Size        = new System.Drawing.Size(310, 196);
     this.salesTargetGage.Symbol      = "%";
     this.salesTargetGage.TabIndex    = 1;
     this.salesTargetGage.Text        = "Sales Target";
     this.salesTargetGage.Value       = 0F;
     //
     // returnsGage
     //
     this.flowLayoutPanel.SetFillWeight(this.returnsGage, 100);
     this.flowLayoutPanel.SetFlowBreak(this.returnsGage, true);
     this.returnsGage.ForeColor   = System.Drawing.Color.DarkRed;
     this.returnsGage.Location    = new System.Drawing.Point(400, 30);
     this.returnsGage.Margin      = new Wisej.Web.Padding(30);
     this.returnsGage.MinimumSize = new System.Drawing.Size(200, 190);
     this.returnsGage.Name        = "returnsGage";
     this.returnsGage.Size        = new System.Drawing.Size(310, 196);
     this.returnsGage.Symbol      = "%";
     this.returnsGage.TabIndex    = 2;
     this.returnsGage.Text        = "Returns";
     this.returnsGage.Value       = 0F;
     //
     // salesChart
     //
     this.flowLayoutPanel.SetFillWeight(this.salesChart, 100);
     this.salesChart.Location = new System.Drawing.Point(30, 286);
     this.salesChart.Margin   = new Wisej.Web.Padding(30);
     this.salesChart.Name     = "salesChart";
     this.salesChart.Options  = lineOptions1;
     this.salesChart.Size     = new System.Drawing.Size(680, 329);
     this.salesChart.TabIndex = 0;
     this.salesChart.Text     = "Sales";
     //
     // DashboardView
     //
     this.Controls.Add(this.flowLayoutPanel);
     this.Name  = "DashboardView";
     this.Title = "Dashboard";
     this.Controls.SetChildIndex(this.flowLayoutPanel, 0);
     this.flowLayoutPanel.ResumeLayout(false);
     this.ResumeLayout(false);
 }