private void AnnotateSlices(C1.Win.C1Chart.C1Chart chart) { Style s = chart.ChartLabels.DefaultLabelStyle; s.BackColor = SystemColors.Info; s.Opaque = true; s.Border.BorderStyle = BorderStyleEnum.Solid; ChartDataSeriesCollection series = chart.ChartGroups[0].ChartData.SeriesList; chart.ChartLabels.LabelsCollection.Clear(); // Attach labels to each slice for (int i = 0; i < series.Count; i++) { C1.Win.C1Chart.Label label = chart.ChartLabels.LabelsCollection.AddNewLabel(); label.Text = String.Format("{0:C0}", series[i].Y[0]); label.Compass = LabelCompassEnum.Radial; label.Offset = 20; label.Connected = true; label.Visible = true; label.AttachMethod = AttachMethodEnum.DataIndex; AttachMethodData am = label.AttachMethodData; am.GroupIndex = 0; am.SeriesIndex = i; am.PointIndex = 0; series[i].Offset = 0; } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.c1Chart1 = new C1.Win.C1Chart.C1Chart(); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).BeginInit(); this.SuspendLayout(); // // c1Chart1 // this.c1Chart1.DataSource = null; this.c1Chart1.Dock = System.Windows.Forms.DockStyle.Fill; this.c1Chart1.Name = "c1Chart1"; this.c1Chart1.Size = new System.Drawing.Size(600, 400); this.c1Chart1.TabIndex = 0; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(600, 400); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.c1Chart1 }); this.Name = "Form1"; this.Text = "Gantt Sample"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).EndInit(); this.ResumeLayout(false); }
public void AnnotateSlicewithImage(C1.Win.C1Chart.C1Chart chart, int seriesIndex) { ChartDataSeriesCollection series = chart.ChartGroups[0].ChartData.SeriesList; LabelsCollection labels = c1Chart1.ChartLabels.LabelsCollection; C1.Win.C1Chart.Label label; label = labels.AddNewLabel(); label.Image = imageList1.Images[seriesIndex]; label.Style.BackColor = Color.Transparent; label.Style.Border.BorderStyle = BorderStyleEnum.None; label.Style.GradientStyle = GradientStyleEnum.None; label.Style.ImageAlignment = AlignImageEnum.Top; label.Size = label.Image.Size + new Size(0, 20); label.Compass = LabelCompassEnum.Radial; label.Offset = 30; label.Connected = false; label.Visible = true; label.AttachMethod = AttachMethodEnum.DataIndex; label.Text = String.Format("{0:C0}", series[seriesIndex].Y[0]); AttachMethodData am = label.AttachMethodData; am.GroupIndex = 0; am.SeriesIndex = seriesIndex; am.PointIndex = 0; }
//offsets a particular pie slice private void ExplodeSlice(C1.Win.C1Chart.C1Chart chart, int series, int offset, bool fromClick) { if (radImageLabels.Checked) { ChartGroup g = chart.ChartGroups.Group0; ChartDataSeriesCollection seriesList = g.ChartData.SeriesList; for (int i = 0; i < seriesList.Count; i++) { if (i == series) { if (seriesList[i].Offset == 10 && fromClick) { seriesList[i].Offset = 0; RemoveSliceImage(chart, i); } else { seriesList[i].Offset = offset; AnnotateSlicewithImage(chart, i); } return; } } } }
public void RemoveSliceImage(C1.Win.C1Chart.C1Chart chart, int seriesIndex) { LabelsCollection labels = c1Chart1.ChartLabels.LabelsCollection; for (int i = 0; i < labels.Count; i++) { if (labels[i].AttachMethodData.SeriesIndex == seriesIndex) { labels.RemoveAt(i); } } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this._c1c = new C1.Win.C1Chart.C1Chart(); this.button1 = new System.Windows.Forms.Button(); this._pdf = new C1.C1Pdf.C1PdfDocument(); this.button2 = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this._c1c)).BeginInit(); this.SuspendLayout(); // // _c1c // this._c1c.Dock = System.Windows.Forms.DockStyle.Fill; this._c1c.Location = new System.Drawing.Point(0, 45); this._c1c.Name = "_c1c"; this._c1c.PropBag = resources.GetString("_c1c.PropBag"); this._c1c.Size = new System.Drawing.Size(560, 312); this._c1c.TabIndex = 0; // // button1 // this.button1.Location = new System.Drawing.Point(8, 8); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(161, 24); this.button1.TabIndex = 1; this.button1.Text = "Convert to Pdf (regular)"; this.button1.Click += new System.EventHandler(this.button1_Click); // // button2 // this.button2.Location = new System.Drawing.Point(175, 8); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(161, 24); this.button2.TabIndex = 1; this.button2.Text = "Convert to Pdf (high-res)"; this.button2.Click += new System.EventHandler(this.button2_Click); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(560, 357); this.Controls.Add(this.button2); this.Controls.Add(this.button1); this.Controls.Add(this._c1c); this.Name = "Form1"; this.Padding = new System.Windows.Forms.Padding(0, 45, 0, 0); this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this._c1c)).EndInit(); this.ResumeLayout(false); }
//adds image private void AnnotatePie(C1.Win.C1Chart.C1Chart chart) { Style s = chart.ChartLabels.DefaultLabelStyle; s.Opaque = false; s.Border.BorderStyle = BorderStyleEnum.None; C1.Win.C1Chart.Label label = chart.ChartLabels.LabelsCollection.AddNewLabel(); label.Text = chart.ChartGroups[0].ChartData.SeriesList[0].X[0].ToString(); label.Compass = LabelCompassEnum.South; label.Visible = true; label.AttachMethod = AttachMethodEnum.Coordinate; PlotArea plot = chart.ChartArea.PlotArea; label.AttachMethodData.X = plot.Location.X; label.AttachMethodData.Y = plot.Location.Y + (plot.Size.Width / 2); }
// create metafile using high-res reference hdc (printer-based) private Image GetHighResMetafile(C1.Win.C1Chart.C1Chart chart) { Metafile meta = null; // get high-res reference dc using (PrintDocument doc = new PrintDocument()) using (Graphics gref = doc.PrinterSettings.CreateMeasurementGraphics()) { // create metafile IntPtr hdc = gref.GetHdc(); meta = new Metafile(hdc, EmfType.EmfOnly, "test"); // draw chart into metafile using (Graphics g = Graphics.FromImage(meta)) chart.Draw(g, new Rectangle(Point.Empty, chart.Size)); gref.ReleaseHdc(hdc); } // done return(meta); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.c1Chart1 = new C1.Win.C1Chart.C1Chart(); this.lstCategories = new System.Windows.Forms.ListBox(); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).BeginInit(); this.SuspendLayout(); // // c1Chart1 // this.c1Chart1.DataSource = null; this.c1Chart1.Dock = System.Windows.Forms.DockStyle.Fill; this.c1Chart1.Location = new System.Drawing.Point(112, 0); this.c1Chart1.Name = "c1Chart1"; this.c1Chart1.PropBag = "<?xml version=\"1.0\"?><Chart2DPropBag Version=\"\"><StyleCollection><NamedStyle><Nam" + "e>PlotArea</Name><ParentName>Area</ParentName><StyleData>Border=None,Black,1;</S" + "tyleData></NamedStyle><NamedStyle><Name>Legend</Name><ParentName>Legend.default<" + "/ParentName><StyleData /></NamedStyle><NamedStyle><Name>Footer</Name><ParentName" + ">Control</ParentName><StyleData>Border=None,Black,1;</StyleData></NamedStyle><Na" + "medStyle><Name>Area</Name><ParentName>Area.default</ParentName><StyleData /></Na" + "medStyle><NamedStyle><Name>Control</Name><ParentName>Control.default</ParentName" + "><StyleData /></NamedStyle><NamedStyle><Name>AxisX</Name><ParentName>Area</Paren" + "tName><StyleData>Rotation=Rotate270;Border=None,Transparent,1;AlignHorz=Near;Bac" + "kColor=Transparent;Opaque=False;AlignVert=Center;</StyleData></NamedStyle><Named" + "Style><Name>AxisY</Name><ParentName>Area</ParentName><StyleData>Rotation=Rotate0" + ";Border=None,Transparent,1;AlignHorz=Center;BackColor=Transparent;Opaque=False;A" + "lignVert=Bottom;</StyleData></NamedStyle><NamedStyle><Name>LabelStyleDefault</Na" + "me><ParentName>LabelStyleDefault.default</ParentName><StyleData /></NamedStyle><" + "NamedStyle><Name>Legend.default</Name><ParentName>Control</ParentName><StyleData" + ">Border=None,Black,1;Wrap=False;AlignVert=Top;</StyleData></NamedStyle><NamedSty" + "le><Name>LabelStyleDefault.default</Name><ParentName>Control</ParentName><StyleD" + "ata>Border=None,Black,1;BackColor=Transparent;</StyleData></NamedStyle><NamedSty" + "le><Name>Header</Name><ParentName>Control</ParentName><StyleData>Border=None,Bla" + "ck,1;</StyleData></NamedStyle><NamedStyle><Name>Control.default</Name><ParentNam" + "e /><StyleData>ForeColor=ControlText;Border=None,Black,1;BackColor=Control;</Sty" + "leData></NamedStyle><NamedStyle><Name>AxisY2</Name><ParentName>Area</ParentName>" + "<StyleData>Rotation=Rotate0;Border=None,Transparent,1;AlignHorz=Center;BackColor" + "=Transparent;AlignVert=Top;</StyleData></NamedStyle><NamedStyle><Name>Area.defau" + "lt</Name><ParentName>Control</ParentName><StyleData>Border=None,Black,1;AlignVer" + "t=Top;</StyleData></NamedStyle></StyleCollection><ChartGroupsCollection><ChartGr" + "oup><DataSerializer Hole=\"3.4028234663852886E+38\" DefaultSet=\"True\"><DataSeriesC" + "ollection><DataSeriesSerializer><LineStyle Thickness=\"1\" Color=\"DarkGoldenrod\" P" + "attern=\"Solid\" /><SymbolStyle Color=\"Coral\" OutlineColor=\"\" Shape=\"Box\" /><Serie" + "sLabel>series 0</SeriesLabel><X>1;2;3;4;5</X><Y>20;22;19;24;25</Y><Y1 /><Y2 /><Y" + "3 /><DataTypes>Single;Single;Double;Double;Double</DataTypes><DataFields>;;;;</D" + "ataFields><Tag /></DataSeriesSerializer></DataSeriesCollection></DataSerializer>" + "<Name>Group1</Name><Stacked>False</Stacked><ChartType>Bar</ChartType><Pie>OtherO" + "ffset=0,Start=0</Pie><Bar>ClusterOverlap=0,ClusterWidth=50</Bar><HiLoData>FillFa" + "lling=True,FillTransparent=True,FullWidth=False,ShowClose=True,ShowOpen=True</Hi" + "LoData><Bubble>EncodingMethod=Diameter,MaximumSize=20,MinimumSize=5</Bubble><Pol" + "ar>Degrees=True,PiRatioAnnotations=True,Start=0</Polar><Radar>Degrees=True,Fille" + "d=False,Start=0</Radar><Use3D>False</Use3D><Visible>True</Visible><ShowOutline>T" + "rue</ShowOutline></ChartGroup><ChartGroup><DataSerializer Hole=\"3.40282346638528" + "86E+38\" /><Name>Group2</Name><Stacked>False</Stacked><ChartType>XYPlot</ChartTyp" + "e><Pie>OtherOffset=0,Start=0</Pie><Bar>ClusterOverlap=0,ClusterWidth=50</Bar><Hi" + "LoData>FillFalling=True,FillTransparent=True,FullWidth=False,ShowClose=True,Show" + "Open=True</HiLoData><Bubble>EncodingMethod=Diameter,MaximumSize=20,MinimumSize=5" + "</Bubble><Polar>Degrees=True,PiRatioAnnotations=True,Start=0</Polar><Radar>Degre" + "es=True,Filled=False,Start=0</Radar><Visible>True</Visible><ShowOutline>True</Sh" + "owOutline></ChartGroup></ChartGroupsCollection><Header Compass=\"North\"><Text /><" + "/Header><Footer Compass=\"South\"><Text /></Footer><Legend Compass=\"East\" Visible=" + "\"False\"><Text /></Legend><ChartArea Inverted=\"True\" /><Axes><Axis Max=\"5.5\" Min=" + "\"0.5\" UnitMajor=\"1\" UnitMinor=\"0.5\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"T" + "rue\" AutoMin=\"True\" _onTop=\"0\" Compass=\"West\"><Text /><GridMajor AutoSpace=\"True" + "\" Thickness=\"1\" Color=\"LightGray\" Pattern=\"Dash\" /><GridMinor AutoSpace=\"True\" T" + "hickness=\"1\" Color=\"LightGray\" Pattern=\"Dash\" /></Axis><Axis Max=\"25\" Min=\"19\" U" + "nitMajor=\"1\" UnitMinor=\"0.5\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" Au" + "toMin=\"True\" _onTop=\"0\" Compass=\"South\"><Text /><GridMajor AutoSpace=\"True\" Thic" + "kness=\"1\" Color=\"LightGray\" Pattern=\"Dash\" /><GridMinor AutoSpace=\"True\" Thickne" + "ss=\"1\" Color=\"LightGray\" Pattern=\"Dash\" /></Axis><Axis Max=\"0\" Min=\"0\" UnitMajor" + "=\"0\" UnitMinor=\"0\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"Tru" + "e\" _onTop=\"0\" Compass=\"North\"><Text /><GridMajor AutoSpace=\"True\" Thickness=\"1\" " + "Color=\"LightGray\" Pattern=\"Dash\" /><GridMinor AutoSpace=\"True\" Thickness=\"1\" Col" + "or=\"LightGray\" Pattern=\"Dash\" /></Axis></Axes></Chart2DPropBag>"; this.c1Chart1.Size = new System.Drawing.Size(520, 423); this.c1Chart1.TabIndex = 0; // // lstCategories // this.lstCategories.Dock = System.Windows.Forms.DockStyle.Left; this.lstCategories.IntegralHeight = false; this.lstCategories.Name = "lstCategories"; this.lstCategories.Size = new System.Drawing.Size(112, 423); this.lstCategories.TabIndex = 1; this.lstCategories.SelectedIndexChanged += new System.EventHandler(this.lstCategories_SelectedIndexChanged); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(632, 423); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.c1Chart1, this.lstCategories }); this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "C1Chart: Data Demo"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.panel1 = new System.Windows.Forms.Panel(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.c1Chart1 = new C1.Win.C1Chart.C1Chart(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.AddRange(new System.Windows.Forms.Control[] { this.label2, this.label1 }); this.panel1.Dock = System.Windows.Forms.DockStyle.Left; this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(160, 453); this.panel1.TabIndex = 0; // // label2 // this.label2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.label2.Location = new System.Drawing.Point(8, 56); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(144, 32); this.label2.TabIndex = 2; this.label2.Text = "Use mouse to select series"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label1 // this.label1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.label1.Location = new System.Drawing.Point(8, 8); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(144, 32); this.label1.TabIndex = 1; this.label1.Text = "Selection: none"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // panel2 // this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel2.Controls.AddRange(new System.Windows.Forms.Control[] { this.c1Chart1 }); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(160, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(472, 453); this.panel2.TabIndex = 1; // // c1Chart1 // this.c1Chart1.DataSource = null; this.c1Chart1.Dock = System.Windows.Forms.DockStyle.Fill; this.c1Chart1.Name = "c1Chart1"; this.c1Chart1.PropBag = "<?xml version=\"1.0\"?><Chart2DPropBag Version=\"\"><StyleCollection><NamedStyle Name" + "=\"PlotArea\" ParentName=\"Area\" StyleData=\"Border=Solid,ControlText,1;BackColor=Wh" + "iteSmoke;\" /><NamedStyle Name=\"Legend\" ParentName=\"Legend.default\" StyleData=\"Bo" + "rder=Solid,Black,1;AlignHorz=Center;BackColor=WhiteSmoke;AlignVert=Top;Rounding=" + "10 0 10 0;\" /><NamedStyle Name=\"Footer\" ParentName=\"Control\" StyleData=\"Border=N" + "one,Black,1;\" /><NamedStyle Name=\"Area\" ParentName=\"Area.default\" /><NamedStyle " + "Name=\"Control\" ParentName=\"Control.default\" /><NamedStyle Name=\"AxisX\" ParentNam" + "e=\"Area\" StyleData=\"Rotation=Rotate0;AlignHorz=Center;AlignVert=Bottom;\" /><Name" + "dStyle Name=\"AxisY\" ParentName=\"Area\" StyleData=\"Rotation=Rotate270;AlignHorz=Ne" + "ar;AlignVert=Center;\" /><NamedStyle Name=\"LabelStyleDefault\" ParentName=\"LabelSt" + "yleDefault.default\" /><NamedStyle Name=\"Legend.default\" ParentName=\"Control\" Sty" + "leData=\"Border=None,Black,1;Wrap=False;AlignVert=Top;\" /><NamedStyle Name=\"Label" + "StyleDefault.default\" ParentName=\"Control\" StyleData=\"Border=None,Black,1;BackCo" + "lor=Transparent;\" /><NamedStyle Name=\"Header\" ParentName=\"Control\" StyleData=\"Bo" + "rder=None,Black,1;\" /><NamedStyle Name=\"Control.default\" ParentName=\"\" StyleData" + "=\"ForeColor=ControlText;Border=None,Black,1;BackColor=Control;\" /><NamedStyle Na" + "me=\"AxisY2\" ParentName=\"Area\" StyleData=\"Rotation=Rotate90;AlignHorz=Far;AlignVe" + "rt=Center;\" /><NamedStyle Name=\"Area.default\" ParentName=\"Control\" StyleData=\"Bo" + "rder=None,Black,1;AlignVert=Top;\" /></StyleCollection><ChartGroupsCollection><Ch" + "artGroup Name=\"Group1\"><DataSerializer DefaultSet=\"True\"><DataSeriesCollection><" + "DataSeriesSerializer><LineStyle Color=\"DarkGoldenrod\" /><SymbolStyle Color=\"Cora" + "l\" Shape=\"Box\" /><SeriesLabel>series 0</SeriesLabel><X>1;2;3;4;5</X><Y>20;22;19;" + "24;25</Y><DataTypes>Single;Single;Double;Double;Double</DataTypes><DataFields>;;" + ";;</DataFields><FillStyle /></DataSeriesSerializer><DataSeriesSerializer><LineSt" + "yle Color=\"DarkGray\" /><SymbolStyle Color=\"CornflowerBlue\" Shape=\"Dot\" /><Series" + "Label>series 1</SeriesLabel><X>1;2;3;4;5</X><Y>8;12;10;12;15</Y><DataTypes>Singl" + "e;Single;Double;Double;Double</DataTypes><DataFields>;;;;</DataFields><FillStyle" + " /></DataSeriesSerializer><DataSeriesSerializer><LineStyle Color=\"DarkGreen\" /><" + "SymbolStyle Color=\"Cornsilk\" Shape=\"Tri\" /><SeriesLabel>series 2</SeriesLabel><X" + ">1;2;3;4;5</X><Y>10;16;17;15;23</Y><DataTypes>Single;Single;Double;Double;Double" + "</DataTypes><DataFields>;;;;</DataFields><FillStyle /></DataSeriesSerializer><Da" + "taSeriesSerializer><LineStyle Color=\"DarkKhaki\" /><SymbolStyle Color=\"Crimson\" S" + "hape=\"Diamond\" /><SeriesLabel>series 3</SeriesLabel><X>1;2;3;4;5</X><Y>16;19;15;" + "22;18</Y><DataTypes>Single;Single;Double;Double;Double</DataTypes><DataFields>;;" + ";;</DataFields><FillStyle /></DataSeriesSerializer></DataSeriesCollection></Data" + "Serializer></ChartGroup><ChartGroup Name=\"Group2\"><DataSerializer /></ChartGroup" + "></ChartGroupsCollection><Header Compass=\"North\" Visible=\"False\" /><Footer Compa" + "ss=\"South\" Visible=\"False\" /><Legend Compass=\"East\" Visible=\"True\" /><ChartArea " + "/><Axes><Axis Max=\"5\" Min=\"1\" UnitMajor=\"1\" UnitMinor=\"0.5\" AutoMajor=\"True\" Aut" + "oMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" Compass=\"South\"><GridMajor /><GridMi" + "nor /></Axis><Axis Max=\"25\" Min=\"8\" UnitMajor=\"1\" UnitMinor=\"0.5\" AutoMajor=\"Tru" + "e\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" Compass=\"West\"><GridMajor Visi" + "ble=\"True\" Spacing=\"1\" /><GridMinor /></Axis><Axis Max=\"0\" Min=\"0\" UnitMajor=\"0\"" + " UnitMinor=\"0\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" C" + "ompass=\"East\"><GridMajor /><GridMinor /></Axis></Axes></Chart2DPropBag>"; this.c1Chart1.Size = new System.Drawing.Size(470, 451); this.c1Chart1.TabIndex = 0; this.c1Chart1.Click += new System.EventHandler(this.c1Chart1_Click); this.c1Chart1.Load += new System.EventHandler(this.c1Chart1_Load); this.c1Chart1.DrawLegendEntry += new C1.Win.C1Chart.DrawLegendEntryEventHandler(this.c1Chart1_DrawLegendEntry); // // Form1 // this.ClientSize = new System.Drawing.Size(632, 453); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.panel2, this.panel1 }); this.Name = "Form1"; this.Text = "ComponentOne Chart.Net 2D - Select Series Demo"; this.panel1.ResumeLayout(false); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this._c1r = new C1.C1Report.C1Report(); this._ppv = new C1.Win.C1Preview.C1PreviewPane(); this._tbPreview = new System.Windows.Forms.ToolBar(); this._btnRenderReport = new System.Windows.Forms.ToolBarButton(); this._btnPrintReport = new System.Windows.Forms.ToolBarButton(); this._btnSep1 = new System.Windows.Forms.ToolBarButton(); this._btnFirst = new System.Windows.Forms.ToolBarButton(); this._btnPrev = new System.Windows.Forms.ToolBarButton(); this._btnNext = new System.Windows.Forms.ToolBarButton(); this._btnLast = new System.Windows.Forms.ToolBarButton(); this._btnSep2 = new System.Windows.Forms.ToolBarButton(); this._btnActual = new System.Windows.Forms.ToolBarButton(); this._previewMenu = new System.Windows.Forms.ContextMenu(); this._mn50 = new System.Windows.Forms.MenuItem(); this._mn100 = new System.Windows.Forms.MenuItem(); this._mn150 = new System.Windows.Forms.MenuItem(); this._mn200 = new System.Windows.Forms.MenuItem(); this._mn400 = new System.Windows.Forms.MenuItem(); this._btnOnePage = new System.Windows.Forms.ToolBarButton(); this._btnTwoPages = new System.Windows.Forms.ToolBarButton(); this._btnSep3 = new System.Windows.Forms.ToolBarButton(); this._imgList = new System.Windows.Forms.ImageList(this.components); this._chartType = new System.Windows.Forms.ComboBox(); this._chart = new C1.Win.C1Chart.C1Chart(); ((System.ComponentModel.ISupportInitialize)(this._c1r)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this._ppv)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this._chart)).BeginInit(); this.SuspendLayout(); // // _c1r // this._c1r.ReportDefinition = resources.GetString("_c1r.ReportDefinition"); this._c1r.ReportName = "Sales by Category"; this._c1r.PrintSection += new C1.C1Report.ReportEventHandler(this._c1r_PrintSection); // // _ppv // this._ppv.Dock = System.Windows.Forms.DockStyle.Fill; this._ppv.Location = new System.Drawing.Point(0, 27); this._ppv.Name = "_ppv"; this._ppv.Size = new System.Drawing.Size(542, 365); this._ppv.TabIndex = 2; // // _tbPreview // this._tbPreview.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this._tbPreview.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this._btnRenderReport, this._btnPrintReport, this._btnSep1, this._btnFirst, this._btnPrev, this._btnNext, this._btnLast, this._btnSep2, this._btnActual, this._btnOnePage, this._btnTwoPages, this._btnSep3 }); this._tbPreview.DropDownArrows = true; this._tbPreview.ImageList = this._imgList; this._tbPreview.Location = new System.Drawing.Point(0, 0); this._tbPreview.Name = "_tbPreview"; this._tbPreview.ShowToolTips = true; this._tbPreview.Size = new System.Drawing.Size(542, 27); this._tbPreview.TabIndex = 11; this._tbPreview.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this._tbPreview_ButtonClick); // // _btnRenderReport // this._btnRenderReport.ImageIndex = 0; this._btnRenderReport.Name = "_btnRenderReport"; this._btnRenderReport.ToolTipText = "Render the Report"; // // _btnPrintReport // this._btnPrintReport.ImageIndex = 1; this._btnPrintReport.Name = "_btnPrintReport"; this._btnPrintReport.ToolTipText = "Print the Report"; // // _btnSep1 // this._btnSep1.Name = "_btnSep1"; this._btnSep1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // _btnFirst // this._btnFirst.ImageIndex = 2; this._btnFirst.Name = "_btnFirst"; this._btnFirst.ToolTipText = "First page"; // // _btnPrev // this._btnPrev.ImageIndex = 3; this._btnPrev.Name = "_btnPrev"; this._btnPrev.ToolTipText = "Previous page"; // // _btnNext // this._btnNext.ImageIndex = 4; this._btnNext.Name = "_btnNext"; this._btnNext.ToolTipText = "Next page"; // // _btnLast // this._btnLast.ImageIndex = 5; this._btnLast.Name = "_btnLast"; this._btnLast.ToolTipText = "Last page"; // // _btnSep2 // this._btnSep2.Name = "_btnSep2"; this._btnSep2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // _btnActual // this._btnActual.DropDownMenu = this._previewMenu; this._btnActual.ImageIndex = 6; this._btnActual.Name = "_btnActual"; this._btnActual.Style = System.Windows.Forms.ToolBarButtonStyle.DropDownButton; this._btnActual.ToolTipText = "Actual Size"; // // _previewMenu // this._previewMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this._mn50, this._mn100, this._mn150, this._mn200, this._mn400 }); // // _mn50 // this._mn50.Index = 0; this._mn50.Text = "50%"; this._mn50.Click += new System.EventHandler(this._mnZoom_Click); // // _mn100 // this._mn100.Index = 1; this._mn100.Text = "100%"; this._mn100.Click += new System.EventHandler(this._mnZoom_Click); // // _mn150 // this._mn150.Index = 2; this._mn150.Text = "150%"; this._mn150.Click += new System.EventHandler(this._mnZoom_Click); // // _mn200 // this._mn200.Index = 3; this._mn200.Text = "200%"; this._mn200.Click += new System.EventHandler(this._mnZoom_Click); // // _mn400 // this._mn400.Index = 4; this._mn400.Text = "400%"; this._mn400.Click += new System.EventHandler(this._mnZoom_Click); // // _btnOnePage // this._btnOnePage.ImageIndex = 7; this._btnOnePage.Name = "_btnOnePage"; this._btnOnePage.ToolTipText = "One page"; // // _btnTwoPages // this._btnTwoPages.ImageIndex = 8; this._btnTwoPages.Name = "_btnTwoPages"; this._btnTwoPages.ToolTipText = "Two pages"; // // _btnSep3 // this._btnSep3.Name = "_btnSep3"; this._btnSep3.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // _imgList // this._imgList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("_imgList.ImageStream"))); this._imgList.TransparentColor = System.Drawing.Color.Red; this._imgList.Images.SetKeyName(0, "Preview.bmp"); this._imgList.Images.SetKeyName(1, "Print.bmp"); this._imgList.Images.SetKeyName(2, "PreviewFirst.bmp"); this._imgList.Images.SetKeyName(3, "PreviewPrevious.bmp"); this._imgList.Images.SetKeyName(4, "PreviewNext.bmp"); this._imgList.Images.SetKeyName(5, "PreviewLast.bmp"); this._imgList.Images.SetKeyName(6, "FitWidth.bmp"); this._imgList.Images.SetKeyName(7, "FitPage.bmp"); this._imgList.Images.SetKeyName(8, "FitTwoPages.bmp"); // // _chartType // this._chartType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this._chartType.Items.AddRange(new object[] { "Bar", "Line", "Area" }); this._chartType.Location = new System.Drawing.Point(256, 2); this._chartType.Name = "_chartType"; this._chartType.Size = new System.Drawing.Size(121, 21); this._chartType.TabIndex = 13; this._chartType.SelectedIndexChanged += new System.EventHandler(this._chartType_SelectedIndexChanged); // // _chart // this._chart.BackColor = System.Drawing.Color.White; this._chart.Font = new System.Drawing.Font("Tahoma", 8.25F); this._chart.Location = new System.Drawing.Point(64, 40); this._chart.Name = "_chart"; this._chart.PropBag = resources.GetString("_chart.PropBag"); this._chart.Size = new System.Drawing.Size(408, 312); this._chart.TabIndex = 14; this._chart.Visible = false; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(542, 392); this.Controls.Add(this._chart); this.Controls.Add(this._chartType); this.Controls.Add(this._ppv); this.Controls.Add(this._tbPreview); this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "C1Report Sample: Report with embedded charts (C1Chart)"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this._c1r)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this._ppv)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this._chart)).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() { this.mainMenu1 = new System.Windows.Forms.MainMenu(); this.menuFile = new System.Windows.Forms.MenuItem(); this.menuFileExit = new System.Windows.Forms.MenuItem(); this.menuHelp = new System.Windows.Forms.MenuItem(); this.menuHelpAbout = new System.Windows.Forms.MenuItem(); this.buttonClearLabels = new System.Windows.Forms.Button(); this.grpLabels = new System.Windows.Forms.GroupBox(); this.lblFour = new System.Windows.Forms.Label(); this.lblThree = new System.Windows.Forms.Label(); this.lblTwo = new System.Windows.Forms.Label(); this.lblOne = new System.Windows.Forms.Label(); this.c1Chart1 = new C1.Win.C1Chart.C1Chart(); this.menuHelpMoreInfo = new System.Windows.Forms.MenuItem(); this.grpLabels.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).BeginInit(); this.SuspendLayout(); // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuFile, this.menuHelp }); // // menuFile // this.menuFile.Index = 0; this.menuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuFileExit }); this.menuFile.Text = "File"; // // menuFileExit // this.menuFileExit.Index = 0; this.menuFileExit.Text = "Exit"; this.menuFileExit.Click += new System.EventHandler(this.menuFileExit_Click); // // menuHelp // this.menuHelp.Index = 1; this.menuHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuHelpMoreInfo, this.menuHelpAbout }); this.menuHelp.Text = "Help"; // // menuHelpAbout // this.menuHelpAbout.Index = 1; this.menuHelpAbout.Text = "About"; this.menuHelpAbout.Click += new System.EventHandler(this.menuHelpAbout_Click); // // buttonClearLabels // this.buttonClearLabels.Location = new System.Drawing.Point(0, 8); this.buttonClearLabels.Name = "buttonClearLabels"; this.buttonClearLabels.Size = new System.Drawing.Size(96, 32); this.buttonClearLabels.TabIndex = 0; this.buttonClearLabels.Text = "Clear All Labels"; this.buttonClearLabels.Click += new System.EventHandler(this.buttonClearLabels_Click); // // grpLabels // this.grpLabels.Controls.AddRange(new System.Windows.Forms.Control[] { this.lblFour, this.lblThree, this.lblTwo, this.lblOne }); this.grpLabels.FlatStyle = System.Windows.Forms.FlatStyle.System; this.grpLabels.Location = new System.Drawing.Point(112, 0); this.grpLabels.Name = "grpLabels"; this.grpLabels.Size = new System.Drawing.Size(296, 48); this.grpLabels.TabIndex = 1; this.grpLabels.TabStop = false; // // lblFour // this.lblFour.Font = new System.Drawing.Font("Arial Narrow", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.lblFour.Location = new System.Drawing.Point(200, 14); this.lblFour.Name = "lblFour"; this.lblFour.Size = new System.Drawing.Size(80, 26); this.lblFour.TabIndex = 3; this.lblFour.Text = "Four"; this.lblFour.MouseDown += new System.Windows.Forms.MouseEventHandler(this.DragLabels_MouseDown); // // lblThree // this.lblThree.Font = new System.Drawing.Font("Arial Narrow", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.lblThree.Location = new System.Drawing.Point(128, 14); this.lblThree.Name = "lblThree"; this.lblThree.Size = new System.Drawing.Size(72, 26); this.lblThree.TabIndex = 2; this.lblThree.Text = "Three"; this.lblThree.MouseDown += new System.Windows.Forms.MouseEventHandler(this.DragLabels_MouseDown); // // lblTwo // this.lblTwo.Font = new System.Drawing.Font("Arial Narrow", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.lblTwo.Location = new System.Drawing.Point(72, 14); this.lblTwo.Name = "lblTwo"; this.lblTwo.Size = new System.Drawing.Size(56, 26); this.lblTwo.TabIndex = 1; this.lblTwo.Text = "Two"; this.lblTwo.MouseDown += new System.Windows.Forms.MouseEventHandler(this.DragLabels_MouseDown); // // lblOne // this.lblOne.Font = new System.Drawing.Font("Arial Narrow", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.lblOne.Location = new System.Drawing.Point(16, 14); this.lblOne.Name = "lblOne"; this.lblOne.Size = new System.Drawing.Size(56, 26); this.lblOne.TabIndex = 0; this.lblOne.Text = "One"; this.lblOne.MouseDown += new System.Windows.Forms.MouseEventHandler(this.DragLabels_MouseDown); // // c1Chart1 // this.c1Chart1.AllowDrop = true; this.c1Chart1.BackColor = System.Drawing.Color.LightSlateGray; this.c1Chart1.Location = new System.Drawing.Point(0, 56); this.c1Chart1.Name = "c1Chart1"; this.c1Chart1.PropBag = "<?xml version=\"1.0\"?><Chart2DPropBag Version=\"\"><Axes><Axis Max=\"2.5\" Min=\"0.5\" U" + "nitMajor=\"1\" UnitMinor=\"0.5\" AutoMajor=\"False\" AutoMinor=\"True\" AutoMax=\"False\" " + "AutoMin=\"False\" TickMinor=\"None\" AnnoMethod=\"ValueLabels\" _onTop=\"0\" Compass=\"We" + "st\"><ValueLabels><ValueLabel Value=\"1\" Text=\"Group 2\" /><ValueLabel Value=\"2\" Te" + "xt=\"Group 1\" /></ValueLabels><GridMajor AutoSpace=\"True\" Thickness=\"1\" Color=\"Li" + "ghtGray\" Pattern=\"Dash\" /><GridMinor AutoSpace=\"True\" Thickness=\"1\" Color=\"Light" + "Gray\" Pattern=\"Dash\" /><Text /></Axis><Axis Max=\"30\" Min=\"0\" UnitMajor=\"10\" Unit" + "Minor=\"5\" AutoMajor=\"False\" AutoMinor=\"True\" AutoMax=\"False\" AutoMin=\"False\" _on" + "Top=\"0\" Compass=\"South\"><GridMajor AutoSpace=\"True\" Thickness=\"1\" Color=\"LightGr" + "ay\" Pattern=\"Dash\" /><GridMinor AutoSpace=\"True\" Thickness=\"1\" Color=\"LightGray\"" + " Pattern=\"Dash\" /><Text /></Axis><Axis Max=\"0\" Min=\"0\" UnitMajor=\"0\" UnitMinor=\"" + "0\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" _onTop=\"0\" Co" + "mpass=\"North\"><GridMajor AutoSpace=\"True\" Thickness=\"1\" Color=\"LightGray\" Patter" + "n=\"Dash\" /><GridMinor AutoSpace=\"True\" Thickness=\"1\" Color=\"LightGray\" Pattern=\"" + "Dash\" /><Text /></Axis></Axes><Header Compass=\"North\"><Text>Header</Text></Heade" + "r><ChartGroupsCollection><ChartGroup><Polar>Degrees=True,PiRatioAnnotations=True" + ",Start=0</Polar><Radar>Degrees=True,Filled=False,Start=0</Radar><Stacked>False</" + "Stacked><HiLoData>FillFalling=True,FillTransparent=True,FullWidth=False,ShowClos" + "e=True,ShowOpen=True</HiLoData><ChartType>Bar</ChartType><Bubble>EncodingMethod=" + "Diameter,MaximumSize=20,MinimumSize=5</Bubble><Name>Group1</Name><DataSerializer" + " DefaultSet=\"True\"><DataSeriesCollection><DataSeriesSerializer><Y>6;15</Y><LineS" + "tyle Thickness=\"1\" Color=\"Red\" Pattern=\"Solid\" /><SymbolStyle Shape=\"Box\" Color=" + "\"Coral\" /><SeriesLabel>Alpha</SeriesLabel><DataTypes>Single;Single;Single;Single" + ";Single</DataTypes><Y1 /><X>1;2</X><Y3 /><Y2 /></DataSeriesSerializer><DataSerie" + "sSerializer><Y>15;7</Y><LineStyle Thickness=\"1\" Color=\"Tan\" Pattern=\"Solid\" /><S" + "ymbolStyle Shape=\"Dot\" Color=\"CornflowerBlue\" /><SeriesLabel>Beta</SeriesLabel><" + "DataTypes>Single;Single;Single;Single;Single</DataTypes><Y1 /><X>1;2</X><Y3 /><Y" + "2 /></DataSeriesSerializer><DataSeriesSerializer><Y>24.2;11</Y><LineStyle Thickn" + "ess=\"1\" Color=\"LimeGreen\" Pattern=\"Solid\" /><SymbolStyle Shape=\"Tri\" Color=\"Corn" + "silk\" /><SeriesLabel>Gamma</SeriesLabel><DataTypes>Single;Single;Single;Single;S" + "ingle</DataTypes><Y1 /><X>1;2</X><Y3 /><Y2 /></DataSeriesSerializer><DataSeriesS" + "erializer><Y>4.6;15.1</Y><LineStyle Thickness=\"1\" Color=\"MediumTurquoise\" Patter" + "n=\"Solid\" /><SymbolStyle Shape=\"Diamond\" Color=\"Crimson\" /><SeriesLabel>Delta</S" + "eriesLabel><DataTypes>Single;Single;Single;Single;Single</DataTypes><Y1 /><X>1;2" + "</X><Y3 /><Y2 /></DataSeriesSerializer></DataSeriesCollection></DataSerializer><" + "ShowOutline>True</ShowOutline><Bar>ClusterOverlap=0,ClusterWidth=90</Bar><Pie>Ot" + "herOffset=0,Start=0</Pie></ChartGroup><ChartGroup><Polar>Degrees=True,PiRatioAnn" + "otations=True,Start=0</Polar><Radar>Degrees=True,Filled=False,Start=0</Radar><St" + "acked>False</Stacked><HiLoData>FillFalling=True,FillTransparent=True,FullWidth=F" + "alse,ShowClose=True,ShowOpen=True</HiLoData><ChartType>XYPlot</ChartType><Bubble" + ">EncodingMethod=Diameter,MaximumSize=20,MinimumSize=5</Bubble><Name>Group2</Name" + "><DataSerializer /><ShowOutline>True</ShowOutline><Bar>ClusterOverlap=0,ClusterW" + "idth=50</Bar><Pie>OtherOffset=0,Start=0</Pie></ChartGroup></ChartGroupsCollectio" + "n><StyleCollection><NamedStyle><Name>PlotArea</Name><ParentName>Area</ParentName" + "><StyleData>Border=Solid,ControlText,1;BackColor=AliceBlue;</StyleData></NamedSt" + "yle><NamedStyle><Name>Legend</Name><ParentName>Legend.default</ParentName><Style" + "Data>Border=RaisedBevel,LightYellow,2;AlignHorz=Center;BackColor=LightYellow;Fon" + "t=Microsoft Sans Serif, 12pt, style=Bold;</StyleData></NamedStyle><NamedStyle><N" + "ame>Footer</Name><ParentName>Control</ParentName><StyleData>ForeColor=Bisque;Bor" + "der=None,LightSlateGray,1;Font=Microsoft Sans Serif, 12pt, style=Bold;</StyleDat" + "a></NamedStyle><NamedStyle><Name>Area</Name><ParentName>Area.default</ParentName" + "><StyleData>Border=RaisedBevel,LightSteelBlue,2;BackColor=LightSteelBlue;</Style" + "Data></NamedStyle><NamedStyle><Name>Control</Name><ParentName>Control.default</P" + "arentName><StyleData>BackColor=LightSlateGray;</StyleData></NamedStyle><NamedSty" + "le><Name>AxisX</Name><ParentName>Area</ParentName><StyleData>Rotation=Rotate270;" + "Border=None,LightSteelBlue,1;AlignHorz=Near;BackColor=Transparent;Font=Microsoft" + " Sans Serif, 12pt;AlignVert=Center;</StyleData></NamedStyle><NamedStyle><Name>Ax" + "isY</Name><ParentName>Area</ParentName><StyleData>Rotation=Rotate0;Border=None,L" + "ightSteelBlue,1;AlignHorz=Center;BackColor=Transparent;AlignVert=Bottom;</StyleD" + "ata></NamedStyle><NamedStyle><Name>LabelStyleDefault</Name><ParentName>LabelStyl" + "eDefault.default</ParentName><StyleData /></NamedStyle><NamedStyle><Name>Legend." + "default</Name><ParentName>Control</ParentName><StyleData>Border=None,LightYellow" + ",1;Wrap=False;AlignVert=Top;</StyleData></NamedStyle><NamedStyle><Name>LabelStyl" + "eDefault.default</Name><ParentName>Control</ParentName><StyleData>Border=None,Co" + "ntrol,1;BackColor=Transparent;</StyleData></NamedStyle><NamedStyle><Name>Header<" + "/Name><ParentName>Control</ParentName><StyleData>Border=RaisedBevel,Bisque,2;Bac" + "kColor=Bisque;Font=Microsoft Sans Serif, 12pt, style=Bold;</StyleData></NamedSty" + "le><NamedStyle><Name>Control.default</Name><ParentName /><StyleData>ForeColor=Co" + "ntrolText;Border=None,LightSlateGray,1;BackColor=Control;</StyleData></NamedStyl" + "e><NamedStyle><Name>AxisY2</Name><ParentName>Area</ParentName><StyleData>Rotatio" + "n=Rotate0;Border=None,Transparent,1;AlignHorz=Center;BackColor=Transparent;Align" + "Vert=Top;</StyleData></NamedStyle><NamedStyle><Name>Area.default</Name><ParentNa" + "me>Control</ParentName><StyleData>Border=None,LightSteelBlue,1;AlignVert=Top;</S" + "tyleData></NamedStyle></StyleCollection><Footer Compass=\"South\"><Text>Total # of" + " ChartLabels: </Text></Footer><Legend Compass=\"East\" Visible=\"True\"><Text /></Le" + "gend><ChartArea Inverted=\"True\" /></Chart2DPropBag>"; this.c1Chart1.Size = new System.Drawing.Size(480, 256); this.c1Chart1.TabIndex = 2; this.c1Chart1.DragDrop += new System.Windows.Forms.DragEventHandler(this.c1Chart1_DragDrop); this.c1Chart1.DragOver += new System.Windows.Forms.DragEventHandler(this.c1Chart1_DragOver); this.c1Chart1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.c1Chart1_MouseMove); this.c1Chart1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.c1Chart1_MouseDown); // // menuHelpMoreInfo // this.menuHelpMoreInfo.Index = 0; this.menuHelpMoreInfo.Text = "More Info..."; this.menuHelpMoreInfo.Click += new System.EventHandler(this.menuHelpMoreInfo_Click); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(488, 353); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.c1Chart1, this.grpLabels, this.buttonClearLabels }); this.Menu = this.mainMenu1; this.Name = "Form1"; this.Text = "ComponentOne Chart.Net 2D - Chart Labels Demo"; this.Load += new System.EventHandler(this.Form1_Load); this.grpLabels.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this._flex = new C1.Win.C1FlexGrid.C1FlexGrid(); this._chart = new C1.Win.C1Chart.C1Chart(); this.splitter1 = new System.Windows.Forms.Splitter(); this.panel1 = new System.Windows.Forms.Panel(); this._checkRotate = new System.Windows.Forms.CheckBox(); this._checkGridlines = new System.Windows.Forms.CheckBox(); this._btnInsert = new System.Windows.Forms.Button(); this._btnDelete = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this._flex)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this._chart)).BeginInit(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // _flex // this._flex.BackColor = System.Drawing.SystemColors.Window; this._flex.ColumnInfo = @"4,1,0,0,0,75,Columns:0{Width:18;} 1{Caption:""X"";TextAlign:CenterCenter;TextAlignFixed:CenterCenter;} 2{Caption:""Series 1"";DataType:System.Single;Format:""#,##0.00"";TextAlign:RightCenter;TextAlignFixed:RightCenter;} 3{Caption:""Series 2"";DataType:System.Single;Format:""#,##0.00"";TextAlign:RightCenter;TextAlignFixed:RightCenter;}"; this._flex.Dock = System.Windows.Forms.DockStyle.Left; this._flex.Location = new System.Drawing.Point(0, 40); this._flex.Name = "_flex"; this._flex.Rows.Count = 13; this._flex.ShowCursor = true; this._flex.Size = new System.Drawing.Size(248, 309); this._flex.TabIndex = 0; this._flex.AfterEdit += new C1.Win.C1FlexGrid.RowColEventHandler(this._flex_AfterEdit); // // _chart // this._chart.Dock = System.Windows.Forms.DockStyle.Fill; this._chart.Location = new System.Drawing.Point(254, 40); this._chart.Name = "_chart"; this._chart.PropBag = "<?xml version=\"1.0\"?><Chart2DPropBag Version=\"\"><Footer Compass=\"South\"><Text /><" + "/Footer><Legend Compass=\"East\" Visible=\"False\"><Text /></Legend><ChartArea /><Ch" + "artGroupsCollection><ChartGroup><DataSerializer DefaultSet=\"True\"><DataSeriesCol" + "lection><DataSeriesSerializer><Y1 /><SeriesLabel>series 0</SeriesLabel><DataType" + "s>Single;Single;Single;Single;Single</DataTypes><X>1;2;3;4;5</X><Y2 /><Y>20;22;1" + "9;24;25</Y><Y3 /><LineStyle Pattern=\"Solid\" Thickness=\"1\" Color=\"DarkGoldenrod\" " + "/><SymbolStyle Shape=\"Box\" Color=\"Coral\" /></DataSeriesSerializer><DataSeriesSer" + "ializer><Y1 /><SeriesLabel>series 1</SeriesLabel><DataTypes>Single;Single;Single" + ";Single;Single</DataTypes><X>1;2;3;4;5</X><Y2 /><Y>8;12;10;12;15</Y><Y3 /><LineS" + "tyle Pattern=\"Solid\" Thickness=\"1\" Color=\"DarkGray\" /><SymbolStyle Shape=\"Dot\" C" + "olor=\"CornflowerBlue\" /></DataSeriesSerializer></DataSeriesCollection></DataSeri" + "alizer><Bar>ClusterOverlap=0,ClusterWidth=50</Bar><Name>Group1</Name><Polar>Degr" + "ees=True,PiRatioAnnotations=True,Start=0</Polar><ShowOutline>True</ShowOutline><" + "Radar>Degrees=True,Filled=False,Start=0</Radar><Pie>OtherOffset=0,Start=0</Pie><" + "ChartType>XYPlot</ChartType><Stacked>False</Stacked><Bubble>EncodingMethod=Diame" + "ter,MaximumSize=20,MinimumSize=5</Bubble><HiLoData>FillFalling=True,FillTranspar" + "ent=True,FullWidth=False,ShowClose=True,ShowOpen=True</HiLoData></ChartGroup><Ch" + "artGroup><DataSerializer /><Bar>ClusterOverlap=0,ClusterWidth=50</Bar><Name>Grou" + "p2</Name><Polar>Degrees=True,PiRatioAnnotations=True,Start=0</Polar><ShowOutline" + ">True</ShowOutline><Radar>Degrees=True,Filled=False,Start=0</Radar><Pie>OtherOff" + "set=0,Start=0</Pie><ChartType>XYPlot</ChartType><Stacked>False</Stacked><Bubble>" + "EncodingMethod=Diameter,MaximumSize=20,MinimumSize=5</Bubble><HiLoData>FillFalli" + "ng=True,FillTransparent=True,FullWidth=False,ShowClose=True,ShowOpen=True</HiLoD" + "ata></ChartGroup></ChartGroupsCollection><StyleCollection><NamedStyle><Name>Plot" + "Area</Name><ParentName>Area</ParentName><StyleData>Border=None,Control,1;</Style" + "Data></NamedStyle><NamedStyle><Name>Legend</Name><ParentName>Legend.default</Par" + "entName><StyleData /></NamedStyle><NamedStyle><Name>Footer</Name><ParentName>Con" + "trol</ParentName><StyleData>Border=None,Control,1;</StyleData></NamedStyle><Name" + "dStyle><Name>Area</Name><ParentName>Area.default</ParentName><StyleData /></Name" + "dStyle><NamedStyle><Name>Control</Name><ParentName>Control.default</ParentName><" + "StyleData /></NamedStyle><NamedStyle><Name>AxisX</Name><ParentName>Area</ParentN" + "ame><StyleData>Rotation=Rotate0;Border=None,Control,1;AlignHorz=Center;BackColor" + "=Transparent;AlignVert=Bottom;</StyleData></NamedStyle><NamedStyle><Name>AxisY</" + "Name><ParentName>Area</ParentName><StyleData>Rotation=Rotate270;Border=None,Cont" + "rol,1;AlignHorz=Near;BackColor=Transparent;AlignVert=Center;</StyleData></NamedS" + "tyle><NamedStyle><Name>LabelStyleDefault</Name><ParentName>LabelStyleDefault.def" + "ault</ParentName><StyleData /></NamedStyle><NamedStyle><Name>Legend.default</Nam" + "e><ParentName>Control</ParentName><StyleData>Border=None,Black,1;Wrap=False;Alig" + "nVert=Top;</StyleData></NamedStyle><NamedStyle><Name>LabelStyleDefault.default</" + "Name><ParentName>Control</ParentName><StyleData>Border=None,Control,1;BackColor=" + "Transparent;</StyleData></NamedStyle><NamedStyle><Name>Header</Name><ParentName>" + "Control</ParentName><StyleData>Border=None,Control,1;</StyleData></NamedStyle><N" + "amedStyle><Name>Control.default</Name><ParentName /><StyleData>ForeColor=Control" + "Text;Border=None,Control,1;BackColor=Control;</StyleData></NamedStyle><NamedStyl" + "e><Name>AxisY2</Name><ParentName>Area</ParentName><StyleData>Rotation=Rotate90;B" + "order=None,Transparent,1;AlignHorz=Far;BackColor=Transparent;AlignVert=Center;</" + "StyleData></NamedStyle><NamedStyle><Name>Area.default</Name><ParentName>Control<" + "/ParentName><StyleData>Border=None,Control,1;AlignVert=Top;</StyleData></NamedSt" + "yle></StyleCollection><Header Compass=\"North\"><Text /></Header><Axes><Axis Compa" + "ss=\"South\" Max=\"5\" Min=\"1\" UnitMajor=\"1\" UnitMinor=\"0.5\" AutoMajor=\"True\" AutoMi" + "nor=\"True\" AutoMax=\"True\" AutoMin=\"True\" _onTop=\"0\"><GridMajor AutoSpace=\"True\" " + "Pattern=\"Dash\" Thickness=\"1\" Color=\"LightGray\" /><GridMinor AutoSpace=\"True\" Pat" + "tern=\"Dash\" Thickness=\"1\" Color=\"LightGray\" /><Text /></Axis><Axis Compass=\"West" + "\" Max=\"25\" Min=\"8\" UnitMajor=\"2\" UnitMinor=\"1\" AutoMajor=\"True\" AutoMinor=\"True\"" + " AutoMax=\"True\" AutoMin=\"True\" _onTop=\"0\"><GridMajor AutoSpace=\"True\" Pattern=\"D" + "ash\" Thickness=\"1\" Color=\"LightGray\" /><GridMinor AutoSpace=\"True\" Pattern=\"Dash" + "\" Thickness=\"1\" Color=\"LightGray\" /><Text /></Axis><Axis Compass=\"East\" Max=\"0\" " + "Min=\"0\" UnitMajor=\"0\" UnitMinor=\"0\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"T" + "rue\" AutoMin=\"True\" _onTop=\"0\"><GridMajor AutoSpace=\"True\" Pattern=\"Dash\" Thickn" + "ess=\"1\" Color=\"LightGray\" /><GridMinor AutoSpace=\"True\" Pattern=\"Dash\" Thickness" + "=\"1\" Color=\"LightGray\" /><Text /></Axis></Axes></Chart2DPropBag>"; this._chart.Size = new System.Drawing.Size(378, 309); this._chart.TabIndex = 1; this._chart.MouseDown += new System.Windows.Forms.MouseEventHandler(this._chart_MouseDown); // // splitter1 // this.splitter1.Location = new System.Drawing.Point(248, 40); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(6, 309); this.splitter1.TabIndex = 2; this.splitter1.TabStop = false; // // panel1 // this.panel1.Controls.AddRange(new System.Windows.Forms.Control[] { this._btnInsert, this._checkRotate, this._checkGridlines, this._btnDelete }); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(632, 40); this.panel1.TabIndex = 3; // // _checkRotate // this._checkRotate.Location = new System.Drawing.Point(256, 12); this._checkRotate.Name = "_checkRotate"; this._checkRotate.Size = new System.Drawing.Size(112, 16); this._checkRotate.TabIndex = 0; this._checkRotate.Text = "Rotate Labels"; this._checkRotate.CheckedChanged += new System.EventHandler(this._checkRotate_CheckedChanged); // // _checkGridlines // this._checkGridlines.Location = new System.Drawing.Point(384, 12); this._checkGridlines.Name = "_checkGridlines"; this._checkGridlines.Size = new System.Drawing.Size(112, 16); this._checkGridlines.TabIndex = 0; this._checkGridlines.Text = "Gridlines"; this._checkGridlines.CheckedChanged += new System.EventHandler(this._checkGridlines_CheckedChanged); // // _btnInsert // this._btnInsert.Location = new System.Drawing.Point(8, 8); this._btnInsert.Name = "_btnInsert"; this._btnInsert.Size = new System.Drawing.Size(104, 24); this._btnInsert.TabIndex = 1; this._btnInsert.Text = "Insert Data Point"; this._btnInsert.Click += new System.EventHandler(this._btnInsert_Click); // // _btnDelete // this._btnDelete.Location = new System.Drawing.Point(120, 8); this._btnDelete.Name = "_btnDelete"; this._btnDelete.Size = new System.Drawing.Size(104, 24); this._btnDelete.TabIndex = 1; this._btnDelete.Text = "Delete Data Point"; this._btnDelete.Click += new System.EventHandler(this._btnDelete_Click); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(632, 349); this.Controls.AddRange(new System.Windows.Forms.Control[] { this._chart, this.splitter1, this._flex, this.panel1 }); this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "C1FlexGrid: Charting with C1Chart"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this._flex)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this._chart)).EndInit(); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.btnArrange = new System.Windows.Forms.Button(); this.btnCreate = new System.Windows.Forms.Button(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.btnArrangeLine = new System.Windows.Forms.Button(); this.btnCreateLine = new System.Windows.Forms.Button(); this.c1Chart1 = new C1.Win.C1Chart.C1Chart(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).BeginInit(); this.SuspendLayout(); // // tabControl1 // this.tabControl1.Appearance = System.Windows.Forms.TabAppearance.FlatButtons; this.tabControl1.Controls.AddRange(new System.Windows.Forms.Control[] { this.tabPage1, this.tabPage2 }); this.tabControl1.Dock = System.Windows.Forms.DockStyle.Left; this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(120, 453); this.tabControl1.TabIndex = 1; this.tabControl1.SelectedIndexChanged += new System.EventHandler(this.tabControl1_SelectedIndexChanged); // // tabPage1 // this.tabPage1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.tabPage1.Controls.AddRange(new System.Windows.Forms.Control[] { this.btnArrange, this.btnCreate }); this.tabPage1.Location = new System.Drawing.Point(4, 25); this.tabPage1.Name = "tabPage1"; this.tabPage1.Size = new System.Drawing.Size(112, 424); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Scatter"; // // btnArrange // this.btnArrange.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnArrange.Location = new System.Drawing.Point(16, 56); this.btnArrange.Name = "btnArrange"; this.btnArrange.TabIndex = 1; this.btnArrange.Text = "Arrange"; this.btnArrange.Click += new System.EventHandler(this.btnArrange_Click); // // btnCreate // this.btnCreate.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnCreate.Location = new System.Drawing.Point(16, 16); this.btnCreate.Name = "btnCreate"; this.btnCreate.TabIndex = 0; this.btnCreate.Text = "Create"; this.btnCreate.Click += new System.EventHandler(this.btnCreate_Click); // // tabPage2 // this.tabPage2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.tabPage2.Controls.AddRange(new System.Windows.Forms.Control[] { this.btnArrangeLine, this.btnCreateLine }); this.tabPage2.Location = new System.Drawing.Point(4, 25); this.tabPage2.Name = "tabPage2"; this.tabPage2.Size = new System.Drawing.Size(112, 424); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "Line"; // // btnArrangeLine // this.btnArrangeLine.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnArrangeLine.Location = new System.Drawing.Point(16, 56); this.btnArrangeLine.Name = "btnArrangeLine"; this.btnArrangeLine.TabIndex = 2; this.btnArrangeLine.Text = "Arrange"; this.btnArrangeLine.Click += new System.EventHandler(this.btnArrangeLine_Click); // // btnCreateLine // this.btnCreateLine.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnCreateLine.Location = new System.Drawing.Point(16, 16); this.btnCreateLine.Name = "btnCreateLine"; this.btnCreateLine.TabIndex = 0; this.btnCreateLine.Text = "Create"; this.btnCreateLine.Click += new System.EventHandler(this.btnCreateLine_Click); // // c1Chart1 // this.c1Chart1.BackColor = System.Drawing.SystemColors.Control; this.c1Chart1.DataSource = null; this.c1Chart1.Dock = System.Windows.Forms.DockStyle.Fill; this.c1Chart1.Location = new System.Drawing.Point(120, 0); this.c1Chart1.Name = "c1Chart1"; this.c1Chart1.PropBag = "<?xml version=\"1.0\"?><Chart2DPropBag Version=\"\"><StyleCollection><NamedStyle Name" + "=\"PlotArea\" ParentName=\"Area\" StyleData=\"Border=Solid,ControlText,1;BackColor=Wh" + "iteSmoke;\" /><NamedStyle Name=\"Legend\" ParentName=\"Legend.default\" /><NamedStyle" + " Name=\"Footer\" ParentName=\"Control\" StyleData=\"Border=None,Transparent,1;\" /><Na" + "medStyle Name=\"Area\" ParentName=\"Area.default\" /><NamedStyle Name=\"Control\" Pare" + "ntName=\"Control.default\" StyleData=\"Border=Solid,Black,1;Rounding=10 10 10 10;\" " + "/><NamedStyle Name=\"AxisX\" ParentName=\"Area\" StyleData=\"Rotation=Rotate0;AlignHo" + "rz=Center;AlignVert=Bottom;\" /><NamedStyle Name=\"AxisY\" ParentName=\"Area\" StyleD" + "ata=\"Rotation=Rotate270;AlignHorz=Near;AlignVert=Center;\" /><NamedStyle Name=\"La" + "belStyleDefault\" ParentName=\"LabelStyleDefault.default\" /><NamedStyle Name=\"Lege" + "nd.default\" ParentName=\"Control\" StyleData=\"Border=None,Transparent,1;Wrap=False" + ";AlignVert=Top;\" /><NamedStyle Name=\"LabelStyleDefault.default\" ParentName=\"Cont" + "rol\" StyleData=\"Border=None,Transparent,1;BackColor=Transparent;\" /><NamedStyle " + "Name=\"Header\" ParentName=\"Control\" StyleData=\"Border=None,Transparent,1;\" /><Nam" + "edStyle Name=\"Control.default\" ParentName=\"\" StyleData=\"ForeColor=ControlText;Bo" + "rder=None,Transparent,1;BackColor=Control;\" /><NamedStyle Name=\"AxisY2\" ParentNa" + "me=\"Area\" StyleData=\"Rotation=Rotate90;AlignHorz=Far;AlignVert=Center;\" /><Named" + "Style Name=\"Area.default\" ParentName=\"Control\" StyleData=\"Border=None,Transparen" + "t,1;AlignVert=Top;\" /></StyleCollection><ChartGroupsCollection><ChartGroup Name=" + "\"Group1\" Use3D=\"False\"><DataSerializer DefaultSet=\"True\"><DataSeriesCollection><" + "DataSeriesSerializer><LineStyle Color=\"DarkGoldenrod\" /><SymbolStyle Color=\"Cora" + "l\" Shape=\"Box\" /><SeriesLabel>series 0</SeriesLabel><X>1;2;3;4;5</X><Y>20;22;19;" + "24;25</Y><DataTypes>Single;Single;Double;Double;Double</DataTypes><DataFields>;;" + ";;</DataFields><FillStyle /></DataSeriesSerializer><DataSeriesSerializer><LineSt" + "yle Color=\"DarkGray\" /><SymbolStyle Color=\"CornflowerBlue\" Shape=\"Dot\" /><Series" + "Label>series 1</SeriesLabel><X>1;2;3;4;5</X><Y>8;12;10;12;15</Y><DataTypes>Singl" + "e;Single;Double;Double;Double</DataTypes><DataFields>;;;;</DataFields><FillStyle" + " /></DataSeriesSerializer><DataSeriesSerializer><LineStyle Color=\"DarkGreen\" /><" + "SymbolStyle Color=\"Cornsilk\" Shape=\"Tri\" /><SeriesLabel>series 2</SeriesLabel><X" + ">1;2;3;4;5</X><Y>10;16;17;15;23</Y><DataTypes>Single;Single;Double;Double;Double" + "</DataTypes><DataFields>;;;;</DataFields><FillStyle /></DataSeriesSerializer><Da" + "taSeriesSerializer><LineStyle Color=\"DarkKhaki\" /><SymbolStyle Color=\"Crimson\" S" + "hape=\"Diamond\" /><SeriesLabel>series 3</SeriesLabel><X>1;2;3;4;5</X><Y>16;19;15;" + "22;18</Y><DataTypes>Single;Single;Double;Double;Double</DataTypes><DataFields>;;" + ";;</DataFields><FillStyle /></DataSeriesSerializer></DataSeriesCollection></Data" + "Serializer></ChartGroup><ChartGroup Name=\"Group2\"><DataSerializer /></ChartGroup" + "></ChartGroupsCollection><Header Compass=\"North\" Visible=\"False\" /><Footer Compa" + "ss=\"South\" /><Legend Compass=\"East\" Visible=\"False\" /><ChartArea><Margin Top=\"0\"" + " Left=\"0\" Bottom=\"0\" Right=\"0\" /></ChartArea><Axes><Axis Max=\"5\" Min=\"1\" UnitMaj" + "or=\"1\" UnitMinor=\"0.5\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=" + "\"True\" Compass=\"South\"><SB Appearance=\"Flat\" Min=\"1\" Max=\"5\" /><GridMajor /><Gri" + "dMinor /></Axis><Axis Max=\"25\" Min=\"8\" UnitMajor=\"1\" UnitMinor=\"0.5\" AutoMajor=\"" + "True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" Compass=\"West\"><GridMajor /" + "><GridMinor /></Axis><Axis Max=\"0\" Min=\"0\" UnitMajor=\"0\" UnitMinor=\"0\" AutoMajor" + "=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" Compass=\"East\"><GridMajor" + " /><GridMinor /></Axis></Axes></Chart2DPropBag>"; this.c1Chart1.Size = new System.Drawing.Size(512, 453); this.c1Chart1.TabIndex = 2; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(632, 453); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.c1Chart1, this.tabControl1 }); this.Name = "Form1"; this.Text = "ComponentOne Chart.Net 2D - Auto Label Arrangement Chart Demo"; this.Load += new System.EventHandler(this.Form1_Load); this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.chartRawData = new C1.Win.C1Chart.C1Chart(); this.txtStatistics = new System.Windows.Forms.TextBox(); this.chartHistogram = new C1.Win.C1Chart.C1Chart(); ((System.ComponentModel.ISupportInitialize)(this.chartRawData)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.chartHistogram)).BeginInit(); this.SuspendLayout(); // // txtStatistics // this.txtStatistics.BackColor = System.Drawing.Color.White; this.txtStatistics.Multiline = true; this.txtStatistics.Name = "txtStatistics"; this.txtStatistics.ReadOnly = true; this.txtStatistics.Size = new System.Drawing.Size(160, 160); this.txtStatistics.TabIndex = 1; this.txtStatistics.Text = ""; // // chartRawData // this.chartRawData.DataSource = null; this.chartRawData.Location = new System.Drawing.Point(168, 0); this.chartRawData.Name = "chartRawData"; this.chartRawData.PropBag = "<?xml version=\"1.0\"?><Chart2DPropBag Version=\"\"><StyleCollection><NamedStyle Name" + "=\"Area.default\" ParentName=\"Control\" StyleData=\"Border=None,Transparent,1;AlignV" + "ert=Top;\" /><NamedStyle Name=\"Control\" ParentName=\"Control.default\" /><NamedStyl" + "e Name=\"AxisY2\" ParentName=\"Area\" StyleData=\"Rotation=Rotate90;AlignHorz=Far;Ali" + "gnVert=Center;\" /><NamedStyle Name=\"Footer\" ParentName=\"Control\" StyleData=\"Bord" + "er=None,Transparent,1;\" /><NamedStyle Name=\"Header\" ParentName=\"Control\" StyleDa" + "ta=\"Border=None,Transparent,1;\" /><NamedStyle Name=\"Legend\" ParentName=\"Legend.d" + "efault\" /><NamedStyle Name=\"Area\" ParentName=\"Area.default\" /><NamedStyle Name=\"" + "LabelStyleDefault\" ParentName=\"LabelStyleDefault.default\" /><NamedStyle Name=\"La" + "belStyleDefault.default\" ParentName=\"Control\" StyleData=\"Border=None,Transparent" + ",1;BackColor=Transparent;\" /><NamedStyle Name=\"PlotArea\" ParentName=\"Area\" Style" + "Data=\"Border=None,Transparent,1;\" /><NamedStyle Name=\"Control.default\" ParentNam" + "e=\"\" StyleData=\"ForeColor=ControlText;Border=None,Transparent,1;BackColor=Contro" + "l;\" /><NamedStyle Name=\"Legend.default\" ParentName=\"Control\" StyleData=\"Border=N" + "one,Transparent,1;Wrap=False;AlignVert=Top;\" /><NamedStyle Name=\"AxisY\" ParentNa" + "me=\"Area\" StyleData=\"Rotation=Rotate270;AlignHorz=Near;AlignVert=Center;\" /><Nam" + "edStyle Name=\"AxisX\" ParentName=\"Area\" StyleData=\"Rotation=Rotate0;AlignHorz=Cen" + "ter;AlignVert=Bottom;\" /></StyleCollection><ChartGroupsCollection><ChartGroup Na" + "me=\"Group1\"><DataSerializer DefaultSet=\"True\"><DataSeriesCollection><DataSeriesS" + "erializer><LineStyle Color=\"DarkGoldenrod\" /><SymbolStyle Color=\"Coral\" Shape=\"B" + "ox\" /><SeriesLabel>series 0</SeriesLabel><X>1;2;3;4;5</X><Y>20;22;19;24;25</Y><D" + "ataTypes>Single;Single;Double;Double;Double</DataTypes><DataFields>;;;;</DataFie" + "lds><FillStyle /><Histogram /></DataSeriesSerializer><DataSeriesSerializer><Line" + "Style Color=\"DarkGray\" /><SymbolStyle Color=\"CornflowerBlue\" Shape=\"Dot\" /><Seri" + "esLabel>series 1</SeriesLabel><X>1;2;3;4;5</X><Y>8;12;10;12;15</Y><DataTypes>Sin" + "gle;Single;Double;Double;Double</DataTypes><DataFields>;;;;</DataFields><FillSty" + "le /><Histogram /></DataSeriesSerializer><DataSeriesSerializer><LineStyle Color=" + "\"DarkGreen\" /><SymbolStyle Color=\"Cornsilk\" Shape=\"Tri\" /><SeriesLabel>series 2<" + "/SeriesLabel><X>1;2;3;4;5</X><Y>10;16;17;15;23</Y><DataTypes>Single;Single;Doubl" + "e;Double;Double</DataTypes><DataFields>;;;;</DataFields><FillStyle /><Histogram " + "/></DataSeriesSerializer><DataSeriesSerializer><LineStyle Color=\"DarkKhaki\" /><S" + "ymbolStyle Color=\"Crimson\" Shape=\"Diamond\" /><SeriesLabel>series 3</SeriesLabel>" + "<X>1;2;3;4;5</X><Y>16;19;15;22;18</Y><DataTypes>Single;Single;Double;Double;Doub" + "le</DataTypes><DataFields>;;;;</DataFields><FillStyle /><Histogram /></DataSerie" + "sSerializer></DataSeriesCollection></DataSerializer><Histogram><NormalDisplay><F" + "illStyle Color1=\"Transparent\" /></NormalDisplay></Histogram></ChartGroup><ChartG" + "roup Name=\"Group2\"><DataSerializer /><Histogram><NormalDisplay><FillStyle Color1" + "=\"Transparent\" /></NormalDisplay></Histogram></ChartGroup></ChartGroupsCollectio" + "n><Header Compass=\"North\" /><Footer Compass=\"South\" /><Legend Compass=\"East\" Vis" + "ible=\"False\" /><ChartArea /><Axes><Axis Max=\"5\" Min=\"1\" UnitMajor=\"1\" UnitMinor=" + "\"0.5\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" Compass=\"S" + "outh\"><GridMajor /><GridMinor /></Axis><Axis Max=\"25\" Min=\"5\" UnitMajor=\"5\" Unit" + "Minor=\"2.5\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" Comp" + "ass=\"West\"><GridMajor /><GridMinor /></Axis><Axis Max=\"0\" Min=\"0\" UnitMajor=\"0\" " + "UnitMinor=\"0\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" Co" + "mpass=\"East\"><GridMajor /><GridMinor /></Axis></Axes></Chart2DPropBag>"; this.chartRawData.Size = new System.Drawing.Size(336, 208); this.chartRawData.TabIndex = 0; // // chartHistogram // this.chartHistogram.DataSource = null; this.chartHistogram.Location = new System.Drawing.Point(168, 232); this.chartHistogram.Name = "chartHistogram"; this.chartHistogram.PropBag = "<?xml version=\"1.0\"?><Chart2DPropBag Version=\"\"><StyleCollection><NamedStyle Name" + "=\"Area.default\" ParentName=\"Control\" StyleData=\"Border=None,Transparent,1;AlignV" + "ert=Top;\" /><NamedStyle Name=\"Control\" ParentName=\"Control.default\" /><NamedStyl" + "e Name=\"AxisY2\" ParentName=\"Area\" StyleData=\"Rotation=Rotate90;AlignHorz=Far;Ali" + "gnVert=Center;\" /><NamedStyle Name=\"Footer\" ParentName=\"Control\" StyleData=\"Bord" + "er=None,Transparent,1;\" /><NamedStyle Name=\"Header\" ParentName=\"Control\" StyleDa" + "ta=\"Border=None,Transparent,1;\" /><NamedStyle Name=\"Legend\" ParentName=\"Legend.d" + "efault\" /><NamedStyle Name=\"Area\" ParentName=\"Area.default\" /><NamedStyle Name=\"" + "LabelStyleDefault\" ParentName=\"LabelStyleDefault.default\" /><NamedStyle Name=\"La" + "belStyleDefault.default\" ParentName=\"Control\" StyleData=\"Border=None,Transparent" + ",1;BackColor=Transparent;\" /><NamedStyle Name=\"PlotArea\" ParentName=\"Area\" Style" + "Data=\"Border=None,Transparent,1;\" /><NamedStyle Name=\"Control.default\" ParentNam" + "e=\"\" StyleData=\"ForeColor=ControlText;Border=None,Transparent,1;BackColor=Contro" + "l;\" /><NamedStyle Name=\"Legend.default\" ParentName=\"Control\" StyleData=\"Border=N" + "one,Transparent,1;Wrap=False;AlignVert=Top;\" /><NamedStyle Name=\"AxisY\" ParentNa" + "me=\"Area\" StyleData=\"Rotation=Rotate270;AlignHorz=Near;AlignVert=Center;\" /><Nam" + "edStyle Name=\"AxisX\" ParentName=\"Area\" StyleData=\"Rotation=Rotate0;AlignHorz=Cen" + "ter;AlignVert=Bottom;\" /></StyleCollection><ChartGroupsCollection><ChartGroup Na" + "me=\"Group1\"><DataSerializer DefaultSet=\"True\"><DataSeriesCollection><DataSeriesS" + "erializer><LineStyle Color=\"DarkGoldenrod\" /><SymbolStyle Color=\"Coral\" Shape=\"B" + "ox\" /><SeriesLabel>series 0</SeriesLabel><X>1;2;3;4;5</X><Y>20;22;19;24;25</Y><D" + "ataTypes>Single;Single;Double;Double;Double</DataTypes><DataFields>;;;;</DataFie" + "lds><FillStyle /><Histogram /></DataSeriesSerializer><DataSeriesSerializer><Line" + "Style Color=\"DarkGray\" /><SymbolStyle Color=\"CornflowerBlue\" Shape=\"Dot\" /><Seri" + "esLabel>series 1</SeriesLabel><X>1;2;3;4;5</X><Y>8;12;10;12;15</Y><DataTypes>Sin" + "gle;Single;Double;Double;Double</DataTypes><DataFields>;;;;</DataFields><FillSty" + "le /><Histogram /></DataSeriesSerializer><DataSeriesSerializer><LineStyle Color=" + "\"DarkGreen\" /><SymbolStyle Color=\"Cornsilk\" Shape=\"Tri\" /><SeriesLabel>series 2<" + "/SeriesLabel><X>1;2;3;4;5</X><Y>10;16;17;15;23</Y><DataTypes>Single;Single;Doubl" + "e;Double;Double</DataTypes><DataFields>;;;;</DataFields><FillStyle /><Histogram " + "/></DataSeriesSerializer><DataSeriesSerializer><LineStyle Color=\"DarkKhaki\" /><S" + "ymbolStyle Color=\"Crimson\" Shape=\"Diamond\" /><SeriesLabel>series 3</SeriesLabel>" + "<X>1;2;3;4;5</X><Y>16;19;15;22;18</Y><DataTypes>Single;Single;Double;Double;Doub" + "le</DataTypes><DataFields>;;;;</DataFields><FillStyle /><Histogram /></DataSerie" + "sSerializer></DataSeriesCollection></DataSerializer><Histogram><NormalDisplay><F" + "illStyle Color1=\"Transparent\" /></NormalDisplay></Histogram></ChartGroup><ChartG" + "roup Name=\"Group2\"><DataSerializer /><Histogram><NormalDisplay><FillStyle Color1" + "=\"Transparent\" /></NormalDisplay></Histogram></ChartGroup></ChartGroupsCollectio" + "n><Header Compass=\"North\" /><Footer Compass=\"South\" /><Legend Compass=\"East\" Vis" + "ible=\"False\" /><ChartArea /><Axes><Axis Max=\"5\" Min=\"1\" UnitMajor=\"1\" UnitMinor=" + "\"0.5\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" Compass=\"S" + "outh\"><GridMajor /><GridMinor /></Axis><Axis Max=\"25\" Min=\"5\" UnitMajor=\"5\" Unit" + "Minor=\"2.5\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" Comp" + "ass=\"West\"><GridMajor /><GridMinor /></Axis><Axis Max=\"0\" Min=\"0\" UnitMajor=\"0\" " + "UnitMinor=\"0\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" Co" + "mpass=\"East\"><GridMajor /><GridMinor /></Axis></Axes></Chart2DPropBag>"; this.chartHistogram.Size = new System.Drawing.Size(344, 192); this.chartHistogram.TabIndex = 2; this.chartHistogram.DoubleClick += new System.EventHandler(this.chartHistogram_DoubleClick); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(632, 453); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.chartHistogram, this.txtStatistics, this.chartRawData }); this.Name = "Form1"; this.Text = "Form1"; this.Resize += new System.EventHandler(this.Form1_Resize); this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.chartRawData)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chartHistogram)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.c1Chart1 = new C1.Win.C1Chart.C1Chart(); this.hScrollBar1 = new System.Windows.Forms.HScrollBar(); this.vScrollBar1 = new System.Windows.Forms.VScrollBar(); this.chkShow3D = new System.Windows.Forms.CheckBox(); this.updnDepth = new System.Windows.Forms.NumericUpDown(); this.labDepth = new System.Windows.Forms.Label(); this.labCoordInfo = new System.Windows.Forms.Label(); this.chkAlpha = new System.Windows.Forms.CheckBox(); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.updnDepth)).BeginInit(); this.SuspendLayout(); // // c1Chart1 // this.c1Chart1.DataSource = null; this.c1Chart1.Location = new System.Drawing.Point(168, 48); this.c1Chart1.Name = "c1Chart1"; this.c1Chart1.PropBag = "<?xml version=\"1.0\"?><Chart2DPropBag Version=\"\"><StyleCollection><NamedStyle Name" + "=\"PlotArea\" ParentName=\"Area\" StyleData=\"Border=None,Transparent,1;\" /><NamedSty" + "le Name=\"Legend\" ParentName=\"Legend.default\" StyleData=\"AlignHorz=Center;AlignVe" + "rt=Top;\" /><NamedStyle Name=\"Footer\" ParentName=\"Control\" StyleData=\"Border=None" + ",Transparent,1;\" /><NamedStyle Name=\"Area\" ParentName=\"Area.default\" /><NamedSty" + "le Name=\"Control\" ParentName=\"Control.default\" /><NamedStyle Name=\"AxisX\" Parent" + "Name=\"Area\" StyleData=\"Rotation=Rotate0;AlignHorz=Center;AlignVert=Bottom;\" /><N" + "amedStyle Name=\"AxisY\" ParentName=\"Area\" StyleData=\"Rotation=Rotate270;AlignHorz" + "=Near;AlignVert=Center;\" /><NamedStyle Name=\"LabelStyleDefault\" ParentName=\"Labe" + "lStyleDefault.default\" /><NamedStyle Name=\"Legend.default\" ParentName=\"Control\" " + "StyleData=\"Border=None,Transparent,1;Wrap=False;AlignVert=Top;\" /><NamedStyle Na" + "me=\"LabelStyleDefault.default\" ParentName=\"Control\" StyleData=\"Border=None,Trans" + "parent,1;BackColor=Transparent;\" /><NamedStyle Name=\"Header\" ParentName=\"Control" + "\" StyleData=\"Border=None,Transparent,1;\" /><NamedStyle Name=\"Control.default\" Pa" + "rentName=\"\" StyleData=\"ForeColor=ControlText;Border=None,Transparent,1;BackColor" + "=Control;\" /><NamedStyle Name=\"AxisY2\" ParentName=\"Area\" StyleData=\"Rotation=Rot" + "ate90;AlignHorz=Far;AlignVert=Center;\" /><NamedStyle Name=\"Area.default\" ParentN" + "ame=\"Control\" StyleData=\"Border=None,Transparent,1;AlignVert=Top;\" /></StyleColl" + "ection><ChartGroupsCollection><ChartGroup Name=\"Group1\"><DataSerializer DefaultS" + "et=\"True\"><DataSeriesCollection><DataSeriesSerializer><LineStyle Color=\"DarkGold" + "enrod\" /><SymbolStyle Color=\"Coral\" Shape=\"Box\" /><SeriesLabel>series 0</SeriesL" + "abel><X>1;2;3;4;5</X><Y>20;22;19;24;25</Y><DataTypes>Single;Single;Double;Double" + ";Double</DataTypes><DataFields>;;;;</DataFields><FillStyle /></DataSeriesSeriali" + "zer><DataSeriesSerializer><LineStyle Color=\"DarkGray\" /><SymbolStyle Color=\"Corn" + "flowerBlue\" Shape=\"Dot\" /><SeriesLabel>series 1</SeriesLabel><X>1;2;3;4;5</X><Y>" + "8;12;10;12;15</Y><DataTypes>Single;Single;Double;Double;Double</DataTypes><DataF" + "ields>;;;;</DataFields><FillStyle /></DataSeriesSerializer><DataSeriesSerializer" + "><LineStyle Color=\"DarkGreen\" /><SymbolStyle Color=\"Cornsilk\" Shape=\"Tri\" /><Ser" + "iesLabel>series 2</SeriesLabel><X>1;2;3;4;5</X><Y>10;16;17;15;23</Y><DataTypes>S" + "ingle;Single;Double;Double;Double</DataTypes><DataFields>;;;;</DataFields><FillS" + "tyle /></DataSeriesSerializer><DataSeriesSerializer><LineStyle Color=\"DarkKhaki\"" + " /><SymbolStyle Color=\"Crimson\" Shape=\"Diamond\" /><SeriesLabel>series 3</SeriesL" + "abel><X>1;2;3;4;5</X><Y>16;19;15;22;18</Y><DataTypes>Single;Single;Double;Double" + ";Double</DataTypes><DataFields>;;;;</DataFields><FillStyle /></DataSeriesSeriali" + "zer></DataSeriesCollection></DataSerializer></ChartGroup><ChartGroup Name=\"Group" + "2\"><DataSerializer /></ChartGroup></ChartGroupsCollection><Header Compass=\"North" + "\" /><Footer Compass=\"South\" /><Legend Compass=\"East\" Visible=\"True\"><TooltipText" + ">Legend</TooltipText></Legend><ChartArea /><Axes><Axis Max=\"5\" Min=\"1\" UnitMajor" + "=\"1\" UnitMinor=\"0.5\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"T" + "rue\" Compass=\"South\"><GridMajor /><GridMinor /></Axis><Axis Max=\"26\" Min=\"8\" Uni" + "tMajor=\"2\" UnitMinor=\"1\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMi" + "n=\"True\" Compass=\"West\"><GridMajor /><GridMinor /></Axis><Axis Max=\"0\" Min=\"0\" U" + "nitMajor=\"0\" UnitMinor=\"0\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" Auto" + "Min=\"True\" Compass=\"East\"><GridMajor /><GridMinor /></Axis></Axes></Chart2DPropB" + "ag>"; this.c1Chart1.Size = new System.Drawing.Size(448, 400); this.c1Chart1.TabIndex = 0; this.c1Chart1.ToolTip.Enabled = true; this.c1Chart1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.c1Chart1_MouseMove); // // hScrollBar1 // this.hScrollBar1.Location = new System.Drawing.Point(168, 24); this.hScrollBar1.Name = "hScrollBar1"; this.hScrollBar1.Size = new System.Drawing.Size(448, 16); this.hScrollBar1.TabIndex = 1; this.hScrollBar1.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hScrollBar1_Scroll); // // vScrollBar1 // this.vScrollBar1.Location = new System.Drawing.Point(144, 40); this.vScrollBar1.Name = "vScrollBar1"; this.vScrollBar1.Size = new System.Drawing.Size(16, 408); this.vScrollBar1.TabIndex = 2; this.vScrollBar1.Scroll += new System.Windows.Forms.ScrollEventHandler(this.vScrollBar1_Scroll); // // chkShow3D // this.chkShow3D.Location = new System.Drawing.Point(8, 64); this.chkShow3D.Name = "chkShow3D"; this.chkShow3D.Size = new System.Drawing.Size(112, 16); this.chkShow3D.TabIndex = 3; this.chkShow3D.Text = "Show 3D Effects"; this.chkShow3D.CheckedChanged += new System.EventHandler(this.chkShow3D_CheckedChanged); // // updnDepth // this.updnDepth.Location = new System.Drawing.Point(80, 96); this.updnDepth.Maximum = new System.Decimal(new int[] { 40, 0, 0, 0 }); this.updnDepth.Minimum = new System.Decimal(new int[] { 5, 0, 0, 0 }); this.updnDepth.Name = "updnDepth"; this.updnDepth.Size = new System.Drawing.Size(48, 20); this.updnDepth.TabIndex = 4; this.updnDepth.Value = new System.Decimal(new int[] { 5, 0, 0, 0 }); this.updnDepth.ValueChanged += new System.EventHandler(this.updnDepth_ValueChanged); // // labDepth // this.labDepth.Location = new System.Drawing.Point(8, 96); this.labDepth.Name = "labDepth"; this.labDepth.Size = new System.Drawing.Size(56, 16); this.labDepth.TabIndex = 5; this.labDepth.Text = "3D Depth"; // // labCoordInfo // this.labCoordInfo.Location = new System.Drawing.Point(16, 144); this.labCoordInfo.Name = "labCoordInfo"; this.labCoordInfo.Size = new System.Drawing.Size(112, 120); this.labCoordInfo.TabIndex = 6; this.labCoordInfo.Text = "labCoordInfo"; // // chkAlpha // this.chkAlpha.Location = new System.Drawing.Point(8, 32); this.chkAlpha.Name = "chkAlpha"; this.chkAlpha.Size = new System.Drawing.Size(112, 16); this.chkAlpha.TabIndex = 7; this.chkAlpha.Text = "Use Alpha Color"; this.chkAlpha.CheckedChanged += new System.EventHandler(this.chkAlpha_CheckedChanged); // // StepChart // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(632, 453); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.chkAlpha, this.labCoordInfo, this.labDepth, this.updnDepth, this.chkShow3D, this.vScrollBar1, this.hScrollBar1, this.c1Chart1 }); this.Name = "StepChart"; this.Text = "StepChart"; this.Resize += new System.EventHandler(this.StepChart_Resize); this.Load += new System.EventHandler(this.StepChart_Load); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.updnDepth)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.mainMenu1 = new System.Windows.Forms.MainMenu(); this.menuFile = new System.Windows.Forms.MenuItem(); this.menuFileExit = new System.Windows.Forms.MenuItem(); this.menuHelp = new System.Windows.Forms.MenuItem(); this.menuHelpAbout = new System.Windows.Forms.MenuItem(); this.grpInputs = new System.Windows.Forms.GroupBox(); this.buttonGenerate = new System.Windows.Forms.Button(); this.txtPointCount = new System.Windows.Forms.TextBox(); this.lblPointCount = new System.Windows.Forms.Label(); this.c1Chart1 = new C1.Win.C1Chart.C1Chart(); this.grpInputs.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).BeginInit(); this.SuspendLayout(); // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuFile, this.menuHelp }); // // menuFile // this.menuFile.Index = 0; this.menuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuFileExit }); this.menuFile.Text = "File"; // // menuFileExit // this.menuFileExit.Index = 0; this.menuFileExit.Text = "Exit"; this.menuFileExit.Click += new System.EventHandler(this.menuFileExit_Click); // // menuHelp // this.menuHelp.Index = 1; this.menuHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuHelpAbout }); this.menuHelp.Text = "Help"; // // menuHelpAbout // this.menuHelpAbout.Index = 0; this.menuHelpAbout.Text = "About"; this.menuHelpAbout.Click += new System.EventHandler(this.menuHelpAbout_Click); // // grpInputs // this.grpInputs.Controls.AddRange(new System.Windows.Forms.Control[] { this.buttonGenerate, this.txtPointCount, this.lblPointCount }); this.grpInputs.FlatStyle = System.Windows.Forms.FlatStyle.System; this.grpInputs.Name = "grpInputs"; this.grpInputs.Size = new System.Drawing.Size(328, 48); this.grpInputs.TabIndex = 0; this.grpInputs.TabStop = false; // // buttonGenerate // this.buttonGenerate.Location = new System.Drawing.Point(208, 16); this.buttonGenerate.Name = "buttonGenerate"; this.buttonGenerate.Size = new System.Drawing.Size(104, 24); this.buttonGenerate.TabIndex = 2; this.buttonGenerate.Text = "Regenerate Data"; this.buttonGenerate.Click += new System.EventHandler(this.buttonGenerate_Click); // // txtPointCount // this.txtPointCount.Location = new System.Drawing.Point(128, 16); this.txtPointCount.Name = "txtPointCount"; this.txtPointCount.Size = new System.Drawing.Size(32, 20); this.txtPointCount.TabIndex = 1; this.txtPointCount.Text = "5"; this.txtPointCount.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtPointCount_KeyPress); // // lblPointCount // this.lblPointCount.Location = new System.Drawing.Point(8, 18); this.lblPointCount.Name = "lblPointCount"; this.lblPointCount.Size = new System.Drawing.Size(120, 16); this.lblPointCount.TabIndex = 0; this.lblPointCount.Text = "Number of data points:"; // // c1Chart1 // this.c1Chart1.Location = new System.Drawing.Point(8, 56); this.c1Chart1.Name = "c1Chart1"; this.c1Chart1.PropBag = "<?xml version=\"1.0\"?><Chart2DPropBag Version=\"\"><Axes><Axis Max=\"5\" Min=\"1\" UnitM" + "ajor=\"1\" UnitMinor=\"0.5\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMi" + "n=\"True\" _onTop=\"0\" Compass=\"South\"><GridMajor AutoSpace=\"True\" Thickness=\"1\" Co" + "lor=\"LightGray\" Pattern=\"Dash\" /><GridMinor AutoSpace=\"True\" Thickness=\"1\" Color" + "=\"LightGray\" Pattern=\"Dash\" /><Text /></Axis><Axis Max=\"25\" Min=\"8\" UnitMajor=\"2" + "\" UnitMinor=\"1\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" " + "_onTop=\"0\" Compass=\"West\"><GridMajor AutoSpace=\"True\" Thickness=\"1\" Color=\"Light" + "Gray\" Pattern=\"Dash\" /><GridMinor AutoSpace=\"True\" Thickness=\"1\" Color=\"LightGra" + "y\" Pattern=\"Dash\" /><Text /></Axis><Axis Max=\"0\" Min=\"0\" UnitMajor=\"0\" UnitMinor" + "=\"0\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" _onTop=\"0\" " + "Compass=\"East\"><GridMajor AutoSpace=\"True\" Thickness=\"1\" Color=\"LightGray\" Patte" + "rn=\"Dash\" /><GridMinor AutoSpace=\"True\" Thickness=\"1\" Color=\"LightGray\" Pattern=" + "\"Dash\" /><Text /></Axis></Axes><Header Compass=\"North\"><Text /></Header><ChartGr" + "oupsCollection><ChartGroup><Polar>Degrees=True,PiRatioAnnotations=True,Start=0</" + "Polar><Radar>Degrees=True,Filled=False,Start=0</Radar><Stacked>False</Stacked><H" + "iLoData>FillFalling=True,FillTransparent=True,FullWidth=False,ShowClose=True,Sho" + "wOpen=True</HiLoData><ChartType>XYPlot</ChartType><Bubble>EncodingMethod=Diamete" + "r,MaximumSize=20,MinimumSize=5</Bubble><Name>Group1</Name><DataSerializer Defaul" + "tSet=\"True\"><DataSeriesCollection><DataSeriesSerializer><Y>20;22;19;24;25</Y><Li" + "neStyle Thickness=\"1\" Color=\"DarkGoldenrod\" Pattern=\"Solid\" /><SymbolStyle Shape" + "=\"Box\" Color=\"Coral\" /><SeriesLabel>series 0</SeriesLabel><DataTypes>Single;Sing" + "le;Single;Single;Single</DataTypes><Y1 /><X>1;2;3;4;5</X><Y3 /><Y2 /></DataSerie" + "sSerializer><DataSeriesSerializer><Y>8;12;10;12;15</Y><LineStyle Thickness=\"1\" C" + "olor=\"DarkGray\" Pattern=\"Solid\" /><SymbolStyle Shape=\"Dot\" Color=\"CornflowerBlue" + "\" /><SeriesLabel>series 1</SeriesLabel><DataTypes>Single;Single;Single;Single;Si" + "ngle</DataTypes><Y1 /><X>1;2;3;4;5</X><Y3 /><Y2 /></DataSeriesSerializer><DataSe" + "riesSerializer><Y>10;16;17;15;23</Y><LineStyle Thickness=\"1\" Color=\"DarkGreen\" P" + "attern=\"Solid\" /><SymbolStyle Shape=\"Tri\" Color=\"Cornsilk\" /><SeriesLabel>series" + " 2</SeriesLabel><DataTypes>Single;Single;Single;Single;Single</DataTypes><Y1 /><" + "X>1;2;3;4;5</X><Y3 /><Y2 /></DataSeriesSerializer><DataSeriesSerializer><Y>16;19" + ";15;22;18</Y><LineStyle Thickness=\"1\" Color=\"DarkKhaki\" Pattern=\"Solid\" /><Symbo" + "lStyle Shape=\"Diamond\" Color=\"Crimson\" /><SeriesLabel>series 3</SeriesLabel><Dat" + "aTypes>Single;Single;Single;Single;Single</DataTypes><Y1 /><X>1;2;3;4;5</X><Y3 /" + "><Y2 /></DataSeriesSerializer></DataSeriesCollection></DataSerializer><ShowOutli" + "ne>True</ShowOutline><Bar>ClusterOverlap=0,ClusterWidth=50</Bar><Pie>OtherOffset" + "=0,Start=0</Pie></ChartGroup><ChartGroup><Polar>Degrees=True,PiRatioAnnotations=" + "True,Start=0</Polar><Radar>Degrees=True,Filled=False,Start=0</Radar><Stacked>Fal" + "se</Stacked><HiLoData>FillFalling=True,FillTransparent=True,FullWidth=False,Show" + "Close=True,ShowOpen=True</HiLoData><ChartType>XYPlot</ChartType><Bubble>Encoding" + "Method=Diameter,MaximumSize=20,MinimumSize=5</Bubble><Name>Group2</Name><DataSer" + "ializer /><ShowOutline>True</ShowOutline><Bar>ClusterOverlap=0,ClusterWidth=50</" + "Bar><Pie>OtherOffset=0,Start=0</Pie></ChartGroup></ChartGroupsCollection><StyleC" + "ollection><NamedStyle><Name>PlotArea</Name><ParentName>Area</ParentName><StyleDa" + "ta>Border=None,Control,1;</StyleData></NamedStyle><NamedStyle><Name>Legend</Name" + "><ParentName>Legend.default</ParentName><StyleData /></NamedStyle><NamedStyle><N" + "ame>Footer</Name><ParentName>Control</ParentName><StyleData>Border=None,Control," + "1;</StyleData></NamedStyle><NamedStyle><Name>Area</Name><ParentName>Area.default" + "</ParentName><StyleData /></NamedStyle><NamedStyle><Name>Control</Name><ParentNa" + "me>Control.default</ParentName><StyleData /></NamedStyle><NamedStyle><Name>AxisX" + "</Name><ParentName>Area</ParentName><StyleData>Rotation=Rotate0;Border=None,Cont" + "rol,1;AlignHorz=Center;BackColor=Transparent;AlignVert=Bottom;</StyleData></Name" + "dStyle><NamedStyle><Name>AxisY</Name><ParentName>Area</ParentName><StyleData>Rot" + "ation=Rotate270;Border=None,Control,1;AlignHorz=Near;BackColor=Transparent;Align" + "Vert=Center;</StyleData></NamedStyle><NamedStyle><Name>LabelStyleDefault</Name><" + "ParentName>LabelStyleDefault.default</ParentName><StyleData /></NamedStyle><Name" + "dStyle><Name>Legend.default</Name><ParentName>Control</ParentName><StyleData>Bor" + "der=None,Black,1;Wrap=False;AlignVert=Top;</StyleData></NamedStyle><NamedStyle><" + "Name>LabelStyleDefault.default</Name><ParentName>Control</ParentName><StyleData>" + "Border=None,Control,1;BackColor=Transparent;</StyleData></NamedStyle><NamedStyle" + "><Name>Header</Name><ParentName>Control</ParentName><StyleData>Border=None,Contr" + "ol,1;</StyleData></NamedStyle><NamedStyle><Name>Control.default</Name><ParentNam" + "e /><StyleData>ForeColor=ControlText;Border=None,Control,1;BackColor=Control;</S" + "tyleData></NamedStyle><NamedStyle><Name>AxisY2</Name><ParentName>Area</ParentNam" + "e><StyleData>Rotation=Rotate90;Border=None,Transparent,1;AlignHorz=Far;BackColor" + "=Transparent;AlignVert=Center;</StyleData></NamedStyle><NamedStyle><Name>Area.de" + "fault</Name><ParentName>Control</ParentName><StyleData>Border=None,Control,1;Ali" + "gnVert=Top;</StyleData></NamedStyle></StyleCollection><Footer Compass=\"South\"><T" + "ext /></Footer><Legend Compass=\"East\" Visible=\"False\"><Text /></Legend><ChartAre" + "a /></Chart2DPropBag>"; this.c1Chart1.Size = new System.Drawing.Size(488, 312); this.c1Chart1.TabIndex = 1; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(512, 381); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.c1Chart1, this.grpInputs }); this.Menu = this.mainMenu1; this.Name = "Form1"; this.Text = "ComponentOne Chart.Net 2D - Box and Whisker Chart Demo"; this.Load += new System.EventHandler(this.Form1_Load); this.grpInputs.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.c1Chart1 = new C1.Win.C1Chart.C1Chart(); this.grpChartLabels = new System.Windows.Forms.GroupBox(); this.radioLabelsOff = new System.Windows.Forms.RadioButton(); this.radioLabelsOn = new System.Windows.Forms.RadioButton(); this.grpDataLabels = new System.Windows.Forms.GroupBox(); this.radioDataLabOn = new System.Windows.Forms.RadioButton(); this.radioDataLabOff = new System.Windows.Forms.RadioButton(); this.grpOutlines = new System.Windows.Forms.GroupBox(); this.checkOutlines = new System.Windows.Forms.CheckBox(); this.grpStartAngle = new System.Windows.Forms.GroupBox(); this.txtStartAngle = new System.Windows.Forms.TextBox(); this.lblStartAngle = new System.Windows.Forms.Label(); this.grpOtherSlice = new System.Windows.Forms.GroupBox(); this.txtOtherOffset = new System.Windows.Forms.TextBox(); this.lblOtherOffset = new System.Windows.Forms.Label(); this.mainMenu1 = new System.Windows.Forms.MainMenu(this.components); this.menuFile = new System.Windows.Forms.MenuItem(); this.menuFileExit = new System.Windows.Forms.MenuItem(); this.menuHelp = new System.Windows.Forms.MenuItem(); this.menuHelpMoreInfo = new System.Windows.Forms.MenuItem(); this.menuHelpAbout = new System.Windows.Forms.MenuItem(); this.grpPieSliceOffsets = new System.Windows.Forms.GroupBox(); this.lblSlice0Offset = new System.Windows.Forms.Label(); this.txtSlice0Offset = new System.Windows.Forms.TextBox(); this.lblSlice1Offset = new System.Windows.Forms.Label(); this.txtSlice1Offset = new System.Windows.Forms.TextBox(); this.lblSlice2Offset = new System.Windows.Forms.Label(); this.txtSlice2Offset = new System.Windows.Forms.TextBox(); this.lblSlice3Offset = new System.Windows.Forms.Label(); this.txtSlice3Offset = new System.Windows.Forms.TextBox(); this.lblSlice4Offset = new System.Windows.Forms.Label(); this.txtSlice4Offset = new System.Windows.Forms.TextBox(); this.lblSlice5Offset = new System.Windows.Forms.Label(); this.txtSlice5Offset = new System.Windows.Forms.TextBox(); this.lblSlice6Offset = new System.Windows.Forms.Label(); this.txtSlice6Offset = new System.Windows.Forms.TextBox(); this.lblSlice7Offset = new System.Windows.Forms.Label(); this.txtSlice7Offset = new System.Windows.Forms.TextBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.udElev = new System.Windows.Forms.NumericUpDown(); this.lblElev = new System.Windows.Forms.Label(); this.check3D = new System.Windows.Forms.CheckBox(); this.udDepth = new System.Windows.Forms.NumericUpDown(); this.lblDepth = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).BeginInit(); this.grpChartLabels.SuspendLayout(); this.grpDataLabels.SuspendLayout(); this.grpOutlines.SuspendLayout(); this.grpStartAngle.SuspendLayout(); this.grpOtherSlice.SuspendLayout(); this.grpPieSliceOffsets.SuspendLayout(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.udElev)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.udDepth)).BeginInit(); this.SuspendLayout(); // // c1Chart1 // this.c1Chart1.Location = new System.Drawing.Point(138, 0); this.c1Chart1.Name = "c1Chart1"; this.c1Chart1.PropBag = resources.GetString("c1Chart1.PropBag"); this.c1Chart1.Size = new System.Drawing.Size(336, 296); this.c1Chart1.TabIndex = 0; this.c1Chart1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.c1Chart1_MouseUp); this.c1Chart1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.c1Chart1_MouseMove); // // grpChartLabels // this.grpChartLabels.Controls.Add(this.radioLabelsOff); this.grpChartLabels.Controls.Add(this.radioLabelsOn); this.grpChartLabels.Location = new System.Drawing.Point(0, 0); this.grpChartLabels.Name = "grpChartLabels"; this.grpChartLabels.Size = new System.Drawing.Size(136, 39); this.grpChartLabels.TabIndex = 1; this.grpChartLabels.TabStop = false; this.grpChartLabels.Text = "Chart Labels"; // // radioLabelsOff // this.radioLabelsOff.AutoSize = true; this.radioLabelsOff.Location = new System.Drawing.Point(12, 12); this.radioLabelsOff.Name = "radioLabelsOff"; this.radioLabelsOff.Size = new System.Drawing.Size(39, 17); this.radioLabelsOff.TabIndex = 1; this.radioLabelsOff.Text = "Off"; this.radioLabelsOff.CheckedChanged += new System.EventHandler(this.radioLabelsOff_CheckedChanged); // // radioLabelsOn // this.radioLabelsOn.AutoSize = true; this.radioLabelsOn.Checked = true; this.radioLabelsOn.Location = new System.Drawing.Point(80, 12); this.radioLabelsOn.Name = "radioLabelsOn"; this.radioLabelsOn.Size = new System.Drawing.Size(39, 17); this.radioLabelsOn.TabIndex = 0; this.radioLabelsOn.TabStop = true; this.radioLabelsOn.Text = "On"; this.radioLabelsOn.CheckedChanged += new System.EventHandler(this.radioLabelsOn_CheckedChanged); // // grpDataLabels // this.grpDataLabels.Controls.Add(this.radioDataLabOn); this.grpDataLabels.Controls.Add(this.radioDataLabOff); this.grpDataLabels.Location = new System.Drawing.Point(0, 38); this.grpDataLabels.Name = "grpDataLabels"; this.grpDataLabels.Size = new System.Drawing.Size(136, 39); this.grpDataLabels.TabIndex = 2; this.grpDataLabels.TabStop = false; this.grpDataLabels.Text = "Data Labels"; // // radioDataLabOn // this.radioDataLabOn.AutoSize = true; this.radioDataLabOn.Checked = true; this.radioDataLabOn.Location = new System.Drawing.Point(80, 16); this.radioDataLabOn.Name = "radioDataLabOn"; this.radioDataLabOn.Size = new System.Drawing.Size(39, 17); this.radioDataLabOn.TabIndex = 1; this.radioDataLabOn.TabStop = true; this.radioDataLabOn.Text = "On"; this.radioDataLabOn.UseVisualStyleBackColor = true; this.radioDataLabOn.CheckedChanged += new System.EventHandler(this.radioDataLabelsOn_CheckChanged); // // radioDataLabOff // this.radioDataLabOff.AutoSize = true; this.radioDataLabOff.Location = new System.Drawing.Point(12, 16); this.radioDataLabOff.Name = "radioDataLabOff"; this.radioDataLabOff.Size = new System.Drawing.Size(39, 17); this.radioDataLabOff.TabIndex = 0; this.radioDataLabOff.TabStop = true; this.radioDataLabOff.Text = "Off"; this.radioDataLabOff.UseVisualStyleBackColor = true; this.radioDataLabOff.CheckedChanged += new System.EventHandler(this.radioDataLabelsOff_CheckChanged); // // grpOutlines // this.grpOutlines.Controls.Add(this.checkOutlines); this.grpOutlines.Location = new System.Drawing.Point(0, 77); this.grpOutlines.Name = "grpOutlines"; this.grpOutlines.Size = new System.Drawing.Size(136, 40); this.grpOutlines.TabIndex = 3; this.grpOutlines.TabStop = false; this.grpOutlines.Text = "Outlines"; // // checkOutlines // this.checkOutlines.Checked = true; this.checkOutlines.CheckState = System.Windows.Forms.CheckState.Checked; this.checkOutlines.Location = new System.Drawing.Point(8, 16); this.checkOutlines.Name = "checkOutlines"; this.checkOutlines.Size = new System.Drawing.Size(96, 16); this.checkOutlines.TabIndex = 0; this.checkOutlines.Text = "Outlines"; this.checkOutlines.CheckedChanged += new System.EventHandler(this.checkOutlines_CheckedChanged); // // grpStartAngle // this.grpStartAngle.Controls.Add(this.txtStartAngle); this.grpStartAngle.Controls.Add(this.lblStartAngle); this.grpStartAngle.Location = new System.Drawing.Point(0, 117); this.grpStartAngle.Name = "grpStartAngle"; this.grpStartAngle.Size = new System.Drawing.Size(136, 48); this.grpStartAngle.TabIndex = 4; this.grpStartAngle.TabStop = false; // // txtStartAngle // this.txtStartAngle.Location = new System.Drawing.Point(88, 16); this.txtStartAngle.Name = "txtStartAngle"; this.txtStartAngle.Size = new System.Drawing.Size(40, 20); this.txtStartAngle.TabIndex = 1; this.txtStartAngle.Text = "55"; this.txtStartAngle.TextChanged += new System.EventHandler(this.txtStartAngle_TextChanged); this.txtStartAngle.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtKeyCheck); // // lblStartAngle // this.lblStartAngle.Location = new System.Drawing.Point(8, 18); this.lblStartAngle.Name = "lblStartAngle"; this.lblStartAngle.Size = new System.Drawing.Size(80, 16); this.lblStartAngle.TabIndex = 0; this.lblStartAngle.Text = "Starting Angle:"; // // grpOtherSlice // this.grpOtherSlice.Controls.Add(this.txtOtherOffset); this.grpOtherSlice.Controls.Add(this.lblOtherOffset); this.grpOtherSlice.Location = new System.Drawing.Point(0, 277); this.grpOtherSlice.Name = "grpOtherSlice"; this.grpOtherSlice.Size = new System.Drawing.Size(136, 48); this.grpOtherSlice.TabIndex = 6; this.grpOtherSlice.TabStop = false; this.grpOtherSlice.Text = "Other Slice"; // // txtOtherOffset // this.txtOtherOffset.Location = new System.Drawing.Point(72, 16); this.txtOtherOffset.Name = "txtOtherOffset"; this.txtOtherOffset.Size = new System.Drawing.Size(32, 20); this.txtOtherOffset.TabIndex = 1; this.txtOtherOffset.Text = "0"; this.txtOtherOffset.TextChanged += new System.EventHandler(this.txtOtherOffset_TextChanged); this.txtOtherOffset.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtKeyCheck); // // lblOtherOffset // this.lblOtherOffset.Location = new System.Drawing.Point(24, 18); this.lblOtherOffset.Name = "lblOtherOffset"; this.lblOtherOffset.Size = new System.Drawing.Size(40, 16); this.lblOtherOffset.TabIndex = 0; this.lblOtherOffset.Text = "Offset:"; // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuFile, this.menuHelp }); // // menuFile // this.menuFile.Index = 0; this.menuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuFileExit }); this.menuFile.Text = "File"; // // menuFileExit // this.menuFileExit.Index = 0; this.menuFileExit.Text = "Exit"; this.menuFileExit.Click += new System.EventHandler(this.menuFileExit_Click); // // menuHelp // this.menuHelp.Index = 1; this.menuHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuHelpMoreInfo, this.menuHelpAbout }); this.menuHelp.Text = "Help"; // // menuHelpMoreInfo // this.menuHelpMoreInfo.Index = 0; this.menuHelpMoreInfo.Text = "More Info ..."; this.menuHelpMoreInfo.Click += new System.EventHandler(this.menuHelpMoreInfo_Click); // // menuHelpAbout // this.menuHelpAbout.Index = 1; this.menuHelpAbout.Text = "About"; this.menuHelpAbout.Click += new System.EventHandler(this.menuHelpAbout_Click); // // grpPieSliceOffsets // this.grpPieSliceOffsets.Controls.Add(this.lblSlice0Offset); this.grpPieSliceOffsets.Controls.Add(this.txtSlice0Offset); this.grpPieSliceOffsets.Controls.Add(this.lblSlice1Offset); this.grpPieSliceOffsets.Controls.Add(this.txtSlice1Offset); this.grpPieSliceOffsets.Controls.Add(this.lblSlice2Offset); this.grpPieSliceOffsets.Controls.Add(this.txtSlice2Offset); this.grpPieSliceOffsets.Controls.Add(this.lblSlice3Offset); this.grpPieSliceOffsets.Controls.Add(this.txtSlice3Offset); this.grpPieSliceOffsets.Controls.Add(this.lblSlice4Offset); this.grpPieSliceOffsets.Controls.Add(this.txtSlice4Offset); this.grpPieSliceOffsets.Controls.Add(this.lblSlice5Offset); this.grpPieSliceOffsets.Controls.Add(this.txtSlice5Offset); this.grpPieSliceOffsets.Controls.Add(this.lblSlice6Offset); this.grpPieSliceOffsets.Controls.Add(this.txtSlice6Offset); this.grpPieSliceOffsets.Controls.Add(this.lblSlice7Offset); this.grpPieSliceOffsets.Controls.Add(this.txtSlice7Offset); this.grpPieSliceOffsets.Location = new System.Drawing.Point(0, 165); this.grpPieSliceOffsets.Name = "grpPieSliceOffsets"; this.grpPieSliceOffsets.Size = new System.Drawing.Size(136, 112); this.grpPieSliceOffsets.TabIndex = 5; this.grpPieSliceOffsets.TabStop = false; this.grpPieSliceOffsets.Text = "Pie Slice Offset Values"; // // lblSlice0Offset // this.lblSlice0Offset.Location = new System.Drawing.Point(8, 18); this.lblSlice0Offset.Name = "lblSlice0Offset"; this.lblSlice0Offset.Size = new System.Drawing.Size(16, 16); this.lblSlice0Offset.TabIndex = 0; this.lblSlice0Offset.Text = "0:"; // // txtSlice0Offset // this.txtSlice0Offset.Location = new System.Drawing.Point(24, 16); this.txtSlice0Offset.Name = "txtSlice0Offset"; this.txtSlice0Offset.Size = new System.Drawing.Size(40, 20); this.txtSlice0Offset.TabIndex = 1; this.txtSlice0Offset.Tag = 0; this.txtSlice0Offset.Text = "0"; this.txtSlice0Offset.TextChanged += new System.EventHandler(this.SliceOffsetTextChanged); this.txtSlice0Offset.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtKeyCheck); // // lblSlice1Offset // this.lblSlice1Offset.Location = new System.Drawing.Point(8, 40); this.lblSlice1Offset.Name = "lblSlice1Offset"; this.lblSlice1Offset.Size = new System.Drawing.Size(16, 16); this.lblSlice1Offset.TabIndex = 2; this.lblSlice1Offset.Text = "1:"; // // txtSlice1Offset // this.txtSlice1Offset.Location = new System.Drawing.Point(24, 38); this.txtSlice1Offset.Name = "txtSlice1Offset"; this.txtSlice1Offset.Size = new System.Drawing.Size(40, 20); this.txtSlice1Offset.TabIndex = 3; this.txtSlice1Offset.Tag = 1; this.txtSlice1Offset.Text = "0"; this.txtSlice1Offset.TextChanged += new System.EventHandler(this.SliceOffsetTextChanged); this.txtSlice1Offset.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtKeyCheck); // // lblSlice2Offset // this.lblSlice2Offset.Location = new System.Drawing.Point(8, 62); this.lblSlice2Offset.Name = "lblSlice2Offset"; this.lblSlice2Offset.Size = new System.Drawing.Size(16, 16); this.lblSlice2Offset.TabIndex = 4; this.lblSlice2Offset.Text = "2:"; // // txtSlice2Offset // this.txtSlice2Offset.Location = new System.Drawing.Point(24, 60); this.txtSlice2Offset.Name = "txtSlice2Offset"; this.txtSlice2Offset.Size = new System.Drawing.Size(40, 20); this.txtSlice2Offset.TabIndex = 5; this.txtSlice2Offset.Tag = 2; this.txtSlice2Offset.Text = "0"; this.txtSlice2Offset.TextChanged += new System.EventHandler(this.SliceOffsetTextChanged); this.txtSlice2Offset.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtKeyCheck); // // lblSlice3Offset // this.lblSlice3Offset.Location = new System.Drawing.Point(8, 84); this.lblSlice3Offset.Name = "lblSlice3Offset"; this.lblSlice3Offset.Size = new System.Drawing.Size(16, 16); this.lblSlice3Offset.TabIndex = 6; this.lblSlice3Offset.Text = "3:"; // // txtSlice3Offset // this.txtSlice3Offset.Location = new System.Drawing.Point(24, 82); this.txtSlice3Offset.Name = "txtSlice3Offset"; this.txtSlice3Offset.Size = new System.Drawing.Size(40, 20); this.txtSlice3Offset.TabIndex = 7; this.txtSlice3Offset.Tag = 3; this.txtSlice3Offset.Text = "0"; this.txtSlice3Offset.TextChanged += new System.EventHandler(this.SliceOffsetTextChanged); this.txtSlice3Offset.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtKeyCheck); // // lblSlice4Offset // this.lblSlice4Offset.Location = new System.Drawing.Point(70, 18); this.lblSlice4Offset.Name = "lblSlice4Offset"; this.lblSlice4Offset.Size = new System.Drawing.Size(16, 16); this.lblSlice4Offset.TabIndex = 8; this.lblSlice4Offset.Text = "4:"; // // txtSlice4Offset // this.txtSlice4Offset.Location = new System.Drawing.Point(86, 16); this.txtSlice4Offset.Name = "txtSlice4Offset"; this.txtSlice4Offset.Size = new System.Drawing.Size(40, 20); this.txtSlice4Offset.TabIndex = 9; this.txtSlice4Offset.Tag = 4; this.txtSlice4Offset.Text = "0"; this.txtSlice4Offset.TextChanged += new System.EventHandler(this.SliceOffsetTextChanged); this.txtSlice4Offset.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtKeyCheck); // // lblSlice5Offset // this.lblSlice5Offset.Location = new System.Drawing.Point(70, 40); this.lblSlice5Offset.Name = "lblSlice5Offset"; this.lblSlice5Offset.Size = new System.Drawing.Size(16, 16); this.lblSlice5Offset.TabIndex = 10; this.lblSlice5Offset.Text = "5:"; // // txtSlice5Offset // this.txtSlice5Offset.Location = new System.Drawing.Point(86, 38); this.txtSlice5Offset.Name = "txtSlice5Offset"; this.txtSlice5Offset.Size = new System.Drawing.Size(40, 20); this.txtSlice5Offset.TabIndex = 11; this.txtSlice5Offset.Tag = 5; this.txtSlice5Offset.Text = "0"; this.txtSlice5Offset.TextChanged += new System.EventHandler(this.SliceOffsetTextChanged); this.txtSlice5Offset.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtKeyCheck); // // lblSlice6Offset // this.lblSlice6Offset.Location = new System.Drawing.Point(70, 62); this.lblSlice6Offset.Name = "lblSlice6Offset"; this.lblSlice6Offset.Size = new System.Drawing.Size(16, 16); this.lblSlice6Offset.TabIndex = 12; this.lblSlice6Offset.Text = "6:"; // // txtSlice6Offset // this.txtSlice6Offset.Location = new System.Drawing.Point(86, 60); this.txtSlice6Offset.Name = "txtSlice6Offset"; this.txtSlice6Offset.Size = new System.Drawing.Size(40, 20); this.txtSlice6Offset.TabIndex = 13; this.txtSlice6Offset.Tag = 6; this.txtSlice6Offset.Text = "0"; this.txtSlice6Offset.TextChanged += new System.EventHandler(this.SliceOffsetTextChanged); this.txtSlice6Offset.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtKeyCheck); // // lblSlice7Offset // this.lblSlice7Offset.Location = new System.Drawing.Point(70, 84); this.lblSlice7Offset.Name = "lblSlice7Offset"; this.lblSlice7Offset.Size = new System.Drawing.Size(16, 16); this.lblSlice7Offset.TabIndex = 14; this.lblSlice7Offset.Text = "7:"; // // txtSlice7Offset // this.txtSlice7Offset.Location = new System.Drawing.Point(86, 82); this.txtSlice7Offset.Name = "txtSlice7Offset"; this.txtSlice7Offset.Size = new System.Drawing.Size(40, 20); this.txtSlice7Offset.TabIndex = 15; this.txtSlice7Offset.Tag = 7; this.txtSlice7Offset.Text = "0"; this.txtSlice7Offset.TextChanged += new System.EventHandler(this.SliceOffsetTextChanged); this.txtSlice7Offset.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtKeyCheck); // // groupBox1 // this.groupBox1.Controls.Add(this.udElev); this.groupBox1.Controls.Add(this.lblElev); this.groupBox1.Controls.Add(this.check3D); this.groupBox1.Controls.Add(this.udDepth); this.groupBox1.Controls.Add(this.lblDepth); this.groupBox1.Location = new System.Drawing.Point(0, 325); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(136, 64); this.groupBox1.TabIndex = 7; this.groupBox1.TabStop = false; this.groupBox1.Text = "3D"; // // udElev // this.udElev.Enabled = false; this.udElev.Location = new System.Drawing.Point(88, 40); this.udElev.Name = "udElev"; this.udElev.Size = new System.Drawing.Size(40, 20); this.udElev.TabIndex = 9; this.udElev.ValueChanged += new System.EventHandler(this.udElev_ValueChanged); // // lblElev // this.lblElev.Location = new System.Drawing.Point(48, 40); this.lblElev.Name = "lblElev"; this.lblElev.Size = new System.Drawing.Size(32, 16); this.lblElev.TabIndex = 8; this.lblElev.Text = "Elev."; // // check3D // this.check3D.Location = new System.Drawing.Point(8, 16); this.check3D.Name = "check3D"; this.check3D.Size = new System.Drawing.Size(40, 40); this.check3D.TabIndex = 7; this.check3D.Text = "On"; this.check3D.CheckedChanged += new System.EventHandler(this.check3D_CheckedChanged); // // udDepth // this.udDepth.Enabled = false; this.udDepth.Location = new System.Drawing.Point(88, 16); this.udDepth.Name = "udDepth"; this.udDepth.Size = new System.Drawing.Size(40, 20); this.udDepth.TabIndex = 7; this.udDepth.ValueChanged += new System.EventHandler(this.udDepth_ValueChanged); // // lblDepth // this.lblDepth.Location = new System.Drawing.Point(48, 16); this.lblDepth.Name = "lblDepth"; this.lblDepth.Size = new System.Drawing.Size(40, 16); this.lblDepth.TabIndex = 7; this.lblDepth.Text = "Depth"; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(592, 391); this.Controls.Add(this.groupBox1); this.Controls.Add(this.grpOtherSlice); this.Controls.Add(this.grpPieSliceOffsets); this.Controls.Add(this.grpStartAngle); this.Controls.Add(this.grpOutlines); this.Controls.Add(this.grpDataLabels); this.Controls.Add(this.grpChartLabels); this.Controls.Add(this.c1Chart1); this.Menu = this.mainMenu1; this.Name = "Form1"; this.Text = "Pie Stuff"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).EndInit(); this.grpChartLabels.ResumeLayout(false); this.grpChartLabels.PerformLayout(); this.grpDataLabels.ResumeLayout(false); this.grpDataLabels.PerformLayout(); this.grpOutlines.ResumeLayout(false); this.grpStartAngle.ResumeLayout(false); this.grpStartAngle.PerformLayout(); this.grpOtherSlice.ResumeLayout(false); this.grpOtherSlice.PerformLayout(); this.grpPieSliceOffsets.ResumeLayout(false); this.grpPieSliceOffsets.PerformLayout(); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.udElev)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.udDepth)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1)); this.panel1 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel(); this.cbFooterAlign = new System.Windows.Forms.ComboBox(); this.cbHeaderAlign = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.btnFooter = new System.Windows.Forms.Button(); this.btnHeader = new System.Windows.Forms.Button(); this.btnPrintPreview = new System.Windows.Forms.Button(); this.panel2 = new System.Windows.Forms.Panel(); this.c1Chart1 = new C1.Win.C1Chart.C1Chart(); this.printDocument1 = new System.Drawing.Printing.PrintDocument(); this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.AddRange(new System.Windows.Forms.Control[] { this.panel3, this.cbFooterAlign, this.cbHeaderAlign, this.label2, this.label1, this.btnFooter, this.btnHeader, this.btnPrintPreview }); this.panel1.Dock = System.Windows.Forms.DockStyle.Left; this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(168, 437); this.panel1.TabIndex = 0; // // panel3 // this.panel3.BackColor = System.Drawing.SystemColors.ControlDark; this.panel3.Location = new System.Drawing.Point(8, 152); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(152, 4); this.panel3.TabIndex = 6; // // cbFooterAlign // this.cbFooterAlign.BackColor = System.Drawing.SystemColors.Control; this.cbFooterAlign.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbFooterAlign.Items.AddRange(new object[] { "North", "South", "West", "East" }); this.cbFooterAlign.Location = new System.Drawing.Point(8, 112); this.cbFooterAlign.Name = "cbFooterAlign"; this.cbFooterAlign.Size = new System.Drawing.Size(72, 21); this.cbFooterAlign.TabIndex = 5; this.cbFooterAlign.SelectedIndexChanged += new System.EventHandler(this.cbFooterAlign_SelectedIndexChanged); // // cbHeaderAlign // this.cbHeaderAlign.BackColor = System.Drawing.SystemColors.Control; this.cbHeaderAlign.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbHeaderAlign.Items.AddRange(new object[] { "North", "South", "West", "East" }); this.cbHeaderAlign.Location = new System.Drawing.Point(8, 40); this.cbHeaderAlign.Name = "cbHeaderAlign"; this.cbHeaderAlign.Size = new System.Drawing.Size(72, 21); this.cbHeaderAlign.TabIndex = 4; this.cbHeaderAlign.SelectedIndexChanged += new System.EventHandler(this.cbHeaderAlign_SelectedIndexChanged); // // label2 // this.label2.BackColor = System.Drawing.SystemColors.InactiveCaption; this.label2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.label2.ForeColor = System.Drawing.SystemColors.InactiveCaptionText; this.label2.Location = new System.Drawing.Point(8, 80); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(152, 23); this.label2.TabIndex = 3; this.label2.Text = "Footer"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label1 // this.label1.BackColor = System.Drawing.SystemColors.InactiveCaption; this.label1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.label1.ForeColor = System.Drawing.SystemColors.InactiveCaptionText; this.label1.Location = new System.Drawing.Point(8, 8); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(152, 23); this.label1.TabIndex = 2; this.label1.Text = "Header"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // btnFooter // this.btnFooter.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnFooter.Location = new System.Drawing.Point(88, 112); this.btnFooter.Name = "btnFooter"; this.btnFooter.Size = new System.Drawing.Size(72, 21); this.btnFooter.TabIndex = 1; this.btnFooter.Text = "Edit rtf ..."; this.btnFooter.Click += new System.EventHandler(this.btnFooter_Click); // // btnHeader // this.btnHeader.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnHeader.Location = new System.Drawing.Point(88, 40); this.btnHeader.Name = "btnHeader"; this.btnHeader.Size = new System.Drawing.Size(72, 21); this.btnHeader.TabIndex = 0; this.btnHeader.Text = "Edit rtf ..."; this.btnHeader.Click += new System.EventHandler(this.btnHeader_Click); // // btnPrintPreview // this.btnPrintPreview.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnPrintPreview.Location = new System.Drawing.Point(40, 176); this.btnPrintPreview.Name = "btnPrintPreview"; this.btnPrintPreview.Size = new System.Drawing.Size(96, 23); this.btnPrintPreview.TabIndex = 1; this.btnPrintPreview.Text = "Print preview"; this.btnPrintPreview.Click += new System.EventHandler(this.btnPrintPreview_Click); // // panel2 // this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel2.Controls.AddRange(new System.Windows.Forms.Control[] { this.c1Chart1 }); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(168, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(480, 437); this.panel2.TabIndex = 1; // // c1Chart1 // this.c1Chart1.DataSource = null; this.c1Chart1.Dock = System.Windows.Forms.DockStyle.Fill; this.c1Chart1.Name = "c1Chart1"; this.c1Chart1.PropBag = "<?xml version=\"1.0\"?><Chart2DPropBag Version=\"\"><StyleCollection><NamedStyle Name" + "=\"PlotArea\" ParentName=\"Area\" StyleData=\"Border=None,Black,1;\" /><NamedStyle Nam" + "e=\"Legend\" ParentName=\"Legend.default\" /><NamedStyle Name=\"Footer\" ParentName=\"C" + "ontrol\" StyleData=\"Font=Microsoft Sans Serif, 8.25pt;GradientStyle=None;ForeColo" + "r=ControlText;Border=None,Black,1;HatchStyle=None;Opaque=True;BackColor2=;BackCo" + "lor=White;\" /><NamedStyle Name=\"Area\" ParentName=\"Area.default\" /><NamedStyle Na" + "me=\"Control\" ParentName=\"Control.default\" StyleData=\"BackColor=White;\" /><NamedS" + "tyle Name=\"AxisX\" ParentName=\"Area\" StyleData=\"Rotation=Rotate0;AlignHorz=Center" + ";AlignVert=Bottom;\" /><NamedStyle Name=\"AxisY\" ParentName=\"Area\" StyleData=\"Rota" + "tion=Rotate270;AlignHorz=Near;AlignVert=Center;\" /><NamedStyle Name=\"LabelStyleD" + "efault\" ParentName=\"LabelStyleDefault.default\" /><NamedStyle Name=\"Legend.defaul" + "t\" ParentName=\"Control\" StyleData=\"Border=None,Black,1;Wrap=False;AlignVert=Top;" + "\" /><NamedStyle Name=\"LabelStyleDefault.default\" ParentName=\"Control\" StyleData=" + "\"Border=None,Black,1;BackColor=Transparent;\" /><NamedStyle Name=\"Header\" ParentN" + "ame=\"Control\" StyleData=\"Font=Microsoft Sans Serif, 8.25pt;GradientStyle=Diagona" + "lCenter;ForeColor=ControlText;Border=None,Black,1;HatchStyle=None;Opaque=True;Ba" + "ckColor2=Black;BackColor=White;\" /><NamedStyle Name=\"Control.default\" ParentName" + "=\"\" StyleData=\"ForeColor=ControlText;Border=None,Black,1;BackColor=Control;\" /><" + "NamedStyle Name=\"AxisY2\" ParentName=\"Area\" StyleData=\"Rotation=Rotate90;AlignHor" + "z=Far;AlignVert=Center;\" /><NamedStyle Name=\"Area.default\" ParentName=\"Control\" " + "StyleData=\"Border=None,Black,1;AlignVert=Top;\" /></StyleCollection><ChartGroupsC" + "ollection><ChartGroup Name=\"Group1\" Use3D=\"False\"><DataSerializer DefaultSet=\"Tr" + "ue\"><DataSeriesCollection><DataSeriesSerializer><LineStyle Color=\"DarkGoldenrod\"" + " /><SymbolStyle Color=\"Coral\" Shape=\"Box\" /><SeriesLabel>series 0</SeriesLabel><" + "X>1;2;3;4;5</X><Y>20;22;19;24;25</Y><DataTypes>Single;Single;Double;Double;Doubl" + "e</DataTypes><DataFields>;;;;</DataFields><FillStyle /></DataSeriesSerializer><D" + "ataSeriesSerializer><LineStyle Color=\"DarkGray\" /><SymbolStyle Color=\"Cornflower" + "Blue\" Shape=\"Dot\" /><SeriesLabel>series 1</SeriesLabel><X>1;2;3;4;5</X><Y>8;12;1" + "0;12;15</Y><DataTypes>Single;Single;Double;Double;Double</DataTypes><DataFields>" + ";;;;</DataFields><FillStyle /></DataSeriesSerializer><DataSeriesSerializer><Line" + "Style Color=\"DarkGreen\" /><SymbolStyle Color=\"Cornsilk\" Shape=\"Tri\" /><SeriesLab" + "el>series 2</SeriesLabel><X>1;2;3;4;5</X><Y>10;16;17;15;23</Y><DataTypes>Single;" + "Single;Double;Double;Double</DataTypes><DataFields>;;;;</DataFields><FillStyle /" + "></DataSeriesSerializer><DataSeriesSerializer><LineStyle Color=\"DarkKhaki\" /><Sy" + "mbolStyle Color=\"Crimson\" Shape=\"Diamond\" /><SeriesLabel>series 3</SeriesLabel><" + "X>1;2;3;4;5</X><Y>16;19;15;22;18</Y><DataTypes>Single;Single;Double;Double;Doubl" + "e</DataTypes><DataFields>;;;;</DataFields><FillStyle /></DataSeriesSerializer></" + "DataSeriesCollection></DataSerializer></ChartGroup><ChartGroup Name=\"Group2\"><Da" + "taSerializer /></ChartGroup></ChartGroupsCollection><Header Compass=\"North\" /><F" + "ooter Compass=\"South\" /><Legend Compass=\"East\" Visible=\"False\" /><ChartArea /><A" + "xes><Axis Max=\"5\" Min=\"1\" UnitMajor=\"1\" UnitMinor=\"0.5\" AutoMajor=\"True\" AutoMin" + "or=\"True\" AutoMax=\"True\" AutoMin=\"True\" Compass=\"South\"><GridMajor /><GridMinor " + "/></Axis><Axis Max=\"26\" Min=\"8\" UnitMajor=\"2\" UnitMinor=\"1\" AutoMajor=\"True\" Aut" + "oMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" Compass=\"West\"><GridMajor /><GridMin" + "or /></Axis><Axis Max=\"0\" Min=\"0\" UnitMajor=\"0\" UnitMinor=\"0\" AutoMajor=\"True\" A" + "utoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" Compass=\"East\"><GridMajor /><GridM" + "inor /></Axis></Axes></Chart2DPropBag>"; this.c1Chart1.Size = new System.Drawing.Size(476, 433); this.c1Chart1.TabIndex = 0; // // printDocument1 // this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage); // // printPreviewDialog1 // this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0); this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0); this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300); this.printPreviewDialog1.Document = this.printDocument1; this.printPreviewDialog1.Enabled = true; this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon"))); this.printPreviewDialog1.Location = new System.Drawing.Point(148, 17); this.printPreviewDialog1.MaximumSize = new System.Drawing.Size(0, 0); this.printPreviewDialog1.Name = "printPreviewDialog1"; this.printPreviewDialog1.Opacity = 1; this.printPreviewDialog1.TransparencyKey = System.Drawing.Color.Empty; this.printPreviewDialog1.Visible = false; // // Form1 // this.ClientSize = new System.Drawing.Size(648, 437); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.panel2, this.panel1 }); this.Name = "Form1"; this.Text = "ComponentOne Chart.Net 2D - Rtf Title Demo"; this.Load += new System.EventHandler(this.Form1_Load); this.panel1.ResumeLayout(false); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.chart = new C1.Win.C1Chart.C1Chart(); this.frChartTypes = new System.Windows.Forms.GroupBox(); this.optComplexCandle = new System.Windows.Forms.RadioButton(); this.optCandle = new System.Windows.Forms.RadioButton(); this.optHiLoOpenClose = new System.Windows.Forms.RadioButton(); this.optHiLo = new System.Windows.Forms.RadioButton(); this.chkOpenVisible = new System.Windows.Forms.CheckBox(); this.chkCloseVisible = new System.Windows.Forms.CheckBox(); this.frTickLength = new System.Windows.Forms.GroupBox(); this.udTickLen = new System.Windows.Forms.NumericUpDown(); this.frCandleWidth = new System.Windows.Forms.GroupBox(); this.udCandleWidth = new System.Windows.Forms.NumericUpDown(); this.frWidth = new System.Windows.Forms.GroupBox(); this.udWidth = new System.Windows.Forms.NumericUpDown(); this.mainMenu1 = new System.Windows.Forms.MainMenu(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.menuFileExit = new System.Windows.Forms.MenuItem(); this.menuItem3 = new System.Windows.Forms.MenuItem(); this.menuHelpAbout = new System.Windows.Forms.MenuItem(); ((System.ComponentModel.ISupportInitialize)(this.chart)).BeginInit(); this.frChartTypes.SuspendLayout(); this.frTickLength.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.udTickLen)).BeginInit(); this.frCandleWidth.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.udCandleWidth)).BeginInit(); this.frWidth.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.udWidth)).BeginInit(); this.SuspendLayout(); // // chart // this.chart.Name = "chart"; this.chart.PropBag = "<?xml version=\"1.0\"?><Chart2DPropBag Version=\"\"><StyleCollection><NamedStyle><Par" + "entName>Area</ParentName><StyleData>Border=None,Control,1;</StyleData><Name>Plot" + "Area</Name></NamedStyle><NamedStyle><ParentName>Legend.default</ParentName><Styl" + "eData /><Name>Legend</Name></NamedStyle><NamedStyle><ParentName>Control</ParentN" + "ame><StyleData>Border=None,Control,1;</StyleData><Name>Footer</Name></NamedStyle" + "><NamedStyle><ParentName>Area.default</ParentName><StyleData /><Name>Area</Name>" + "</NamedStyle><NamedStyle><ParentName>Control.default</ParentName><StyleData /><N" + "ame>Control</Name></NamedStyle><NamedStyle><ParentName>Area</ParentName><StyleDa" + "ta>Rotation=Rotate0;Border=None,Control,1;AlignHorz=Center;BackColor=Transparent" + ";AlignVert=Bottom;</StyleData><Name>AxisX</Name></NamedStyle><NamedStyle><Parent" + "Name>Area</ParentName><StyleData>Rotation=Rotate270;Border=None,Control,1;AlignH" + "orz=Near;BackColor=Transparent;AlignVert=Center;</StyleData><Name>AxisY</Name></" + "NamedStyle><NamedStyle><ParentName>LabelStyleDefault.default</ParentName><StyleD" + "ata /><Name>LabelStyleDefault</Name></NamedStyle><NamedStyle><ParentName>Control" + "</ParentName><StyleData>Border=None,Black,1;Wrap=False;AlignVert=Top;</StyleData" + "><Name>Legend.default</Name></NamedStyle><NamedStyle><ParentName>Control</Parent" + "Name><StyleData>Border=None,Control,1;BackColor=Transparent;</StyleData><Name>La" + "belStyleDefault.default</Name></NamedStyle><NamedStyle><ParentName>Control</Pare" + "ntName><StyleData>Border=None,Control,1;</StyleData><Name>Header</Name></NamedSt" + "yle><NamedStyle><ParentName /><StyleData>ForeColor=ControlText;Border=None,Contr" + "ol,1;BackColor=Control;</StyleData><Name>Control.default</Name></NamedStyle><Nam" + "edStyle><ParentName>Area</ParentName><StyleData>Rotation=Rotate90;Border=None,Tr" + "ansparent,1;AlignHorz=Far;BackColor=Transparent;AlignVert=Center;</StyleData><Na" + "me>AxisY2</Name></NamedStyle><NamedStyle><ParentName>Control</ParentName><StyleD" + "ata>Border=None,Control,1;AlignVert=Top;</StyleData><Name>Area.default</Name></N" + "amedStyle></StyleCollection><Axes><Axis Max=\"5\" Min=\"1\" UnitMajor=\"1\" UnitMinor=" + "\"0.5\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" _onTop=\"0\"" + " Compass=\"South\"><GridMajor AutoSpace=\"True\" Thickness=\"1\" Color=\"LightGray\" Pat" + "tern=\"Dash\" /><GridMinor AutoSpace=\"True\" Thickness=\"1\" Color=\"LightGray\" Patter" + "n=\"Dash\" /><Text /></Axis><Axis Max=\"25\" Min=\"8\" UnitMajor=\"2\" UnitMinor=\"1\" Aut" + "oMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" _onTop=\"0\" Compass="******"\"West\"><GridMajor AutoSpace=\"True\" Thickness=\"1\" Color=\"LightGray\" Pattern=\"Dash" + "\" /><GridMinor AutoSpace=\"True\" Thickness=\"1\" Color=\"LightGray\" Pattern=\"Dash\" /" + "><Text /></Axis><Axis Max=\"0\" Min=\"0\" UnitMajor=\"0\" UnitMinor=\"0\" AutoMajor=\"Tru" + "e\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" _onTop=\"0\" Compass=\"East\"><Gri" + "dMajor AutoSpace=\"True\" Thickness=\"1\" Color=\"LightGray\" Pattern=\"Dash\" /><GridMi" + "nor AutoSpace=\"True\" Thickness=\"1\" Color=\"LightGray\" Pattern=\"Dash\" /><Text /></" + "Axis></Axes><Header Compass=\"North\"><Text /></Header><Footer Compass=\"South\" Vis" + "ible=\"False\"><Text /></Footer><Legend Compass=\"East\" Visible=\"False\"><Text /></L" + "egend><ChartArea /><ChartGroupsCollection><ChartGroup><Bar>ClusterOverlap=0,Clus" + "terWidth=50</Bar><ShowOutline>True</ShowOutline><Polar>Degrees=True,PiRatioAnnot" + "ations=True,Start=0</Polar><Radar>Degrees=True,Filled=False,Start=0</Radar><Pie>" + "OtherOffset=0,Start=0</Pie><Name>Group1</Name><ChartType>XYPlot</ChartType><Stac" + "ked>False</Stacked><Bubble>EncodingMethod=Diameter,MaximumSize=20,MinimumSize=5<" + "/Bubble><HiLoData>FillFalling=True,FillTransparent=True,FullWidth=False,ShowClos" + "e=True,ShowOpen=True</HiLoData><DataSerializer DefaultSet=\"True\"><DataSeriesColl" + "ection><DataSeriesSerializer><Y3 /><Y2 /><Y>20;22;19;24;25</Y><LineStyle Thickne" + "ss=\"1\" Color=\"DarkGoldenrod\" Pattern=\"Solid\" /><SymbolStyle Shape=\"Box\" Color=\"C" + "oral\" /><SeriesLabel>series 0</SeriesLabel><DataTypes>Single;Single;Single;Singl" + "e;Single</DataTypes><Y1 /><X>1;2;3;4;5</X></DataSeriesSerializer><DataSeriesSeri" + "alizer><Y3 /><Y2 /><Y>8;12;10;12;15</Y><LineStyle Thickness=\"1\" Color=\"DarkGray\"" + " Pattern=\"Solid\" /><SymbolStyle Shape=\"Dot\" Color=\"CornflowerBlue\" /><SeriesLabe" + "l>series 1</SeriesLabel><DataTypes>Single;Single;Single;Single;Single</DataTypes" + "><Y1 /><X>1;2;3;4;5</X></DataSeriesSerializer><DataSeriesSerializer><Y3 /><Y2 />" + "<Y>10;16;17;15;23</Y><LineStyle Thickness=\"1\" Color=\"DarkGreen\" Pattern=\"Solid\" " + "/><SymbolStyle Shape=\"Tri\" Color=\"Cornsilk\" /><SeriesLabel>series 2</SeriesLabel" + "><DataTypes>Single;Single;Single;Single;Single</DataTypes><Y1 /><X>1;2;3;4;5</X>" + "</DataSeriesSerializer><DataSeriesSerializer><Y3 /><Y2 /><Y>16;19;15;22;18</Y><L" + "ineStyle Thickness=\"1\" Color=\"DarkKhaki\" Pattern=\"Solid\" /><SymbolStyle Shape=\"D" + "iamond\" Color=\"Crimson\" /><SeriesLabel>series 3</SeriesLabel><DataTypes>Single;S" + "ingle;Single;Single;Single</DataTypes><Y1 /><X>1;2;3;4;5</X></DataSeriesSerializ" + "er></DataSeriesCollection></DataSerializer></ChartGroup><ChartGroup><Bar>Cluster" + "Overlap=0,ClusterWidth=50</Bar><ShowOutline>True</ShowOutline><Polar>Degrees=Tru" + "e,PiRatioAnnotations=True,Start=0</Polar><Radar>Degrees=True,Filled=False,Start=" + "0</Radar><Pie>OtherOffset=0,Start=0</Pie><Name>Group2</Name><ChartType>XYPlot</C" + "hartType><Stacked>False</Stacked><Bubble>EncodingMethod=Diameter,MaximumSize=20," + "MinimumSize=5</Bubble><HiLoData>FillFalling=True,FillTransparent=True,FullWidth=" + "False,ShowClose=True,ShowOpen=True</HiLoData><DataSerializer /></ChartGroup></Ch" + "artGroupsCollection></Chart2DPropBag>"; this.chart.Size = new System.Drawing.Size(552, 288); this.chart.TabIndex = 0; // // frChartTypes // this.frChartTypes.Controls.AddRange(new System.Windows.Forms.Control[] { this.optComplexCandle, this.optCandle, this.optHiLoOpenClose, this.optHiLo }); this.frChartTypes.Location = new System.Drawing.Point(8, 288); this.frChartTypes.Name = "frChartTypes"; this.frChartTypes.Size = new System.Drawing.Size(536, 48); this.frChartTypes.TabIndex = 1; this.frChartTypes.TabStop = false; this.frChartTypes.Text = "Chart Types"; // // optComplexCandle // this.optComplexCandle.Location = new System.Drawing.Point(416, 16); this.optComplexCandle.Name = "optComplexCandle"; this.optComplexCandle.Size = new System.Drawing.Size(112, 24); this.optComplexCandle.TabIndex = 3; this.optComplexCandle.Text = "Complex Candle"; this.optComplexCandle.Click += new System.EventHandler(this.optComplexCandle_Click); // // optCandle // this.optCandle.Location = new System.Drawing.Point(304, 16); this.optCandle.Name = "optCandle"; this.optCandle.TabIndex = 2; this.optCandle.Text = "Candle"; this.optCandle.Click += new System.EventHandler(this.optCandle_Click); // // optHiLoOpenClose // this.optHiLoOpenClose.Location = new System.Drawing.Point(136, 16); this.optHiLoOpenClose.Name = "optHiLoOpenClose"; this.optHiLoOpenClose.Size = new System.Drawing.Size(152, 24); this.optHiLoOpenClose.TabIndex = 1; this.optHiLoOpenClose.Text = "Hi-Low-Open-Close"; this.optHiLoOpenClose.Click += new System.EventHandler(this.optHiLoOpenClose_Click); // // optHiLo // this.optHiLo.Location = new System.Drawing.Point(32, 16); this.optHiLo.Name = "optHiLo"; this.optHiLo.TabIndex = 0; this.optHiLo.Text = "Hi-Low"; this.optHiLo.Click += new System.EventHandler(this.optHiLo_Click); // // chkOpenVisible // this.chkOpenVisible.Location = new System.Drawing.Point(24, 352); this.chkOpenVisible.Name = "chkOpenVisible"; this.chkOpenVisible.Size = new System.Drawing.Size(112, 16); this.chkOpenVisible.TabIndex = 2; this.chkOpenVisible.Text = "Open Tick Visible?"; this.chkOpenVisible.Click += new System.EventHandler(this.chkOpenVisible_Click); // // chkCloseVisible // this.chkCloseVisible.Location = new System.Drawing.Point(24, 376); this.chkCloseVisible.Name = "chkCloseVisible"; this.chkCloseVisible.Size = new System.Drawing.Size(128, 16); this.chkCloseVisible.TabIndex = 3; this.chkCloseVisible.Text = "Close Tick Visible?"; this.chkCloseVisible.Click += new System.EventHandler(this.chkCloseVisible_Click); // // frTickLength // this.frTickLength.Controls.AddRange(new System.Windows.Forms.Control[] { this.udTickLen }); this.frTickLength.Location = new System.Drawing.Point(304, 344); this.frTickLength.Name = "frTickLength"; this.frTickLength.Size = new System.Drawing.Size(96, 48); this.frTickLength.TabIndex = 4; this.frTickLength.TabStop = false; this.frTickLength.Text = "Tick Length"; // // udTickLen // this.udTickLen.Location = new System.Drawing.Point(16, 16); this.udTickLen.Maximum = new System.Decimal(new int[] { 50, 0, 0, 0 }); this.udTickLen.Minimum = new System.Decimal(new int[] { 1, 0, 0, 0 }); this.udTickLen.Name = "udTickLen"; this.udTickLen.Size = new System.Drawing.Size(64, 20); this.udTickLen.TabIndex = 0; this.udTickLen.Value = new System.Decimal(new int[] { 1, 0, 0, 0 }); this.udTickLen.ValueChanged += new System.EventHandler(this.udTickLen_ValueChanged); // // frCandleWidth // this.frCandleWidth.Controls.AddRange(new System.Windows.Forms.Control[] { this.udCandleWidth }); this.frCandleWidth.Location = new System.Drawing.Point(448, 344); this.frCandleWidth.Name = "frCandleWidth"; this.frCandleWidth.Size = new System.Drawing.Size(96, 48); this.frCandleWidth.TabIndex = 5; this.frCandleWidth.TabStop = false; this.frCandleWidth.Text = "Candle Width"; // // udCandleWidth // this.udCandleWidth.Location = new System.Drawing.Point(16, 16); this.udCandleWidth.Maximum = new System.Decimal(new int[] { 50, 0, 0, 0 }); this.udCandleWidth.Minimum = new System.Decimal(new int[] { 1, 0, 0, 0 }); this.udCandleWidth.Name = "udCandleWidth"; this.udCandleWidth.Size = new System.Drawing.Size(64, 20); this.udCandleWidth.TabIndex = 1; this.udCandleWidth.Value = new System.Decimal(new int[] { 1, 0, 0, 0 }); this.udCandleWidth.ValueChanged += new System.EventHandler(this.udCandleWidth_ValueChanged); // // frWidth // this.frWidth.Controls.AddRange(new System.Windows.Forms.Control[] { this.udWidth }); this.frWidth.Location = new System.Drawing.Point(160, 344); this.frWidth.Name = "frWidth"; this.frWidth.Size = new System.Drawing.Size(96, 48); this.frWidth.TabIndex = 6; this.frWidth.TabStop = false; this.frWidth.Text = "Line Thickness"; // // udWidth // this.udWidth.Location = new System.Drawing.Point(16, 16); this.udWidth.Maximum = new System.Decimal(new int[] { 50, 0, 0, 0 }); this.udWidth.Minimum = new System.Decimal(new int[] { 1, 0, 0, 0 }); this.udWidth.Name = "udWidth"; this.udWidth.Size = new System.Drawing.Size(64, 20); this.udWidth.TabIndex = 1; this.udWidth.Value = new System.Decimal(new int[] { 1, 0, 0, 0 }); this.udWidth.ValueChanged += new System.EventHandler(this.udWidth_ValueChanged); // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1, this.menuItem3 }); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuFileExit }); this.menuItem1.Text = "&File"; // // menuFileExit // this.menuFileExit.Index = 0; this.menuFileExit.Text = "E&xit"; this.menuFileExit.Click += new System.EventHandler(this.menuFileExit_Click); // // menuItem3 // this.menuItem3.Index = 1; this.menuItem3.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuHelpAbout }); this.menuItem3.Text = "&Help"; // // menuHelpAbout // this.menuHelpAbout.Index = 0; this.menuHelpAbout.Text = "&About"; this.menuHelpAbout.Click += new System.EventHandler(this.menuHelpAbout_Click); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(550, 401); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.frWidth, this.frTickLength, this.chkCloseVisible, this.chkOpenVisible, this.frChartTypes, this.chart, this.frCandleWidth }); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D; this.MaximizeBox = false; this.Menu = this.mainMenu1; this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "ComponentOne Chart for .NET 2D - HiLoOpenClose & Candle Chart Demo"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.chart)).EndInit(); this.frChartTypes.ResumeLayout(false); this.frTickLength.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.udTickLen)).EndInit(); this.frCandleWidth.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.udCandleWidth)).EndInit(); this.frWidth.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.udWidth)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.c1Chart1 = new C1.Win.C1Chart.C1Chart(); this.trackBar1 = new System.Windows.Forms.TrackBar(); this.label1 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit(); this.SuspendLayout(); // // c1Chart1 // this.c1Chart1.DataSource = null; this.c1Chart1.Dock = System.Windows.Forms.DockStyle.Fill; this.c1Chart1.Interaction.Enabled = true; this.c1Chart1.Location = new System.Drawing.Point(150, 0); this.c1Chart1.Name = "c1Chart1"; this.c1Chart1.PropBag = "<?xml version=\"1.0\"?><Chart2DPropBag Version=\"\"><StyleCollection><NamedStyle Name" + "=\"PlotArea\" ParentName=\"Area\" StyleData=\"GradientStyle=None;Border=Solid,Control" + "Text,1;BackColor2=;BackColor=DarkGray;Opaque=True;HatchStyle=None;\" /><NamedStyl" + "e Name=\"Legend\" ParentName=\"Legend.default\" /><NamedStyle Name=\"Footer\" ParentNa" + "me=\"Control\" StyleData=\"Border=None,Black,1;\" /><NamedStyle Name=\"Area\" ParentNa" + "me=\"Area.default\" /><NamedStyle Name=\"Control\" ParentName=\"Control.default\" Styl" + "eData=\"Border=Solid,Transparent,1;\" /><NamedStyle Name=\"AxisX\" ParentName=\"Area\"" + " StyleData=\"Rotation=Rotate0;AlignHorz=Center;AlignVert=Bottom;\" /><NamedStyle N" + "ame=\"AxisY\" ParentName=\"Area\" StyleData=\"Rotation=Rotate270;AlignHorz=Near;Align" + "Vert=Center;\" /><NamedStyle Name=\"LabelStyleDefault\" ParentName=\"LabelStyleDefau" + "lt.default\" /><NamedStyle Name=\"Legend.default\" ParentName=\"Control\" StyleData=\"" + "Border=None,Black,1;Wrap=False;AlignVert=Top;\" /><NamedStyle Name=\"LabelStyleDef" + "ault.default\" ParentName=\"Control\" StyleData=\"Border=None,Black,1;BackColor=Tran" + "sparent;\" /><NamedStyle Name=\"Header\" ParentName=\"Control\" StyleData=\"Border=Non" + "e,Black,1;\" /><NamedStyle Name=\"Control.default\" ParentName=\"\" StyleData=\"ForeCo" + "lor=ControlText;Border=None,Black,1;BackColor=Control;\" /><NamedStyle Name=\"Axis" + "Y2\" ParentName=\"Area\" StyleData=\"Rotation=Rotate90;AlignHorz=Far;AlignVert=Cente" + "r;\" /><NamedStyle Name=\"Area.default\" ParentName=\"Control\" StyleData=\"Border=Non" + "e,Black,1;AlignVert=Top;\" /></StyleCollection><ChartGroupsCollection><ChartGroup" + " Name=\"Group1\" Use3D=\"False\"><DataSerializer DefaultSet=\"True\"><DataSeriesCollec" + "tion><DataSeriesSerializer><LineStyle Color=\"DarkGoldenrod\" /><SymbolStyle Color" + "=\"Coral\" Shape=\"Box\" /><SeriesLabel>series 0</SeriesLabel><X>1;2;3;4;5</X><Y>20;" + "22;19;24;25</Y><DataTypes>Single;Single;Double;Double;Double</DataTypes><DataFie" + "lds>;;;;</DataFields><FillStyle /></DataSeriesSerializer><DataSeriesSerializer><" + "LineStyle Color=\"DarkGray\" /><SymbolStyle Color=\"CornflowerBlue\" Shape=\"Dot\" /><" + "SeriesLabel>series 1</SeriesLabel><X>1;2;3;4;5</X><Y>8;12;10;12;15</Y><DataTypes" + ">Single;Single;Double;Double;Double</DataTypes><DataFields>;;;;</DataFields><Fil" + "lStyle /></DataSeriesSerializer><DataSeriesSerializer><LineStyle Color=\"DarkGree" + "n\" /><SymbolStyle Color=\"Cornsilk\" Shape=\"Tri\" /><SeriesLabel>series 2</SeriesLa" + "bel><X>1;2;3;4;5</X><Y>10;16;17;15;23</Y><DataTypes>Single;Single;Double;Double;" + "Double</DataTypes><DataFields>;;;;</DataFields><FillStyle /></DataSeriesSerializ" + "er><DataSeriesSerializer><LineStyle Color=\"DarkKhaki\" /><SymbolStyle Color=\"Crim" + "son\" Shape=\"Diamond\" /><SeriesLabel>series 3</SeriesLabel><X>1;2;3;4;5</X><Y>16;" + "19;15;22;18</Y><DataTypes>Single;Single;Double;Double;Double</DataTypes><DataFie" + "lds>;;;;</DataFields><FillStyle /></DataSeriesSerializer></DataSeriesCollection>" + "</DataSerializer></ChartGroup><ChartGroup Name=\"Group2\"><DataSerializer /></Char" + "tGroup></ChartGroupsCollection><Header Compass=\"North\" Visible=\"False\" /><Footer" + " Compass=\"South\" Visible=\"False\" /><Legend Compass=\"East\" Visible=\"False\" /><Cha" + "rtArea /><Axes><Axis Max=\"5\" Min=\"1\" UnitMajor=\"1\" UnitMinor=\"0.5\" AutoMajor=\"Tr" + "ue\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" Compass=\"South\"><GridMajor />" + "<GridMinor /></Axis><Axis Max=\"25\" Min=\"8\" UnitMajor=\"1\" UnitMinor=\"0.5\" AutoMaj" + "or=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" Compass=\"West\"><GridMaj" + "or /><GridMinor /></Axis><Axis Max=\"0\" Min=\"0\" UnitMajor=\"0\" UnitMinor=\"0\" AutoM" + "ajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" Compass=\"East\"><GridM" + "ajor /><GridMinor /></Axis></Axes></Chart2DPropBag>"; this.c1Chart1.Size = new System.Drawing.Size(482, 453); this.c1Chart1.TabIndex = 0; // // trackBar1 // this.trackBar1.Location = new System.Drawing.Point(8, 40); this.trackBar1.Name = "trackBar1"; this.trackBar1.Size = new System.Drawing.Size(128, 42); this.trackBar1.TabIndex = 1; this.trackBar1.ValueChanged += new System.EventHandler(this.trackBar1_ValueChanged); this.trackBar1.Scroll += new System.EventHandler(this.trackBar1_ValueChanged); // // label1 // this.label1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label1.Location = new System.Drawing.Point(8, 8); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(128, 23); this.label1.TabIndex = 2; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // Form1 // this.ClientSize = new System.Drawing.Size(632, 453); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.label1, this.trackBar1, this.c1Chart1 }); this.DockPadding.Left = 150; this.Name = "Form1"; this.Text = "ComponentOne Chart.Net 2D - Custom Draw Demo"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.btnAnimate = new System.Windows.Forms.Button(); this.listView1 = new System.Windows.Forms.ListView(); this.treeView1 = new System.Windows.Forms.TreeView(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.cbAA = new System.Windows.Forms.CheckBox(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.c1Chart1 = new C1.Win.C1Chart.C1Chart(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.mainMenu1 = new System.Windows.Forms.MainMenu(); this.miFile = new System.Windows.Forms.MenuItem(); this.miExit = new System.Windows.Forms.MenuItem(); this.miHelp = new System.Windows.Forms.MenuItem(); this.miAbout = new System.Windows.Forms.MenuItem(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).BeginInit(); this.SuspendLayout(); // // tabControl1 // this.tabControl1.Controls.AddRange(new System.Windows.Forms.Control[] { this.tabPage1, this.tabPage2 }); this.tabControl1.Dock = System.Windows.Forms.DockStyle.Left; this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(200, 453); this.tabControl1.TabIndex = 0; // // tabPage1 // this.tabPage1.Controls.AddRange(new System.Windows.Forms.Control[] { this.btnAnimate, this.listView1, this.treeView1 }); this.tabPage1.DockPadding.Bottom = 34; this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Size = new System.Drawing.Size(192, 427); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Functions"; // // btnAnimate // this.btnAnimate.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left); this.btnAnimate.Location = new System.Drawing.Point(46, 400); this.btnAnimate.Name = "btnAnimate"; this.btnAnimate.Size = new System.Drawing.Size(101, 23); this.btnAnimate.TabIndex = 2; this.btnAnimate.Text = "Start Animation"; this.btnAnimate.Click += new System.EventHandler(this.btnAnimate_Click); // // listView1 // this.listView1.CheckBoxes = true; this.listView1.Dock = System.Windows.Forms.DockStyle.Fill; this.listView1.GridLines = true; this.listView1.HideSelection = false; this.listView1.Location = new System.Drawing.Point(0, 168); this.listView1.Name = "listView1"; this.listView1.Size = new System.Drawing.Size(192, 225); this.listView1.TabIndex = 1; this.listView1.View = System.Windows.Forms.View.List; this.listView1.SelectedIndexChanged += new System.EventHandler(this.listView1_SelectedIndexChanged); this.listView1.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.listView1_ItemCheck); // // treeView1 // this.treeView1.Dock = System.Windows.Forms.DockStyle.Top; this.treeView1.HideSelection = false; this.treeView1.ImageIndex = -1; this.treeView1.Name = "treeView1"; this.treeView1.SelectedImageIndex = -1; this.treeView1.Size = new System.Drawing.Size(192, 168); this.treeView1.TabIndex = 0; this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect); // // tabPage2 // this.tabPage2.Controls.AddRange(new System.Windows.Forms.Control[] { this.cbAA }); this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Size = new System.Drawing.Size(192, 427); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "Plot Options"; // // cbAA // this.cbAA.Location = new System.Drawing.Point(8, 8); this.cbAA.Name = "cbAA"; this.cbAA.Size = new System.Drawing.Size(120, 24); this.cbAA.TabIndex = 0; this.cbAA.Text = "Use anti-aliasing"; this.cbAA.CheckedChanged += new System.EventHandler(this.cbAA_CheckedChanged); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(200, 431); this.statusBar1.Name = "statusBar1"; this.statusBar1.Size = new System.Drawing.Size(432, 22); this.statusBar1.TabIndex = 2; this.statusBar1.Text = "Ready"; // // c1Chart1 // this.c1Chart1.DataSource = null; this.c1Chart1.Dock = System.Windows.Forms.DockStyle.Fill; this.c1Chart1.Interaction.Enabled = true; this.c1Chart1.Location = new System.Drawing.Point(200, 0); this.c1Chart1.Name = "c1Chart1"; this.c1Chart1.PropBag = "<?xml version=\"1.0\"?><Chart2DPropBag Version=\"\"><StyleCollection><NamedStyle Name" + "=\"PlotArea\" ParentName=\"Area\"><StyleData>Border=Solid,ControlText,1;BackColor=Wh" + "iteSmoke;</StyleData></NamedStyle><NamedStyle Name=\"Legend\" ParentName=\"Legend.d" + "efault\"><StyleData /></NamedStyle><NamedStyle Name=\"Footer\" ParentName=\"Control\"" + "><StyleData>Border=None,Black,1;</StyleData></NamedStyle><NamedStyle Name=\"Area\"" + " ParentName=\"Area.default\"><StyleData /></NamedStyle><NamedStyle Name=\"Control\" " + "ParentName=\"Control.default\"><StyleData>Border=Solid,Black,1;</StyleData></Named" + "Style><NamedStyle Name=\"AxisX\" ParentName=\"Area\"><StyleData>Rotation=Rotate0;Bor" + "der=None,Transparent,1;AlignHorz=Center;BackColor=Transparent;Opaque=False;Align" + "Vert=Bottom;</StyleData></NamedStyle><NamedStyle Name=\"AxisY\" ParentName=\"Area\">" + "<StyleData>Rotation=Rotate270;Border=None,Transparent,1;AlignHorz=Near;BackColor" + "=Transparent;Opaque=False;AlignVert=Center;</StyleData></NamedStyle><NamedStyle " + "Name=\"LabelStyleDefault\" ParentName=\"LabelStyleDefault.default\"><StyleData /></N" + "amedStyle><NamedStyle Name=\"Legend.default\" ParentName=\"Control\"><StyleData>Bord" + "er=None,Black,1;Wrap=False;AlignVert=Top;</StyleData></NamedStyle><NamedStyle Na" + "me=\"LabelStyleDefault.default\" ParentName=\"Control\"><StyleData>Border=None,Black" + ",1;BackColor=Transparent;</StyleData></NamedStyle><NamedStyle Name=\"Header\" Pare" + "ntName=\"Control\"><StyleData>Border=None,Black,1;</StyleData></NamedStyle><NamedS" + "tyle Name=\"Control.default\" ParentName=\"\"><StyleData>ForeColor=ControlText;Borde" + "r=None,Black,1;BackColor=Control;</StyleData></NamedStyle><NamedStyle Name=\"Axis" + "Y2\" ParentName=\"Area\"><StyleData>Rotation=Rotate90;Border=None,Transparent,1;Ali" + "gnHorz=Far;BackColor=Transparent;AlignVert=Center;</StyleData></NamedStyle><Name" + "dStyle Name=\"Area.default\" ParentName=\"Control\"><StyleData>Border=None,Black,1;A" + "lignVert=Top;</StyleData></NamedStyle></StyleCollection><ChartGroupsCollection><" + "ChartGroup><DataSerializer Hole=\"3.4028234663852886E+38\" DefaultSet=\"True\"><Data" + "SeriesCollection><DataSeriesSerializer><LineStyle Color=\"DarkGoldenrod\" /><Symbo" + "lStyle Color=\"Coral\" Shape=\"Box\" /><SeriesLabel>series 0</SeriesLabel><X>1;2;3;4" + ";5</X><Y>20;22;19;24;25</Y><Y1 /><Y2 /><Y3 /><DataTypes>Single;Single;Double;Dou" + "ble;Double</DataTypes><DataFields>;;;;</DataFields><Tag /></DataSeriesSerializer" + "><DataSeriesSerializer><LineStyle Color=\"DarkGray\" /><SymbolStyle Color=\"Cornflo" + "werBlue\" Shape=\"Dot\" /><SeriesLabel>series 1</SeriesLabel><X>1;2;3;4;5</X><Y>8;1" + "2;10;12;15</Y><Y1 /><Y2 /><Y3 /><DataTypes>Single;Single;Double;Double;Double</D" + "ataTypes><DataFields>;;;;</DataFields><Tag /></DataSeriesSerializer><DataSeriesS" + "erializer><LineStyle Color=\"DarkGreen\" /><SymbolStyle Color=\"Cornsilk\" Shape=\"Tr" + "i\" /><SeriesLabel>series 2</SeriesLabel><X>1;2;3;4;5</X><Y>10;16;17;15;23</Y><Y1" + " /><Y2 /><Y3 /><DataTypes>Single;Single;Double;Double;Double</DataTypes><DataFie" + "lds>;;;;</DataFields><Tag /></DataSeriesSerializer><DataSeriesSerializer><LineSt" + "yle Color=\"DarkKhaki\" /><SymbolStyle Color=\"Crimson\" Shape=\"Diamond\" /><SeriesLa" + "bel>series 3</SeriesLabel><X>1;2;3;4;5</X><Y>16;19;15;22;18</Y><Y1 /><Y2 /><Y3 /" + "><DataTypes>Single;Single;Double;Double;Double</DataTypes><DataFields>;;;;</Data" + "Fields><Tag /></DataSeriesSerializer></DataSeriesCollection></DataSerializer><Na" + "me>Group1</Name><Stacked>False</Stacked><ChartType>XYPlot</ChartType><Pie>OtherO" + "ffset=0,Start=0</Pie><Bar>ClusterOverlap=0,ClusterWidth=50</Bar><HiLoData>FillFa" + "lling=True,FillTransparent=True,FullWidth=False,ShowClose=True,ShowOpen=True</Hi" + "LoData><Bubble>EncodingMethod=Diameter,MaximumSize=20,MinimumSize=5</Bubble><Pol" + "ar>Degrees=True,PiRatioAnnotations=True,Start=0</Polar><Radar>Degrees=True,Fille" + "d=False,Start=0</Radar><Visible>True</Visible><ShowOutline>True</ShowOutline></C" + "hartGroup><ChartGroup><DataSerializer Hole=\"3.4028234663852886E+38\" /><Name>Grou" + "p2</Name><Stacked>False</Stacked><ChartType>XYPlot</ChartType><Pie>OtherOffset=0" + ",Start=0</Pie><Bar>ClusterOverlap=0,ClusterWidth=50</Bar><HiLoData>FillFalling=T" + "rue,FillTransparent=True,FullWidth=False,ShowClose=True,ShowOpen=True</HiLoData>" + "<Bubble>EncodingMethod=Diameter,MaximumSize=20,MinimumSize=5</Bubble><Polar>Degr" + "ees=True,PiRatioAnnotations=True,Start=0</Polar><Radar>Degrees=True,Filled=False" + ",Start=0</Radar><Visible>True</Visible><ShowOutline>True</ShowOutline></ChartGro" + "up></ChartGroupsCollection><Header Compass=\"North\" Visible=\"False\"><Text /></Hea" + "der><Footer Compass=\"South\" Visible=\"False\"><Text /></Footer><Legend Compass=\"Ea" + "st\" Visible=\"False\"><Text /></Legend><ChartArea><Margin Top=\"0\" Left=\"0\" Bottom=" + "\"0\" Right=\"0\" /></ChartArea><Axes><Axis Max=\"5\" Min=\"1\" UnitMajor=\"1\" UnitMinor=" + "\"0.5\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" _onTop=\"0\"" + " Compass=\"South\"><Text /><GridMajor AutoSpace=\"True\" Color=\"LightGray\" Pattern=\"" + "Dash\" /><GridMinor AutoSpace=\"True\" Color=\"LightGray\" Pattern=\"Dash\" /></Axis><A" + "xis Max=\"25\" Min=\"8\" UnitMajor=\"1\" UnitMinor=\"0.5\" AutoMajor=\"True\" AutoMinor=\"T" + "rue\" AutoMax=\"True\" AutoMin=\"True\" _onTop=\"0\" Compass=\"West\"><Text /><GridMajor " + "AutoSpace=\"True\" Color=\"LightGray\" Pattern=\"Dash\" /><GridMinor AutoSpace=\"True\" " + "Color=\"LightGray\" Pattern=\"Dash\" /></Axis><Axis Max=\"0\" Min=\"0\" UnitMajor=\"0\" Un" + "itMinor=\"0\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" _onT" + "op=\"0\" Compass=\"East\"><Text /><GridMajor AutoSpace=\"True\" Color=\"LightGray\" Patt" + "ern=\"Dash\" /><GridMinor AutoSpace=\"True\" Color=\"LightGray\" Pattern=\"Dash\" /></Ax" + "is></Axes></Chart2DPropBag>"; this.c1Chart1.Size = new System.Drawing.Size(432, 431); this.c1Chart1.TabIndex = 3; this.c1Chart1.Paint += new System.Windows.Forms.PaintEventHandler(this.c1Chart1_Paint); // // timer1 // this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miFile, this.miHelp }); // // miFile // this.miFile.Index = 0; this.miFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miExit }); this.miFile.Text = "&File"; // // miExit // this.miExit.Index = 0; this.miExit.Text = "E&xit"; this.miExit.Click += new System.EventHandler(this.miExit_Click); // // miHelp // this.miHelp.Index = 1; this.miHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miAbout }); this.miHelp.Text = "&Help"; // // miAbout // this.miAbout.Index = 0; this.miAbout.Text = "&About"; this.miAbout.Click += new System.EventHandler(this.miAbout_Click); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(632, 453); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.c1Chart1, this.statusBar1, this.tabControl1 }); this.Menu = this.mainMenu1; this.MinimumSize = new System.Drawing.Size(400, 300); this.Name = "Form1"; this.Text = "ComponentOne Chart.Net 2D - Function Explorer Demo"; this.Load += new System.EventHandler(this.Form1_Load); this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.c1Chart1 = new C1.Win.C1Chart.C1Chart(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.tbTooltip = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.label3 = new System.Windows.Forms.Label(); this.cbActivation = new System.Windows.Forms.ComboBox(); this.label4 = new System.Windows.Forms.Label(); this.cbPlotElement = new System.Windows.Forms.ComboBox(); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).BeginInit(); this.SuspendLayout(); // // c1Chart1 // this.c1Chart1.DataSource = null; this.c1Chart1.Dock = System.Windows.Forms.DockStyle.Fill; this.c1Chart1.Location = new System.Drawing.Point(168, 0); this.c1Chart1.Name = "c1Chart1"; this.c1Chart1.PropBag = "<?xml version=\"1.0\"?><Chart2DPropBag Version=\"\"><StyleCollection><NamedStyle Name" + "=\"PlotArea\" ParentName=\"Area\" StyleData=\"Border=Solid,ControlText,1;BackColor=Wh" + "iteSmoke;\" /><NamedStyle Name=\"Legend\" ParentName=\"Legend.default\" /><NamedStyle" + " Name=\"Footer\" ParentName=\"Control\" StyleData=\"Border=Solid,RoyalBlue,2;Font=Mic" + "rosoft Sans Serif, 16pt;\" /><NamedStyle Name=\"Area\" ParentName=\"Area.default\" />" + "<NamedStyle Name=\"Control\" ParentName=\"Control.default\" StyleData=\"Border=Raised" + ",Transparent,1;\" /><NamedStyle Name=\"AxisX\" ParentName=\"Area\" StyleData=\"Rotatio" + "n=Rotate0;AlignHorz=Center;AlignVert=Bottom;\" /><NamedStyle Name=\"AxisY\" ParentN" + "ame=\"Area\" StyleData=\"Rotation=Rotate270;AlignHorz=Near;AlignVert=Center;\" /><Na" + "medStyle Name=\"LabelStyleDefault\" ParentName=\"LabelStyleDefault.default\" /><Name" + "dStyle Name=\"Legend.default\" ParentName=\"Control\" StyleData=\"Border=None,Black,1" + ";Wrap=False;AlignVert=Top;\" /><NamedStyle Name=\"LabelStyleDefault.default\" Paren" + "tName=\"Control\" StyleData=\"Border=None,Black,1;BackColor=Transparent;\" /><NamedS" + "tyle Name=\"Header\" ParentName=\"Control\" StyleData=\"Border=Solid,RoyalBlue,2;Font" + "=Microsoft Sans Serif, 16pt;\" /><NamedStyle Name=\"Control.default\" ParentName=\"\"" + " StyleData=\"ForeColor=ControlText;Border=None,Black,1;BackColor=Control;\" /><Nam" + "edStyle Name=\"AxisY2\" ParentName=\"Area\" StyleData=\"Rotation=Rotate90;AlignHorz=F" + "ar;AlignVert=Center;\" /><NamedStyle Name=\"Area.default\" ParentName=\"Control\" Sty" + "leData=\"Border=None,Black,1;AlignVert=Top;\" /></StyleCollection><ChartGroupsColl" + "ection><ChartGroup Name=\"Group1\" Use3D=\"False\"><DataSerializer DefaultSet=\"True\"" + "><DataSeriesCollection><DataSeriesSerializer><LineStyle Color=\"ForestGreen\" /><S" + "ymbolStyle Size=\"7\" Color=\"DarkSeaGreen\" OutlineColor=\"DarkGreen\" Shape=\"Box\" />" + "<SeriesLabel>series 0</SeriesLabel><X>1;2;3;4;5</X><Y>20;22;19;24;25</Y><DataTyp" + "es>Single;Single;Double;Double;Double</DataTypes><DataFields>;;;;</DataFields><F" + "illStyle /></DataSeriesSerializer><DataSeriesSerializer><LineStyle Color=\"RoyalB" + "lue\" /><SymbolStyle Size=\"7\" Color=\"CornflowerBlue\" OutlineColor=\"Navy\" Shape=\"D" + "ot\" /><SeriesLabel>series 1</SeriesLabel><X>1;2;3;4;5</X><Y>8;12;10;12;15</Y><Da" + "taTypes>Single;Single;Double;Double;Double</DataTypes><DataFields>;;;;</DataFiel" + "ds><FillStyle /></DataSeriesSerializer><DataSeriesSerializer><LineStyle Color=\"D" + "arkViolet\" /><SymbolStyle Size=\"7\" Color=\"Violet\" OutlineColor=\"Indigo\" Shape=\"T" + "ri\" /><SeriesLabel>series 2</SeriesLabel><X>1;2;3;4;5</X><Y>10;16;17;15;23</Y><D" + "ataTypes>Single;Single;Double;Double;Double</DataTypes><DataFields>;;;;</DataFie" + "lds><FillStyle /></DataSeriesSerializer><DataSeriesSerializer><LineStyle Color=\"" + "Firebrick\" /><SymbolStyle Size=\"7\" Color=\"Pink\" OutlineColor=\"DarkRed\" Shape=\"Di" + "amond\" /><SeriesLabel>series 3</SeriesLabel><X>1;2;3;4;5</X><Y>16;19;15;22;18</Y" + "><DataTypes>Single;Single;Double;Double;Double</DataTypes><DataFields>;;;;</Data" + "Fields><FillStyle /></DataSeriesSerializer></DataSeriesCollection></DataSerializ" + "er></ChartGroup><ChartGroup Name=\"Group2\"><DataSerializer /></ChartGroup></Chart" + "GroupsCollection><Header Compass=\"North\"><Text>Chart Header</Text></Header><Foot" + "er Compass=\"South\"><Text>Footer</Text></Footer><Legend Compass=\"East\" Visible=\"F" + "alse\" /><ChartArea /><Axes><Axis Max=\"5\" Min=\"1\" UnitMajor=\"1\" UnitMinor=\"0.5\" A" + "utoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" Compass=\"South\"><" + "GridMajor /><GridMinor /></Axis><Axis Max=\"26\" Min=\"8\" UnitMajor=\"2\" UnitMinor=\"" + "1\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" Compass=\"West" + "\"><GridMajor /><GridMinor /></Axis><Axis Max=\"0\" Min=\"0\" UnitMajor=\"0\" UnitMinor" + "=\"0\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" Compass=\"Ea" + "st\"><GridMajor /><GridMinor /></Axis></Axes></Chart2DPropBag>"; this.c1Chart1.Size = new System.Drawing.Size(464, 453); this.c1Chart1.TabIndex = 0; this.c1Chart1.ShowTooltip += new C1.Win.C1Chart.ShowTooltipEventHandler(this.c1Chart1_ShowTooltip); // // comboBox1 // this.comboBox1.BackColor = System.Drawing.SystemColors.Control; this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBox1.Items.AddRange(new object[] { "Header", "Footer", "X-axis", "Y-axis", "DataSeries" }); this.comboBox1.Location = new System.Drawing.Point(8, 32); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(152, 21); this.comboBox1.TabIndex = 1; this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); // // tbTooltip // this.tbTooltip.BackColor = System.Drawing.SystemColors.Control; this.tbTooltip.Location = new System.Drawing.Point(8, 96); this.tbTooltip.Multiline = true; this.tbTooltip.Name = "tbTooltip"; this.tbTooltip.Size = new System.Drawing.Size(152, 96); this.tbTooltip.TabIndex = 2; this.tbTooltip.Text = ""; this.tbTooltip.TextChanged += new System.EventHandler(this.tbTooltip_TextChanged); // // label1 // this.label1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.label1.Location = new System.Drawing.Point(8, 8); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(152, 23); this.label1.TabIndex = 3; this.label1.Text = "Chart element"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label2 // this.label2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.label2.Location = new System.Drawing.Point(8, 72); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(152, 23); this.label2.TabIndex = 4; this.label2.Text = "Tooltip"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // panel1 // this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Location = new System.Drawing.Point(0, 208); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(168, 4); this.panel1.TabIndex = 5; // // label3 // this.label3.BackColor = System.Drawing.SystemColors.ControlLight; this.label3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.label3.Location = new System.Drawing.Point(8, 232); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(152, 23); this.label3.TabIndex = 7; this.label3.Text = "Activation"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // cbActivation // this.cbActivation.BackColor = System.Drawing.SystemColors.Control; this.cbActivation.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbActivation.Items.AddRange(new object[] { "MouseOver", "MouseClick" }); this.cbActivation.Location = new System.Drawing.Point(8, 256); this.cbActivation.Name = "cbActivation"; this.cbActivation.Size = new System.Drawing.Size(152, 21); this.cbActivation.TabIndex = 6; this.cbActivation.SelectedIndexChanged += new System.EventHandler(this.cbActivation_SelectedIndexChanged); // // label4 // this.label4.BackColor = System.Drawing.SystemColors.ControlLight; this.label4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.label4.Location = new System.Drawing.Point(8, 296); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(152, 23); this.label4.TabIndex = 9; this.label4.Text = "Plot element"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // cbPlotElement // this.cbPlotElement.BackColor = System.Drawing.SystemColors.Control; this.cbPlotElement.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbPlotElement.Items.AddRange(new object[] { "Points", "Series" }); this.cbPlotElement.Location = new System.Drawing.Point(8, 320); this.cbPlotElement.Name = "cbPlotElement"; this.cbPlotElement.Size = new System.Drawing.Size(152, 21); this.cbPlotElement.TabIndex = 8; this.cbPlotElement.SelectedIndexChanged += new System.EventHandler(this.cbPlotElement_SelectedIndexChanged); // // Form1 // this.ClientSize = new System.Drawing.Size(632, 453); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.label4, this.cbPlotElement, this.label3, this.cbActivation, this.panel1, this.label2, this.label1, this.tbTooltip, this.comboBox1, this.c1Chart1 }); this.DockPadding.Left = 168; this.Name = "Form1"; this.Text = "ComponentOne Chart.Net 2D - Chart Tooltip Demo"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.c1Chart1 = new C1.Win.C1Chart.C1Chart(); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).BeginInit(); this.SuspendLayout(); // // c1Chart1 // this.c1Chart1.Location = new System.Drawing.Point(16, 16); this.c1Chart1.Name = "c1Chart1"; this.c1Chart1.PropBag = "<?xml version=\"1.0\"?><Chart2DPropBag Version=\"\"><Axes><Axis Max=\"5\" Min=\"1\" UnitM" + "ajor=\"1\" UnitMinor=\"0.5\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMi" + "n=\"True\" _onTop=\"0\" Compass=\"South\"><GridMajor AutoSpace=\"True\" Thickness=\"1\" Co" + "lor=\"LightGray\" Pattern=\"Dash\" /><GridMinor AutoSpace=\"True\" Thickness=\"1\" Color" + "=\"LightGray\" Pattern=\"Dash\" /><Text /></Axis><Axis Max=\"25\" Min=\"8\" UnitMajor=\"2" + "\" UnitMinor=\"1\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" " + "_onTop=\"0\" Compass=\"West\"><GridMajor AutoSpace=\"True\" Thickness=\"1\" Color=\"Light" + "Gray\" Pattern=\"Dash\" /><GridMinor AutoSpace=\"True\" Thickness=\"1\" Color=\"LightGra" + "y\" Pattern=\"Dash\" /><Text /></Axis><Axis Max=\"0\" Min=\"0\" UnitMajor=\"0\" UnitMinor" + "=\"0\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" _onTop=\"0\" " + "Compass=\"East\"><GridMajor AutoSpace=\"True\" Thickness=\"1\" Color=\"LightGray\" Patte" + "rn=\"Dash\" /><GridMinor AutoSpace=\"True\" Thickness=\"1\" Color=\"LightGray\" Pattern=" + "\"Dash\" /><Text /></Axis></Axes><Header Compass=\"North\"><Text /></Header><ChartGr" + "oupsCollection><ChartGroup><Polar>Degrees=True,PiRatioAnnotations=True,Start=0</" + "Polar><Radar>Degrees=True,Filled=False,Start=0</Radar><Stacked>False</Stacked><H" + "iLoData>FillFalling=True,FillTransparent=True,FullWidth=False,ShowClose=True,Sho" + "wOpen=True</HiLoData><ChartType>XYPlot</ChartType><Bubble>EncodingMethod=Diamete" + "r,MaximumSize=20,MinimumSize=5</Bubble><Name>Group1</Name><DataSerializer Defaul" + "tSet=\"True\"><DataSeriesCollection><DataSeriesSerializer><Y>20;22;19;24;25</Y><Li" + "neStyle Thickness=\"1\" Color=\"DarkGoldenrod\" Pattern=\"Solid\" /><SymbolStyle Shape" + "=\"Box\" Color=\"Coral\" /><SeriesLabel>series 0</SeriesLabel><DataTypes>Single;Sing" + "le;Single;Single;Single</DataTypes><Y1 /><X>1;2;3;4;5</X><Y3 /><Y2 /></DataSerie" + "sSerializer><DataSeriesSerializer><Y>8;12;10;12;15</Y><LineStyle Thickness=\"1\" C" + "olor=\"DarkGray\" Pattern=\"Solid\" /><SymbolStyle Shape=\"Dot\" Color=\"CornflowerBlue" + "\" /><SeriesLabel>series 1</SeriesLabel><DataTypes>Single;Single;Single;Single;Si" + "ngle</DataTypes><Y1 /><X>1;2;3;4;5</X><Y3 /><Y2 /></DataSeriesSerializer><DataSe" + "riesSerializer><Y>10;16;17;15;23</Y><LineStyle Thickness=\"1\" Color=\"DarkGreen\" P" + "attern=\"Solid\" /><SymbolStyle Shape=\"Tri\" Color=\"Cornsilk\" /><SeriesLabel>series" + " 2</SeriesLabel><DataTypes>Single;Single;Single;Single;Single</DataTypes><Y1 /><" + "X>1;2;3;4;5</X><Y3 /><Y2 /></DataSeriesSerializer><DataSeriesSerializer><Y>16;19" + ";15;22;18</Y><LineStyle Thickness=\"1\" Color=\"DarkKhaki\" Pattern=\"Solid\" /><Symbo" + "lStyle Shape=\"Diamond\" Color=\"Crimson\" /><SeriesLabel>series 3</SeriesLabel><Dat" + "aTypes>Single;Single;Single;Single;Single</DataTypes><Y1 /><X>1;2;3;4;5</X><Y3 /" + "><Y2 /></DataSeriesSerializer></DataSeriesCollection></DataSerializer><ShowOutli" + "ne>True</ShowOutline><Bar>ClusterOverlap=0,ClusterWidth=50</Bar><Pie>OtherOffset" + "=0,Start=0</Pie></ChartGroup><ChartGroup><Polar>Degrees=True,PiRatioAnnotations=" + "True,Start=0</Polar><Radar>Degrees=True,Filled=False,Start=0</Radar><Stacked>Fal" + "se</Stacked><HiLoData>FillFalling=True,FillTransparent=True,FullWidth=False,Show" + "Close=True,ShowOpen=True</HiLoData><ChartType>XYPlot</ChartType><Bubble>Encoding" + "Method=Diameter,MaximumSize=20,MinimumSize=5</Bubble><Name>Group2</Name><DataSer" + "ializer /><ShowOutline>True</ShowOutline><Bar>ClusterOverlap=0,ClusterWidth=50</" + "Bar><Pie>OtherOffset=0,Start=0</Pie></ChartGroup></ChartGroupsCollection><StyleC" + "ollection><NamedStyle><Name>PlotArea</Name><ParentName>Area</ParentName><StyleDa" + "ta>Border=None,Control,1;</StyleData></NamedStyle><NamedStyle><Name>Legend</Name" + "><ParentName>Legend.default</ParentName><StyleData /></NamedStyle><NamedStyle><N" + "ame>Footer</Name><ParentName>Control</ParentName><StyleData>Border=None,Control," + "1;</StyleData></NamedStyle><NamedStyle><Name>Area</Name><ParentName>Area.default" + "</ParentName><StyleData /></NamedStyle><NamedStyle><Name>Control</Name><ParentNa" + "me>Control.default</ParentName><StyleData /></NamedStyle><NamedStyle><Name>AxisX" + "</Name><ParentName>Area</ParentName><StyleData>Rotation=Rotate0;Border=None,Cont" + "rol,1;AlignHorz=Center;BackColor=Transparent;AlignVert=Bottom;</StyleData></Name" + "dStyle><NamedStyle><Name>AxisY</Name><ParentName>Area</ParentName><StyleData>Rot" + "ation=Rotate270;Border=None,Control,1;AlignHorz=Near;BackColor=Transparent;Align" + "Vert=Center;</StyleData></NamedStyle><NamedStyle><Name>LabelStyleDefault</Name><" + "ParentName>LabelStyleDefault.default</ParentName><StyleData /></NamedStyle><Name" + "dStyle><Name>Legend.default</Name><ParentName>Control</ParentName><StyleData>Bor" + "der=None,Black,1;Wrap=False;AlignVert=Top;</StyleData></NamedStyle><NamedStyle><" + "Name>LabelStyleDefault.default</Name><ParentName>Control</ParentName><StyleData>" + "Border=None,Control,1;BackColor=Transparent;</StyleData></NamedStyle><NamedStyle" + "><Name>Header</Name><ParentName>Control</ParentName><StyleData>Border=None,Contr" + "ol,1;</StyleData></NamedStyle><NamedStyle><Name>Control.default</Name><ParentNam" + "e /><StyleData>ForeColor=ControlText;Border=None,Control,1;BackColor=Control;</S" + "tyleData></NamedStyle><NamedStyle><Name>AxisY2</Name><ParentName>Area</ParentNam" + "e><StyleData>Rotation=Rotate90;Border=None,Transparent,1;AlignHorz=Far;BackColor" + "=Transparent;AlignVert=Center;</StyleData></NamedStyle><NamedStyle><Name>Area.de" + "fault</Name><ParentName>Control</ParentName><StyleData>Border=None,Control,1;Ali" + "gnVert=Top;</StyleData></NamedStyle></StyleCollection><Footer Compass=\"South\"><T" + "ext /></Footer><Legend Compass=\"East\" Visible=\"False\"><Text /></Legend><ChartAre" + "a /></Chart2DPropBag>"; this.c1Chart1.Size = new System.Drawing.Size(552, 288); this.c1Chart1.TabIndex = 0; this.c1Chart1.Resize += new System.EventHandler(this.c1Chart1_Resize); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(592, 373); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.c1Chart1 }); this.Name = "Form1"; this.Text = "ComponentOne Chart.Net 2D - Alarm Zone Chart Demo"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.mainMenu1 = new System.Windows.Forms.MainMenu(); this.miFile = new System.Windows.Forms.MenuItem(); this.miNewData = new System.Windows.Forms.MenuItem(); this.menuItem5 = new System.Windows.Forms.MenuItem(); this.miExit = new System.Windows.Forms.MenuItem(); this.miView = new System.Windows.Forms.MenuItem(); this.miError = new System.Windows.Forms.MenuItem(); this.miErrBar = new System.Windows.Forms.MenuItem(); this.miErrScatter = new System.Windows.Forms.MenuItem(); this.miTrend = new System.Windows.Forms.MenuItem(); this.miTrend2 = new System.Windows.Forms.MenuItem(); this.miTrend3 = new System.Windows.Forms.MenuItem(); this.miTrend4 = new System.Windows.Forms.MenuItem(); this.miTrend5 = new System.Windows.Forms.MenuItem(); this.miTrend6 = new System.Windows.Forms.MenuItem(); this.miHelp = new System.Windows.Forms.MenuItem(); this.miAbout = new System.Windows.Forms.MenuItem(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.errChart = new C1.Win.C1Chart.C1Chart(); this.trendChart = new C1.Win.C1Chart.C1Chart(); ((System.ComponentModel.ISupportInitialize)(this.errChart)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.trendChart)).BeginInit(); this.SuspendLayout(); // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miFile, this.miView, this.miHelp }); // // miFile // this.miFile.Index = 0; this.miFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miNewData, this.menuItem5, this.miExit }); this.miFile.Text = "&File"; // // miNewData // this.miNewData.Index = 0; this.miNewData.Text = "&New data"; this.miNewData.Click += new System.EventHandler(this.miNewData_Click); // // menuItem5 // this.menuItem5.Index = 1; this.menuItem5.Text = "-"; // // miExit // this.miExit.Index = 2; this.miExit.Text = "E&xit"; this.miExit.Click += new System.EventHandler(this.miExit_Click); // // miView // this.miView.Index = 1; this.miView.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miError, this.miTrend }); this.miView.Text = "&View"; // // miError // this.miError.Index = 0; this.miError.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miErrBar, this.miErrScatter }); this.miError.Text = "Errors"; // // miErrBar // this.miErrBar.Index = 0; this.miErrBar.RadioCheck = true; this.miErrBar.Text = "Bar"; this.miErrBar.Click += new System.EventHandler(this.miErrBar_Click); // // miErrScatter // this.miErrScatter.Checked = true; this.miErrScatter.Index = 1; this.miErrScatter.RadioCheck = true; this.miErrScatter.Text = "Scatter"; this.miErrScatter.Click += new System.EventHandler(this.miErrBar_Click); // // miTrend // this.miTrend.Index = 1; this.miTrend.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miTrend2, this.miTrend3, this.miTrend4, this.miTrend5, this.miTrend6 }); this.miTrend.Text = "Trend"; // // miTrend2 // this.miTrend2.Checked = true; this.miTrend2.Index = 0; this.miTrend2.RadioCheck = true; this.miTrend2.Text = "Linear"; this.miTrend2.Click += new System.EventHandler(this.miTrend2_Click); // // miTrend3 // this.miTrend3.Index = 1; this.miTrend3.RadioCheck = true; this.miTrend3.Text = "Quadratic"; this.miTrend3.Click += new System.EventHandler(this.miTrend2_Click); // // miTrend4 // this.miTrend4.Index = 2; this.miTrend4.RadioCheck = true; this.miTrend4.Text = "Cubic"; this.miTrend4.Click += new System.EventHandler(this.miTrend2_Click); // // miTrend5 // this.miTrend5.Index = 3; this.miTrend5.RadioCheck = true; this.miTrend5.Text = "4-order"; this.miTrend5.Click += new System.EventHandler(this.miTrend2_Click); // // miTrend6 // this.miTrend6.Index = 4; this.miTrend6.RadioCheck = true; this.miTrend6.Text = "5-order"; this.miTrend6.Click += new System.EventHandler(this.miTrend2_Click); // // miHelp // this.miHelp.Index = 2; this.miHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miAbout }); this.miHelp.Text = "&Help"; // // miAbout // this.miAbout.Index = 0; this.miAbout.Text = "&About"; this.miAbout.Click += new System.EventHandler(this.miAbout_Click); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 411); this.statusBar1.Name = "statusBar1"; this.statusBar1.Size = new System.Drawing.Size(632, 22); this.statusBar1.TabIndex = 0; this.statusBar1.Text = "Drag points on the top chart"; // // errChart // this.errChart.DataSource = null; this.errChart.Dock = System.Windows.Forms.DockStyle.Bottom; this.errChart.Location = new System.Drawing.Point(0, 243); this.errChart.Name = "errChart"; this.errChart.PropBag = "<?xml version=\"1.0\"?><Chart2DPropBag Version=\"\"><StyleCollection><NamedStyle Name" + "=\"PlotArea\" ParentName=\"Area\"><StyleData>Border=Solid,ControlText,1;BackColor=Wh" + "ite;</StyleData></NamedStyle><NamedStyle Name=\"Legend\" ParentName=\"Legend.defaul" + "t\"><StyleData /></NamedStyle><NamedStyle Name=\"Footer\" ParentName=\"Control\"><Sty" + "leData>Border=None,Black,1;</StyleData></NamedStyle><NamedStyle Name=\"Area\" Pare" + "ntName=\"Area.default\"><StyleData /></NamedStyle><NamedStyle Name=\"Control\" Paren" + "tName=\"Control.default\"><StyleData>Border=Solid,Transparent,1;BackColor=Control;" + "</StyleData></NamedStyle><NamedStyle Name=\"AxisX\" ParentName=\"Area\"><StyleData>R" + "otation=Rotate0;Border=None,Transparent,1;AlignHorz=Center;BackColor=Transparent" + ";Opaque=False;AlignVert=Bottom;</StyleData></NamedStyle><NamedStyle Name=\"AxisY\"" + " ParentName=\"Area\"><StyleData>Rotation=Rotate270;Border=None,Transparent,1;Align" + "Horz=Near;BackColor=Transparent;Opaque=False;AlignVert=Center;</StyleData></Name" + "dStyle><NamedStyle Name=\"LabelStyleDefault\" ParentName=\"LabelStyleDefault.defaul" + "t\"><StyleData /></NamedStyle><NamedStyle Name=\"Legend.default\" ParentName=\"Contr" + "ol\"><StyleData>Border=None,Black,1;Wrap=False;AlignVert=Top;</StyleData></NamedS" + "tyle><NamedStyle Name=\"LabelStyleDefault.default\" ParentName=\"Control\"><StyleDat" + "a>Border=None,Black,1;BackColor=Transparent;</StyleData></NamedStyle><NamedStyle" + " Name=\"Header\" ParentName=\"Control\"><StyleData>Border=None,Black,1;</StyleData><" + "/NamedStyle><NamedStyle Name=\"Control.default\" ParentName=\"\"><StyleData>ForeColo" + "r=ControlText;Border=None,Black,1;BackColor=Control;</StyleData></NamedStyle><Na" + "medStyle Name=\"AxisY2\" ParentName=\"Area\"><StyleData>Rotation=Rotate90;Border=Non" + "e,Transparent,1;AlignHorz=Far;BackColor=Transparent;AlignVert=Center;</StyleData" + "></NamedStyle><NamedStyle Name=\"Area.default\" ParentName=\"Control\"><StyleData>Bo" + "rder=None,Black,1;AlignVert=Top;</StyleData></NamedStyle></StyleCollection><Char" + "tGroupsCollection><ChartGroup><DataSerializer Hole=\"3.4028234663852886E+38\" Defa" + "ultSet=\"True\"><DataSeriesCollection><DataSeriesSerializer><LineStyle Color=\"Dark" + "Goldenrod\" /><SymbolStyle Color=\"Coral\" Shape=\"Box\" /><SeriesLabel>series 0</Ser" + "iesLabel><X>1;2;3;4;5</X><Y>20;22;19;24;25</Y><Y1 /><Y2 /><Y3 /><DataTypes>Singl" + "e;Single;Double;Double;Double</DataTypes><DataFields>;;;;</DataFields><Tag /></D" + "ataSeriesSerializer><DataSeriesSerializer><LineStyle Color=\"DarkGray\" /><SymbolS" + "tyle Color=\"CornflowerBlue\" Shape=\"Dot\" /><SeriesLabel>series 1</SeriesLabel><X>" + "1;2;3;4;5</X><Y>8;12;10;12;15</Y><Y1 /><Y2 /><Y3 /><DataTypes>Single;Single;Doub" + "le;Double;Double</DataTypes><DataFields>;;;;</DataFields><Tag /></DataSeriesSeri" + "alizer><DataSeriesSerializer><LineStyle Color=\"DarkGreen\" /><SymbolStyle Color=\"" + "Cornsilk\" Shape=\"Tri\" /><SeriesLabel>series 2</SeriesLabel><X>1;2;3;4;5</X><Y>10" + ";16;17;15;23</Y><Y1 /><Y2 /><Y3 /><DataTypes>Single;Single;Double;Double;Double<" + "/DataTypes><DataFields>;;;;</DataFields><Tag /></DataSeriesSerializer><DataSerie" + "sSerializer><LineStyle Color=\"DarkKhaki\" /><SymbolStyle Color=\"Crimson\" Shape=\"D" + "iamond\" /><SeriesLabel>series 3</SeriesLabel><X>1;2;3;4;5</X><Y>16;19;15;22;18</" + "Y><Y1 /><Y2 /><Y3 /><DataTypes>Single;Single;Double;Double;Double</DataTypes><Da" + "taFields>;;;;</DataFields><Tag /></DataSeriesSerializer></DataSeriesCollection><" + "/DataSerializer><Name>Group1</Name><Stacked>False</Stacked><ChartType>XYPlot</Ch" + "artType><Pie>OtherOffset=0,Start=0</Pie><Bar>ClusterOverlap=0,ClusterWidth=50</B" + "ar><HiLoData>FillFalling=True,FillTransparent=True,FullWidth=False,ShowClose=Tru" + "e,ShowOpen=True</HiLoData><Bubble>EncodingMethod=Diameter,MaximumSize=20,Minimum" + "Size=5</Bubble><Polar>Degrees=True,PiRatioAnnotations=True,Start=0</Polar><Radar" + ">Degrees=True,Filled=False,Start=0</Radar><Visible>True</Visible><ShowOutline>Tr" + "ue</ShowOutline></ChartGroup><ChartGroup><DataSerializer Hole=\"3.402823466385288" + "6E+38\" /><Name>Group2</Name><Stacked>False</Stacked><ChartType>XYPlot</ChartType" + "><Pie>OtherOffset=0,Start=0</Pie><Bar>ClusterOverlap=0,ClusterWidth=50</Bar><HiL" + "oData>FillFalling=True,FillTransparent=True,FullWidth=False,ShowClose=True,ShowO" + "pen=True</HiLoData><Bubble>EncodingMethod=Diameter,MaximumSize=20,MinimumSize=5<" + "/Bubble><Polar>Degrees=True,PiRatioAnnotations=True,Start=0</Polar><Radar>Degree" + "s=True,Filled=False,Start=0</Radar><Visible>True</Visible><ShowOutline>True</Sho" + "wOutline></ChartGroup></ChartGroupsCollection><Header Compass=\"North\" Visible=\"F" + "alse\"><Text /></Header><Footer Compass=\"South\" Visible=\"False\"><Text /></Footer>" + "<Legend Compass=\"East\" Visible=\"False\"><Text /></Legend><ChartArea LocationDefau" + "lt=\"5, -1\"><Margin Left=\"1\" Right=\"1\" /></ChartArea><Axes><Axis Max=\"5\" Min=\"1\" " + "UnitMajor=\"1\" UnitMinor=\"0.5\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" A" + "utoMin=\"True\" _onTop=\"0\" Compass=\"South\"><Text /><GridMajor AutoSpace=\"True\" Col" + "or=\"LightGray\" Pattern=\"Dash\" /><GridMinor AutoSpace=\"True\" Color=\"LightGray\" Pa" + "ttern=\"Dash\" /></Axis><Axis Max=\"25\" Min=\"5\" UnitMajor=\"5\" UnitMinor=\"2.5\" AutoM" + "ajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" _onTop=\"0\" Compass=\"W" + "est\"><Text /><GridMajor AutoSpace=\"True\" Color=\"LightGray\" Pattern=\"Dash\" /><Gri" + "dMinor AutoSpace=\"True\" Color=\"LightGray\" Pattern=\"Dash\" /></Axis><Axis Max=\"0\" " + "Min=\"0\" UnitMajor=\"0\" UnitMinor=\"0\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"T" + "rue\" AutoMin=\"True\" _onTop=\"0\" Compass=\"East\"><Text /><GridMajor AutoSpace=\"True" + "\" Color=\"LightGray\" Pattern=\"Dash\" /><GridMinor AutoSpace=\"True\" Color=\"LightGra" + "y\" Pattern=\"Dash\" /></Axis></Axes></Chart2DPropBag>"; this.errChart.Size = new System.Drawing.Size(632, 168); this.errChart.TabIndex = 2; // // trendChart // this.trendChart.DataSource = null; this.trendChart.Dock = System.Windows.Forms.DockStyle.Fill; this.trendChart.Name = "trendChart"; this.trendChart.PropBag = "<?xml version=\"1.0\"?><Chart2DPropBag Version=\"\"><StyleCollection><NamedStyle Name" + "=\"PlotArea\" ParentName=\"Area\"><StyleData>Border=Solid,ControlText,1;BackColor=Wh" + "ite;</StyleData></NamedStyle><NamedStyle Name=\"Legend\" ParentName=\"Legend.defaul" + "t\"><StyleData /></NamedStyle><NamedStyle Name=\"Footer\" ParentName=\"Control\"><Sty" + "leData>Border=None,Black,1;</StyleData></NamedStyle><NamedStyle Name=\"Area\" Pare" + "ntName=\"Area.default\"><StyleData /></NamedStyle><NamedStyle Name=\"Control\" Paren" + "tName=\"Control.default\"><StyleData>Border=Solid,Transparent,1;</StyleData></Name" + "dStyle><NamedStyle Name=\"AxisX\" ParentName=\"Area\"><StyleData>Rotation=Rotate0;Bo" + "rder=None,Transparent,1;AlignHorz=Center;BackColor=Transparent;Opaque=False;Alig" + "nVert=Bottom;</StyleData></NamedStyle><NamedStyle Name=\"AxisY\" ParentName=\"Area\"" + "><StyleData>Rotation=Rotate270;Border=None,Transparent,1;AlignHorz=Near;BackColo" + "r=Transparent;Opaque=False;AlignVert=Center;</StyleData></NamedStyle><NamedStyle" + " Name=\"LabelStyleDefault\" ParentName=\"LabelStyleDefault.default\"><StyleData /></" + "NamedStyle><NamedStyle Name=\"Legend.default\" ParentName=\"Control\"><StyleData>Bor" + "der=None,Black,1;Wrap=False;AlignVert=Top;</StyleData></NamedStyle><NamedStyle N" + "ame=\"LabelStyleDefault.default\" ParentName=\"Control\"><StyleData>Border=None,Blac" + "k,1;BackColor=Transparent;</StyleData></NamedStyle><NamedStyle Name=\"Header\" Par" + "entName=\"Control\"><StyleData>Border=None,Black,1;</StyleData></NamedStyle><Named" + "Style Name=\"Control.default\" ParentName=\"\"><StyleData>ForeColor=ControlText;Bord" + "er=None,Black,1;BackColor=Control;</StyleData></NamedStyle><NamedStyle Name=\"Axi" + "sY2\" ParentName=\"Area\"><StyleData>Rotation=Rotate90;Border=None,Transparent,1;Al" + "ignHorz=Far;BackColor=Transparent;AlignVert=Center;</StyleData></NamedStyle><Nam" + "edStyle Name=\"Area.default\" ParentName=\"Control\"><StyleData>Border=None,Black,1;" + "AlignVert=Top;</StyleData></NamedStyle></StyleCollection><ChartGroupsCollection>" + "<ChartGroup><DataSerializer Hole=\"3.4028234663852886E+38\" DefaultSet=\"True\"><Dat" + "aSeriesCollection><DataSeriesSerializer><LineStyle Color=\"DarkGoldenrod\" /><Symb" + "olStyle Color=\"Coral\" Shape=\"Box\" /><SeriesLabel>series 0</SeriesLabel><X>1;2;3;" + "4;5</X><Y>20;22;19;24;25</Y><Y1 /><Y2 /><Y3 /><DataTypes>Single;Single;Double;Do" + "uble;Double</DataTypes><DataFields>;;;;</DataFields><Tag /></DataSeriesSerialize" + "r><DataSeriesSerializer><LineStyle Color=\"DarkGray\" /><SymbolStyle Color=\"Cornfl" + "owerBlue\" Shape=\"Dot\" /><SeriesLabel>series 1</SeriesLabel><X>1;2;3;4;5</X><Y>8;" + "12;10;12;15</Y><Y1 /><Y2 /><Y3 /><DataTypes>Single;Single;Double;Double;Double</" + "DataTypes><DataFields>;;;;</DataFields><Tag /></DataSeriesSerializer><DataSeries" + "Serializer><LineStyle Color=\"DarkGreen\" /><SymbolStyle Color=\"Cornsilk\" Shape=\"T" + "ri\" /><SeriesLabel>series 2</SeriesLabel><X>1;2;3;4;5</X><Y>10;16;17;15;23</Y><Y" + "1 /><Y2 /><Y3 /><DataTypes>Single;Single;Double;Double;Double</DataTypes><DataFi" + "elds>;;;;</DataFields><Tag /></DataSeriesSerializer><DataSeriesSerializer><LineS" + "tyle Color=\"DarkKhaki\" /><SymbolStyle Color=\"Crimson\" Shape=\"Diamond\" /><SeriesL" + "abel>series 3</SeriesLabel><X>1;2;3;4;5</X><Y>16;19;15;22;18</Y><Y1 /><Y2 /><Y3 " + "/><DataTypes>Single;Single;Double;Double;Double</DataTypes><DataFields>;;;;</Dat" + "aFields><Tag /></DataSeriesSerializer></DataSeriesCollection></DataSerializer><N" + "ame>Group1</Name><Stacked>False</Stacked><ChartType>XYPlot</ChartType><Pie>Other" + "Offset=0,Start=0</Pie><Bar>ClusterOverlap=0,ClusterWidth=50</Bar><HiLoData>FillF" + "alling=True,FillTransparent=True,FullWidth=False,ShowClose=True,ShowOpen=True</H" + "iLoData><Bubble>EncodingMethod=Diameter,MaximumSize=20,MinimumSize=5</Bubble><Po" + "lar>Degrees=True,PiRatioAnnotations=True,Start=0</Polar><Radar>Degrees=True,Fill" + "ed=False,Start=0</Radar><Visible>True</Visible><ShowOutline>True</ShowOutline></" + "ChartGroup><ChartGroup><DataSerializer Hole=\"3.4028234663852886E+38\" /><Name>Gro" + "up2</Name><Stacked>False</Stacked><ChartType>XYPlot</ChartType><Pie>OtherOffset=" + "0,Start=0</Pie><Bar>ClusterOverlap=0,ClusterWidth=50</Bar><HiLoData>FillFalling=" + "True,FillTransparent=True,FullWidth=False,ShowClose=True,ShowOpen=True</HiLoData" + "><Bubble>EncodingMethod=Diameter,MaximumSize=20,MinimumSize=5</Bubble><Polar>Deg" + "rees=True,PiRatioAnnotations=True,Start=0</Polar><Radar>Degrees=True,Filled=Fals" + "e,Start=0</Radar><Visible>True</Visible><ShowOutline>True</ShowOutline></ChartGr" + "oup></ChartGroupsCollection><Header Compass=\"North\" Visible=\"False\"><Text /></He" + "ader><Footer Compass=\"South\" Visible=\"False\"><Text /></Footer><Legend Compass=\"E" + "ast\" Visible=\"False\"><Text /></Legend><ChartArea LocationDefault=\"5, -1\"><Margin" + " Left=\"1\" Right=\"1\" /></ChartArea><Axes><Axis Max=\"5\" Min=\"1\" UnitMajor=\"1\" Unit" + "Minor=\"0.5\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" _onT" + "op=\"0\" Compass=\"South\"><Text /><GridMajor AutoSpace=\"True\" Color=\"LightGray\" Pat" + "tern=\"Dash\" /><GridMinor AutoSpace=\"True\" Color=\"LightGray\" Pattern=\"Dash\" /></A" + "xis><Axis Max=\"26\" Min=\"8\" UnitMajor=\"2\" UnitMinor=\"1\" AutoMajor=\"True\" AutoMino" + "r=\"True\" AutoMax=\"True\" AutoMin=\"True\" _onTop=\"0\" Compass=\"West\"><Text /><GridMa" + "jor AutoSpace=\"True\" Color=\"LightGray\" Pattern=\"Dash\" /><GridMinor AutoSpace=\"Tr" + "ue\" Color=\"LightGray\" Pattern=\"Dash\" /></Axis><Axis Max=\"0\" Min=\"0\" UnitMajor=\"0" + "\" UnitMinor=\"0\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" " + "_onTop=\"0\" Compass=\"East\"><Text /><GridMajor AutoSpace=\"True\" Color=\"LightGray\" " + "Pattern=\"Dash\" /><GridMinor AutoSpace=\"True\" Color=\"LightGray\" Pattern=\"Dash\" />" + "</Axis></Axes></Chart2DPropBag>"; this.trendChart.Size = new System.Drawing.Size(632, 243); this.trendChart.TabIndex = 3; this.trendChart.MouseUp += new System.Windows.Forms.MouseEventHandler(this.c1Chart1_MouseUp); this.trendChart.MouseMove += new System.Windows.Forms.MouseEventHandler(this.c1Chart1_MouseMove); this.trendChart.MouseDown += new System.Windows.Forms.MouseEventHandler(this.c1Chart1_MouseDown); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(632, 433); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.trendChart, this.errChart, this.statusBar1 }); this.Menu = this.mainMenu1; this.MinimumSize = new System.Drawing.Size(400, 300); this.Name = "Form1"; this.Text = "ComponentOne Chart.Net 2D - Trend&Error Demo"; this.SizeChanged += new System.EventHandler(this.Form1_SizeChanged); this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.errChart)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.trendChart)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1)); this.panel1 = new System.Windows.Forms.Panel(); this.propertyGrid1 = new System.Windows.Forms.PropertyGrid(); this.panel2 = new System.Windows.Forms.Panel(); this.cbStacked = new System.Windows.Forms.CheckBox(); this.cbUse3D = new System.Windows.Forms.CheckBox(); this.cbLegend = new System.Windows.Forms.CheckBox(); this.cbChartType = new System.Windows.Forms.ComboBox(); this.label4 = new System.Windows.Forms.Label(); this.c1Chart1 = new C1.Win.C1Chart.C1Chart(); this.ilTextures = new System.Windows.Forms.ImageList(this.components); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.AddRange(new System.Windows.Forms.Control[] { this.propertyGrid1, this.panel2 }); this.panel1.Dock = System.Windows.Forms.DockStyle.Left; this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(200, 453); this.panel1.TabIndex = 1; // // propertyGrid1 // this.propertyGrid1.CommandsVisibleIfAvailable = true; this.propertyGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.propertyGrid1.HelpVisible = false; this.propertyGrid1.LargeButtons = false; this.propertyGrid1.LineColor = System.Drawing.SystemColors.ScrollBar; this.propertyGrid1.Location = new System.Drawing.Point(0, 72); this.propertyGrid1.Name = "propertyGrid1"; this.propertyGrid1.Size = new System.Drawing.Size(200, 381); this.propertyGrid1.TabIndex = 8; this.propertyGrid1.Text = "propertyGrid1"; this.propertyGrid1.ToolbarVisible = false; this.propertyGrid1.ViewBackColor = System.Drawing.SystemColors.Window; this.propertyGrid1.ViewForeColor = System.Drawing.SystemColors.WindowText; this.propertyGrid1.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.propertyGrid1_PropertyValueChanged); // // panel2 // this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel2.Controls.AddRange(new System.Windows.Forms.Control[] { this.cbStacked, this.cbUse3D, this.cbLegend, this.cbChartType, this.label4 }); this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(200, 72); this.panel2.TabIndex = 7; // // cbStacked // this.cbStacked.Location = new System.Drawing.Point(8, 32); this.cbStacked.Name = "cbStacked"; this.cbStacked.Size = new System.Drawing.Size(64, 24); this.cbStacked.TabIndex = 3; this.cbStacked.Text = "Stacked"; this.cbStacked.CheckedChanged += new System.EventHandler(this.cbStacked_CheckedChanged); // // cbUse3D // this.cbUse3D.Location = new System.Drawing.Point(80, 32); this.cbUse3D.Name = "cbUse3D"; this.cbUse3D.Size = new System.Drawing.Size(40, 24); this.cbUse3D.TabIndex = 4; this.cbUse3D.Text = "3D"; this.cbUse3D.CheckedChanged += new System.EventHandler(this.cbUse3D_CheckedChanged); // // cbLegend // this.cbLegend.Location = new System.Drawing.Point(120, 32); this.cbLegend.Name = "cbLegend"; this.cbLegend.Size = new System.Drawing.Size(64, 24); this.cbLegend.TabIndex = 5; this.cbLegend.Text = "Legend"; this.cbLegend.CheckedChanged += new System.EventHandler(this.cbLegend_CheckedChanged); // // cbChartType // this.cbChartType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbChartType.Items.AddRange(new object[] { "XYPlot", "Area", "Bar", "Pie" }); this.cbChartType.Location = new System.Drawing.Point(80, 8); this.cbChartType.Name = "cbChartType"; this.cbChartType.Size = new System.Drawing.Size(80, 21); this.cbChartType.TabIndex = 1; this.cbChartType.SelectedIndexChanged += new System.EventHandler(this.cbChartType_SelectedIndexChanged); // // label4 // this.label4.Location = new System.Drawing.Point(8, 8); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(64, 23); this.label4.TabIndex = 2; this.label4.Text = "Chart type:"; // // c1Chart1 // this.c1Chart1.Dock = System.Windows.Forms.DockStyle.Fill; this.c1Chart1.Location = new System.Drawing.Point(200, 0); this.c1Chart1.Name = "c1Chart1"; this.c1Chart1.PropBag = "<?xml version=\"1.0\"?><Chart2DPropBag Version=\"\"><ChartGroupsCollection><ChartGrou" + "p><ShowOutline>True</ShowOutline><Bubble>EncodingMethod=Diameter,MaximumSize=20," + "MinimumSize=5</Bubble><Polar>Degrees=True,PiRatioAnnotations=True,Start=0</Polar" + "><Stacked>False</Stacked><Radar>Degrees=True,Filled=False,Start=0</Radar><HiLoDa" + "ta>FillFalling=True,FillTransparent=True,FullWidth=False,ShowClose=True,ShowOpen" + "=True</HiLoData><Name>Group1</Name><Pie>OtherOffset=0,Start=0</Pie><Visible>True" + "</Visible><DataSerializer DefaultSet=\"True\" Hole=\"3.4028234663852886E+38\"><DataS" + "eriesCollection><DataSeriesSerializer><X>1;2;3;4;5</X><SeriesLabel>series 0</Ser" + "iesLabel><DataTypes>Single;Single;Double;Double;Double</DataTypes><Y1 /><Y2 /><Y" + "3 /><Y>20;22;19;24;25</Y><SymbolStyle Shape=\"Box\" Color=\"Coral\" /><LineStyle Pat" + "tern=\"Solid\" Color=\"DeepSkyBlue\" Thickness=\"10\" /></DataSeriesSerializer><DataSe" + "riesSerializer><X>1;2;3;4;5</X><SeriesLabel>series 1</SeriesLabel><DataTypes>Sin" + "gle;Single;Double;Double;Double</DataTypes><Y1 /><Y2 /><Y3 /><Y>8;12;10;12;15</Y" + "><SymbolStyle Shape=\"Dot\" Color=\"CornflowerBlue\" /><LineStyle Pattern=\"Solid\" Co" + "lor=\"RoyalBlue\" Thickness=\"10\" /></DataSeriesSerializer><DataSeriesSerializer><X" + ">1;2;3;4;5</X><SeriesLabel>series 2</SeriesLabel><DataTypes>Single;Single;Double" + ";Double;Double</DataTypes><Y1 /><Y2 /><Y3 /><Y>10;16;17;15;23</Y><SymbolStyle Sh" + "ape=\"Tri\" Color=\"Cornsilk\" /><LineStyle Pattern=\"Solid\" Color=\"MidnightBlue\" Thi" + "ckness=\"10\" /></DataSeriesSerializer><DataSeriesSerializer FitType=\"Spline\"><X>1" + ";2;3;4;5</X><SeriesLabel>series 3</SeriesLabel><DataTypes>Single;Single;Double;D" + "ouble;Double</DataTypes><Y1 /><Y2 /><Y3 /><Y>16;19;15;22;18</Y><SymbolStyle Shap" + "e=\"Diamond\" Color=\"Crimson\" /><LineStyle Pattern=\"Solid\" Color=\"LightSteelBlue\" " + "Thickness=\"10\" /></DataSeriesSerializer></DataSeriesCollection></DataSerializer>" + "<Use3D>False</Use3D><ChartType>XYPlot</ChartType><Bar>ClusterOverlap=0,ClusterWi" + "dth=50</Bar></ChartGroup><ChartGroup><ShowOutline>True</ShowOutline><Bubble>Enco" + "dingMethod=Diameter,MaximumSize=20,MinimumSize=5</Bubble><Polar>Degrees=True,PiR" + "atioAnnotations=True,Start=0</Polar><Stacked>False</Stacked><Radar>Degrees=True," + "Filled=False,Start=0</Radar><HiLoData>FillFalling=True,FillTransparent=True,Full" + "Width=False,ShowClose=True,ShowOpen=True</HiLoData><Name>Group2</Name><Pie>Other" + "Offset=0,Start=0</Pie><Visible>True</Visible><DataSerializer Hole=\"3.40282346638" + "52886E+38\" /><ChartType>XYPlot</ChartType><Bar>ClusterOverlap=0,ClusterWidth=50<" + "/Bar></ChartGroup></ChartGroupsCollection><Header Compass=\"North\" Visible=\"False" + "\"><Text /></Header><Axes><Axis Compass=\"South\" _onTop=\"0\" Min=\"1\" UnitMajor=\"1\" " + "Max=\"5\" UnitMinor=\"0.5\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin" + "=\"True\"><GridMajor AutoSpace=\"True\" Pattern=\"Dash\" Color=\"LightGray\" Thickness=\"" + "1\" /><GridMinor AutoSpace=\"True\" Pattern=\"Dash\" Color=\"LightGray\" Thickness=\"1\" " + "/><Text /></Axis><Axis Compass=\"West\" _onTop=\"0\" Min=\"8\" UnitMajor=\"1\" Max=\"25\" " + "UnitMinor=\"0.5\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\">" + "<GridMajor AutoSpace=\"True\" Pattern=\"Dash\" Color=\"LightGray\" Thickness=\"1\" /><Gr" + "idMinor AutoSpace=\"True\" Pattern=\"Dash\" Color=\"LightGray\" Thickness=\"1\" /><Text " + "/></Axis><Axis Compass=\"East\" _onTop=\"0\" Min=\"0\" UnitMajor=\"0\" Max=\"0\" UnitMinor" + "=\"0\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\"><GridMajor " + "AutoSpace=\"True\" Pattern=\"Dash\" Color=\"LightGray\" Thickness=\"1\" /><GridMinor Aut" + "oSpace=\"True\" Pattern=\"Dash\" Color=\"LightGray\" Thickness=\"1\" /><Text /></Axis></" + "Axes><Footer Compass=\"South\" Visible=\"False\"><Text /></Footer><Legend Orientatio" + "n=\"Auto\" Compass=\"East\" Visible=\"False\"><Text /></Legend><ChartArea Rotation=\"45" + "\" Depth=\"25\" Elevation=\"45\" /><StyleCollection><NamedStyle><StyleData>Border=Sol" + "id,ControlText,1;</StyleData><Name>PlotArea</Name><ParentName>Area</ParentName><" + "/NamedStyle><NamedStyle><StyleData /><Name>Legend</Name><ParentName>Legend.defau" + "lt</ParentName></NamedStyle><NamedStyle><StyleData>Border=None,Control,1;</Style" + "Data><Name>Footer</Name><ParentName>Control</ParentName></NamedStyle><NamedStyle" + "><StyleData /><Name>Area</Name><ParentName>Area.default</ParentName></NamedStyle" + "><NamedStyle><StyleData>Border=Solid,ControlText,1;</StyleData><Name>Control</Na" + "me><ParentName>Control.default</ParentName></NamedStyle><NamedStyle><StyleData>R" + "otation=Rotate0;Border=None,Control,1;AlignHorz=Center;BackColor=Transparent;Opa" + "que=False;AlignVert=Bottom;</StyleData><Name>AxisX</Name><ParentName>Area</Paren" + "tName></NamedStyle><NamedStyle><StyleData>Rotation=Rotate270;Border=None,Control" + ",1;AlignHorz=Near;BackColor=Transparent;Opaque=False;AlignVert=Center;</StyleDat" + "a><Name>AxisY</Name><ParentName>Area</ParentName></NamedStyle><NamedStyle><Style" + "Data /><Name>LabelStyleDefault</Name><ParentName>LabelStyleDefault.default</Pare" + "ntName></NamedStyle><NamedStyle><StyleData>Border=None,Control,1;Wrap=False;Alig" + "nVert=Top;</StyleData><Name>Legend.default</Name><ParentName>Control</ParentName" + "></NamedStyle><NamedStyle><StyleData>Border=None,Control,1;BackColor=Transparent" + ";</StyleData><Name>LabelStyleDefault.default</Name><ParentName>Control</ParentNa" + "me></NamedStyle><NamedStyle><StyleData>Border=None,Control,1;</StyleData><Name>H" + "eader</Name><ParentName>Control</ParentName></NamedStyle><NamedStyle><StyleData>" + "ForeColor=ControlText;Border=None,Control,1;BackColor=Control;</StyleData><Name>" + "Control.default</Name><ParentName /></NamedStyle><NamedStyle><StyleData>Rotation" + "=Rotate90;Border=None,Transparent,1;AlignHorz=Far;BackColor=Transparent;AlignVer" + "t=Center;</StyleData><Name>AxisY2</Name><ParentName>Area</ParentName></NamedStyl" + "e><NamedStyle><StyleData>Border=None,Control,1;AlignVert=Top;</StyleData><Name>A" + "rea.default</Name><ParentName>Control</ParentName></NamedStyle></StyleCollection" + "></Chart2DPropBag>"; this.c1Chart1.Size = new System.Drawing.Size(432, 453); this.c1Chart1.TabIndex = 2; this.c1Chart1.DrawDataSeries += new C1.Win.C1Chart.DrawDataSeriesEventHandler(this.c1Chart1_DrawDataSeries); // // ilTextures // this.ilTextures.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit; this.ilTextures.ImageSize = new System.Drawing.Size(12, 12); this.ilTextures.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ilTextures.ImageStream"))); this.ilTextures.TransparentColor = System.Drawing.Color.Green; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(632, 453); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.c1Chart1, this.panel1 }); this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "ComponentOne Chart for .NET 2D - CustomBrushes Chart Demo"; this.Load += new System.EventHandler(this.Form1_Load); this.panel1.ResumeLayout(false); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.c1Chart1 = new C1.Win.C1Chart.C1Chart(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.radStepFreq = new System.Windows.Forms.RadioButton(); this.radFreq = new System.Windows.Forms.RadioButton(); this.radHistogram = new System.Windows.Forms.RadioButton(); this.txtDescription = new System.Windows.Forms.TextBox(); this.chkShowNormal = new System.Windows.Forms.CheckBox(); this.txtDistanceStats = new System.Windows.Forms.TextBox(); this.chkHideData = new System.Windows.Forms.CheckBox(); this.chkHideLabels = new System.Windows.Forms.CheckBox(); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).BeginInit(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // c1Chart1 // this.c1Chart1.DataSource = null; this.c1Chart1.Location = new System.Drawing.Point(176, 5); this.c1Chart1.Name = "c1Chart1"; this.c1Chart1.PropBag = "<?xml version=\"1.0\"?><Chart2DPropBag Version=\"\"><StyleCollection><NamedStyle Name" + "=\"Area.default\" ParentName=\"Control\" StyleData=\"Border=None,Transparent,1;AlignV" + "ert=Top;\" /><NamedStyle Name=\"Control\" ParentName=\"Control.default\" /><NamedStyl" + "e Name=\"AxisY2\" ParentName=\"Area\" StyleData=\"Rotation=Rotate90;AlignHorz=Far;Ali" + "gnVert=Center;\" /><NamedStyle Name=\"Footer\" ParentName=\"Control\" StyleData=\"Bord" + "er=None,Transparent,1;\" /><NamedStyle Name=\"Header\" ParentName=\"Control\" StyleDa" + "ta=\"Border=None,Transparent,1;\" /><NamedStyle Name=\"Legend\" ParentName=\"Legend.d" + "efault\" /><NamedStyle Name=\"Area\" ParentName=\"Area.default\" /><NamedStyle Name=\"" + "LabelStyleDefault\" ParentName=\"LabelStyleDefault.default\" /><NamedStyle Name=\"La" + "belStyleDefault.default\" ParentName=\"Control\" StyleData=\"Border=None,Transparent" + ",1;BackColor=Transparent;\" /><NamedStyle Name=\"PlotArea\" ParentName=\"Area\" Style" + "Data=\"Border=None,Transparent,1;\" /><NamedStyle Name=\"Control.default\" ParentNam" + "e=\"\" StyleData=\"ForeColor=ControlText;Border=None,Transparent,1;BackColor=Contro" + "l;\" /><NamedStyle Name=\"Legend.default\" ParentName=\"Control\" StyleData=\"Border=N" + "one,Transparent,1;Wrap=False;AlignVert=Top;\" /><NamedStyle Name=\"AxisY\" ParentNa" + "me=\"Area\" StyleData=\"Rotation=Rotate270;AlignHorz=Near;AlignVert=Center;\" /><Nam" + "edStyle Name=\"AxisX\" ParentName=\"Area\" StyleData=\"Rotation=Rotate0;AlignHorz=Cen" + "ter;AlignVert=Bottom;\" /></StyleCollection><ChartGroupsCollection><ChartGroup Na" + "me=\"Group1\"><DataSerializer DefaultSet=\"True\"><DataSeriesCollection><DataSeriesS" + "erializer><LineStyle Color=\"DarkGoldenrod\" /><SymbolStyle Color=\"Coral\" Shape=\"B" + "ox\" /><SeriesLabel>series 0</SeriesLabel><X>1;2;3;4;5</X><Y>20;22;19;24;25</Y><D" + "ataTypes>Single;Single;Double;Double;Double</DataTypes><DataFields>;;;;</DataFie" + "lds><FillStyle /><Histogram /></DataSeriesSerializer><DataSeriesSerializer><Line" + "Style Color=\"DarkGray\" /><SymbolStyle Color=\"CornflowerBlue\" Shape=\"Dot\" /><Seri" + "esLabel>series 1</SeriesLabel><X>1;2;3;4;5</X><Y>8;12;10;12;15</Y><DataTypes>Sin" + "gle;Single;Double;Double;Double</DataTypes><DataFields>;;;;</DataFields><FillSty" + "le /><Histogram /></DataSeriesSerializer><DataSeriesSerializer><LineStyle Color=" + "\"DarkGreen\" /><SymbolStyle Color=\"Cornsilk\" Shape=\"Tri\" /><SeriesLabel>series 2<" + "/SeriesLabel><X>1;2;3;4;5</X><Y>10;16;17;15;23</Y><DataTypes>Single;Single;Doubl" + "e;Double;Double</DataTypes><DataFields>;;;;</DataFields><FillStyle /><Histogram " + "/></DataSeriesSerializer><DataSeriesSerializer><LineStyle Color=\"DarkKhaki\" /><S" + "ymbolStyle Color=\"Crimson\" Shape=\"Diamond\" /><SeriesLabel>series 3</SeriesLabel>" + "<X>1;2;3;4;5</X><Y>16;19;15;22;18</Y><DataTypes>Single;Single;Double;Double;Doub" + "le</DataTypes><DataFields>;;;;</DataFields><FillStyle /><Histogram /></DataSerie" + "sSerializer></DataSeriesCollection></DataSerializer><Histogram><NormalDisplay><F" + "illStyle Color1=\"Transparent\" /></NormalDisplay></Histogram></ChartGroup><ChartG" + "roup Name=\"Group2\"><DataSerializer /><Histogram><NormalDisplay><FillStyle Color1" + "=\"Transparent\" /></NormalDisplay></Histogram></ChartGroup></ChartGroupsCollectio" + "n><Header Compass=\"North\" /><Footer Compass=\"South\" /><Legend Compass=\"East\" Vis" + "ible=\"False\" /><ChartArea /><Axes><Axis Max=\"5\" Min=\"1\" UnitMajor=\"1\" UnitMinor=" + "\"0.5\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" Compass=\"S" + "outh\"><GridMajor /><GridMinor /></Axis><Axis Max=\"26\" Min=\"8\" UnitMajor=\"2\" Unit" + "Minor=\"1\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" Compas" + "s=\"West\"><GridMajor /><GridMinor /></Axis><Axis Max=\"0\" Min=\"0\" UnitMajor=\"0\" Un" + "itMinor=\"0\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" Comp" + "ass=\"East\"><GridMajor /><GridMinor /></Axis></Axes></Chart2DPropBag>"; this.c1Chart1.Size = new System.Drawing.Size(448, 443); this.c1Chart1.TabIndex = 0; // // groupBox1 // this.groupBox1.Controls.AddRange(new System.Windows.Forms.Control[] { this.radStepFreq, this.radFreq, this.radHistogram }); this.groupBox1.Location = new System.Drawing.Point(8, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(144, 72); this.groupBox1.TabIndex = 1; this.groupBox1.TabStop = false; // // radStepFreq // this.radStepFreq.Location = new System.Drawing.Point(8, 48); this.radStepFreq.Name = "radStepFreq"; this.radStepFreq.Size = new System.Drawing.Size(128, 16); this.radStepFreq.TabIndex = 2; this.radStepFreq.Text = "Stepped Frequency"; this.radStepFreq.CheckedChanged += new System.EventHandler(this.RadioCheckedChanged); // // radFreq // this.radFreq.Location = new System.Drawing.Point(8, 32); this.radFreq.Name = "radFreq"; this.radFreq.Size = new System.Drawing.Size(96, 16); this.radFreq.TabIndex = 1; this.radFreq.Text = "Frequency"; this.radFreq.CheckedChanged += new System.EventHandler(this.RadioCheckedChanged); // // radHistogram // this.radHistogram.Checked = true; this.radHistogram.Location = new System.Drawing.Point(8, 16); this.radHistogram.Name = "radHistogram"; this.radHistogram.Size = new System.Drawing.Size(96, 16); this.radHistogram.TabIndex = 0; this.radHistogram.TabStop = true; this.radHistogram.Text = "Histogram"; this.radHistogram.CheckedChanged += new System.EventHandler(this.RadioCheckedChanged); // // txtDescription // this.txtDescription.Location = new System.Drawing.Point(8, 232); this.txtDescription.Multiline = true; this.txtDescription.Name = "txtDescription"; this.txtDescription.ReadOnly = true; this.txtDescription.Size = new System.Drawing.Size(160, 216); this.txtDescription.TabIndex = 2; this.txtDescription.Text = ""; // // chkShowNormal // this.chkShowNormal.Location = new System.Drawing.Point(16, 80); this.chkShowNormal.Name = "chkShowNormal"; this.chkShowNormal.Size = new System.Drawing.Size(128, 16); this.chkShowNormal.TabIndex = 3; this.chkShowNormal.Text = "Show Normal Curve"; this.chkShowNormal.CheckedChanged += new System.EventHandler(this.chkShowNormal_CheckedChanged); // // txtDistanceStats // this.txtDistanceStats.BorderStyle = System.Windows.Forms.BorderStyle.None; this.txtDistanceStats.Location = new System.Drawing.Point(8, 152); this.txtDistanceStats.Multiline = true; this.txtDistanceStats.Name = "txtDistanceStats"; this.txtDistanceStats.ReadOnly = true; this.txtDistanceStats.Size = new System.Drawing.Size(160, 72); this.txtDistanceStats.TabIndex = 4; this.txtDistanceStats.Text = "Distance Statistics"; // // chkHideData // this.chkHideData.Location = new System.Drawing.Point(16, 104); this.chkHideData.Name = "chkHideData"; this.chkHideData.Size = new System.Drawing.Size(128, 16); this.chkHideData.TabIndex = 5; this.chkHideData.Text = "Hide Raw Data"; this.chkHideData.CheckedChanged += new System.EventHandler(this.chkHideData_CheckedChanged); // // chkHideLabels // this.chkHideLabels.Location = new System.Drawing.Point(16, 128); this.chkHideLabels.Name = "chkHideLabels"; this.chkHideLabels.Size = new System.Drawing.Size(128, 16); this.chkHideLabels.TabIndex = 6; this.chkHideLabels.Text = "Hide Data Labels"; this.chkHideLabels.CheckedChanged += new System.EventHandler(this.chkHideLabels_CheckedChanged); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(632, 453); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.chkHideLabels, this.chkHideData, this.txtDistanceStats, this.txtDescription, this.groupBox1, this.c1Chart1, this.chkShowNormal }); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).EndInit(); this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.panel1 = new System.Windows.Forms.Panel(); this.button1 = new System.Windows.Forms.Button(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.chartCpuHistory = new C1.Win.C1Chart.C1Chart(); this.timer1 = new System.Timers.Timer(); this.performanceCounter1 = new System.Diagnostics.PerformanceCounter(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.chartCpuUsage = new C1.Win.C1Chart.C1Chart(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.chartCpuHistory)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.timer1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.performanceCounter1)).BeginInit(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.chartCpuUsage)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.BackColor = System.Drawing.Color.White; this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel1.Controls.Add(this.button1); this.panel1.Controls.Add(this.pictureBox1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(616, 56); this.panel1.TabIndex = 2; // // button1 // this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.button1.BackColor = System.Drawing.SystemColors.InactiveCaption; this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button1.ForeColor = System.Drawing.Color.DarkSlateGray; this.button1.Location = new System.Drawing.Point(491, 10); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(104, 24); this.button1.TabIndex = 1; this.button1.Text = "Visit Web Site"; this.button1.UseVisualStyleBackColor = false; this.button1.Click += new System.EventHandler(this.button1_Click); // // pictureBox1 // this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); this.pictureBox1.Location = new System.Drawing.Point(31, 3); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(143, 50); this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; this.pictureBox1.TabIndex = 0; this.pictureBox1.TabStop = false; // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.chartCpuHistory); this.groupBox1.ForeColor = System.Drawing.Color.RoyalBlue; this.groupBox1.Location = new System.Drawing.Point(144, 72); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(456, 248); this.groupBox1.TabIndex = 3; this.groupBox1.TabStop = false; this.groupBox1.Text = "CPU Usage History"; // // chartCpuHistory // this.chartCpuHistory.Dock = System.Windows.Forms.DockStyle.Fill; this.chartCpuHistory.ForeColor = System.Drawing.Color.RoyalBlue; this.chartCpuHistory.Location = new System.Drawing.Point(3, 16); this.chartCpuHistory.Name = "chartCpuHistory"; this.chartCpuHistory.PropBag = resources.GetString("chartCpuHistory.PropBag"); this.chartCpuHistory.Size = new System.Drawing.Size(450, 229); this.chartCpuHistory.TabIndex = 0; // // timer1 // this.timer1.Interval = 1000D; this.timer1.SynchronizingObject = this; this.timer1.Elapsed += new System.Timers.ElapsedEventHandler(this.timer1_Elapsed); // // performanceCounter1 // this.performanceCounter1.CategoryName = "Processor"; this.performanceCounter1.CounterName = "% Processor Time"; this.performanceCounter1.InstanceName = "_Total"; // // groupBox2 // this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.groupBox2.Controls.Add(this.chartCpuUsage); this.groupBox2.ForeColor = System.Drawing.Color.RoyalBlue; this.groupBox2.Location = new System.Drawing.Point(16, 72); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(112, 248); this.groupBox2.TabIndex = 4; this.groupBox2.TabStop = false; this.groupBox2.Text = "CPU Usage"; // // chartCpuUsage // this.chartCpuUsage.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.chartCpuUsage.ForeColor = System.Drawing.Color.RoyalBlue; this.chartCpuUsage.Location = new System.Drawing.Point(16, 32); this.chartCpuUsage.Name = "chartCpuUsage"; this.chartCpuUsage.PropBag = resources.GetString("chartCpuUsage.PropBag"); this.chartCpuUsage.Size = new System.Drawing.Size(80, 200); this.chartCpuUsage.TabIndex = 5; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(616, 334); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Controls.Add(this.panel1); this.MinimumSize = new System.Drawing.Size(450, 350); this.Name = "Form1"; this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show; this.Text = "ComponentOne Chart for .NET Demo- CPU Usage"; this.TopMost = true; this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.chartCpuHistory)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.timer1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.performanceCounter1)).EndInit(); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.chartCpuUsage)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.c1Chart1 = new C1.Win.C1Chart.C1Chart(); this.zoneSelect = new System.Windows.Forms.CheckedListBox(); this.labDescription = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.propertyGrid1 = new System.Windows.Forms.PropertyGrid(); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).BeginInit(); this.SuspendLayout(); // // c1Chart1 // this.c1Chart1.BackColor = System.Drawing.Color.WhiteSmoke; this.c1Chart1.DataSource = null; this.c1Chart1.Location = new System.Drawing.Point(250, 0); this.c1Chart1.Name = "c1Chart1"; this.c1Chart1.PropBag = "<?xml version=\"1.0\"?><Chart2DPropBag Version=\"\"><StyleCollection><NamedStyle Name" + "=\"PlotArea\" ParentName=\"Area\" StyleData=\"Border=None,Transparent,1;\" /><NamedSty" + "le Name=\"Legend\" ParentName=\"Legend.default\" /><NamedStyle Name=\"Footer\" ParentN" + "ame=\"Control\" StyleData=\"Border=None,Transparent,1;\" /><NamedStyle Name=\"Area\" P" + "arentName=\"Area.default\" /><NamedStyle Name=\"Control\" ParentName=\"Control.defaul" + "t\" StyleData=\"BackColor=WhiteSmoke;\" /><NamedStyle Name=\"AxisX\" ParentName=\"Area" + "\" StyleData=\"Rotation=Rotate0;AlignHorz=Center;AlignVert=Bottom;\" /><NamedStyle " + "Name=\"AxisY\" ParentName=\"Area\" StyleData=\"Rotation=Rotate270;AlignHorz=Near;Alig" + "nVert=Center;\" /><NamedStyle Name=\"LabelStyleDefault\" ParentName=\"LabelStyleDefa" + "ult.default\" /><NamedStyle Name=\"Legend.default\" ParentName=\"Control\" StyleData=" + "\"Border=None,Transparent,1;Wrap=False;AlignVert=Top;\" /><NamedStyle Name=\"LabelS" + "tyleDefault.default\" ParentName=\"Control\" StyleData=\"Border=None,Transparent,1;B" + "ackColor=Transparent;\" /><NamedStyle Name=\"Header\" ParentName=\"Control\" StyleDat" + "a=\"Border=None,Transparent,1;\" /><NamedStyle Name=\"Control.default\" ParentName=\"" + "\" StyleData=\"ForeColor=ControlText;Border=None,Transparent,1;BackColor=Control;\"" + " /><NamedStyle Name=\"AxisY2\" ParentName=\"Area\" StyleData=\"Rotation=Rotate90;Alig" + "nHorz=Far;AlignVert=Center;\" /><NamedStyle Name=\"Area.default\" ParentName=\"Contr" + "ol\" StyleData=\"Border=None,Transparent,1;AlignVert=Top;\" /></StyleCollection><Ch" + "artGroupsCollection><ChartGroup Name=\"Group1\"><DataSerializer DefaultSet=\"True\">" + "<DataSeriesCollection><DataSeriesSerializer><LineStyle Color=\"DarkGoldenrod\" /><" + "SymbolStyle Color=\"Coral\" Shape=\"Box\" /><SeriesLabel>series 0</SeriesLabel><X>1;" + "2;3;4;5</X><Y>20;22;19;24;25</Y><DataTypes>Single;Single;Double;Double;Double</D" + "ataTypes><DataFields>;;;;</DataFields><FillStyle /></DataSeriesSerializer><DataS" + "eriesSerializer><LineStyle Color=\"DarkGray\" /><SymbolStyle Color=\"CornflowerBlue" + "\" Shape=\"Dot\" /><SeriesLabel>series 1</SeriesLabel><X>1;2;3;4;5</X><Y>8;12;10;12" + ";15</Y><DataTypes>Single;Single;Double;Double;Double</DataTypes><DataFields>;;;;" + "</DataFields><FillStyle /></DataSeriesSerializer><DataSeriesSerializer><LineStyl" + "e Color=\"DarkGreen\" /><SymbolStyle Color=\"Cornsilk\" Shape=\"Tri\" /><SeriesLabel>s" + "eries 2</SeriesLabel><X>1;2;3;4;5</X><Y>10;16;17;15;23</Y><DataTypes>Single;Sing" + "le;Double;Double;Double</DataTypes><DataFields>;;;;</DataFields><FillStyle /></D" + "ataSeriesSerializer><DataSeriesSerializer><LineStyle Color=\"DarkKhaki\" /><Symbol" + "Style Color=\"Crimson\" Shape=\"Diamond\" /><SeriesLabel>series 3</SeriesLabel><X>1;" + "2;3;4;5</X><Y>16;19;15;22;18</Y><DataTypes>Single;Single;Double;Double;Double</D" + "ataTypes><DataFields>;;;;</DataFields><FillStyle /></DataSeriesSerializer></Data" + "SeriesCollection></DataSerializer></ChartGroup><ChartGroup Name=\"Group2\"><DataSe" + "rializer /></ChartGroup></ChartGroupsCollection><Header Compass=\"North\" /><Foote" + "r Compass=\"South\" /><Legend Compass=\"East\" Visible=\"False\" /><ChartArea /><Axes>" + "<Axis Max=\"5\" Min=\"1\" UnitMajor=\"1\" UnitMinor=\"0.5\" AutoMajor=\"True\" AutoMinor=\"" + "True\" AutoMax=\"True\" AutoMin=\"True\" Compass=\"South\"><GridMajor /><GridMinor /></" + "Axis><Axis Max=\"25\" Min=\"8\" UnitMajor=\"1\" UnitMinor=\"0.5\" AutoMajor=\"True\" AutoM" + "inor=\"True\" AutoMax=\"True\" AutoMin=\"True\" Compass=\"West\"><GridMajor /><GridMinor" + " /></Axis><Axis Max=\"0\" Min=\"0\" UnitMajor=\"0\" UnitMinor=\"0\" AutoMajor=\"True\" Aut" + "oMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" Compass=\"East\"><GridMajor /><GridMin" + "or /></Axis></Axes></Chart2DPropBag>"; this.c1Chart1.Size = new System.Drawing.Size(424, 448); this.c1Chart1.TabIndex = 0; this.c1Chart1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.c1Chart1_MouseMove); // // zoneSelect // this.zoneSelect.BackColor = System.Drawing.SystemColors.Control; this.zoneSelect.Items.AddRange(new object[] { "AlarmZone 0 (Rectangle)", "AlarmZone 1 (Ellipse)", "AlarmZone 2 (Polygon Coordinates)", "AlarmZone 3 (Polygon DataSeries)", "AlarmZone 4 (Fixed Size)" }); this.zoneSelect.Location = new System.Drawing.Point(8, 56); this.zoneSelect.Name = "zoneSelect"; this.zoneSelect.Size = new System.Drawing.Size(224, 79); this.zoneSelect.TabIndex = 5; this.zoneSelect.SelectedIndexChanged += new System.EventHandler(this.zoneSelect_SelectedIndexChanged); this.zoneSelect.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.zoneSelect_ItemCheck); // // labDescription // this.labDescription.Location = new System.Drawing.Point(8, 152); this.labDescription.Name = "labDescription"; this.labDescription.Size = new System.Drawing.Size(224, 64); this.labDescription.TabIndex = 6; // // label2 // this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label2.Location = new System.Drawing.Point(8, 8); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(224, 48); this.label2.TabIndex = 7; this.label2.Text = "Check an AlarmZone entry to show it on the chart. Select an AlarmZone for short " + "description and to explore its properties."; // // propertyGrid1 // this.propertyGrid1.CommandsVisibleIfAvailable = true; this.propertyGrid1.LargeButtons = false; this.propertyGrid1.LineColor = System.Drawing.SystemColors.ScrollBar; this.propertyGrid1.Location = new System.Drawing.Point(8, 224); this.propertyGrid1.Name = "propertyGrid1"; this.propertyGrid1.Size = new System.Drawing.Size(232, 224); this.propertyGrid1.TabIndex = 8; this.propertyGrid1.Text = "propertyGrid1"; this.propertyGrid1.ViewBackColor = System.Drawing.SystemColors.Window; this.propertyGrid1.ViewForeColor = System.Drawing.SystemColors.WindowText; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(688, 469); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.propertyGrid1, this.label2, this.labDescription, this.zoneSelect, this.c1Chart1 }); this.Location = new System.Drawing.Point(100, 200); this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.Manual; this.Text = "AlarmZones"; this.Resize += new System.EventHandler(this.Form1_Resize); this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.grpChartTypes = new System.Windows.Forms.GroupBox(); this.radioPlot = new System.Windows.Forms.RadioButton(); this.radioBar = new System.Windows.Forms.RadioButton(); this.radioPie = new System.Windows.Forms.RadioButton(); this.radioArea = new System.Windows.Forms.RadioButton(); this.radioHiLoOpCl = new System.Windows.Forms.RadioButton(); this.radioCandle = new System.Windows.Forms.RadioButton(); this.radioPolar = new System.Windows.Forms.RadioButton(); this.radioRadar = new System.Windows.Forms.RadioButton(); this.radioBubble = new System.Windows.Forms.RadioButton(); this.mainMenu1 = new System.Windows.Forms.MainMenu(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.menuFileExit = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.menuHelpAbout = new System.Windows.Forms.MenuItem(); this.c1Chart1 = new C1.Win.C1Chart.C1Chart(); this.grpStacking = new System.Windows.Forms.GroupBox(); this.checkStacked = new System.Windows.Forms.CheckBox(); this.grpChartTypes.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).BeginInit(); this.grpStacking.SuspendLayout(); this.SuspendLayout(); // // grpChartTypes // this.grpChartTypes.Controls.AddRange(new System.Windows.Forms.Control[] { this.radioPlot, this.radioBar, this.radioPie, this.radioArea, this.radioHiLoOpCl, this.radioCandle, this.radioPolar, this.radioRadar, this.radioBubble }); this.grpChartTypes.FlatStyle = System.Windows.Forms.FlatStyle.System; this.grpChartTypes.Name = "grpChartTypes"; this.grpChartTypes.Size = new System.Drawing.Size(592, 40); this.grpChartTypes.TabIndex = 0; this.grpChartTypes.TabStop = false; this.grpChartTypes.Text = "Chart Types:"; // // radioPlot // this.radioPlot.Checked = true; this.radioPlot.Location = new System.Drawing.Point(8, 16); this.radioPlot.Name = "radioPlot"; this.radioPlot.Size = new System.Drawing.Size(48, 16); this.radioPlot.TabIndex = 0; this.radioPlot.TabStop = true; this.radioPlot.Text = "Plot"; this.radioPlot.CheckedChanged += new System.EventHandler(this.radioChartTypeChanged); // // radioBar // this.radioBar.Location = new System.Drawing.Point(56, 16); this.radioBar.Name = "radioBar"; this.radioBar.Size = new System.Drawing.Size(48, 16); this.radioBar.TabIndex = 1; this.radioBar.Text = "Bar"; this.radioBar.CheckedChanged += new System.EventHandler(this.radioChartTypeChanged); // // radioPie // this.radioPie.Location = new System.Drawing.Point(104, 16); this.radioPie.Name = "radioPie"; this.radioPie.Size = new System.Drawing.Size(40, 16); this.radioPie.TabIndex = 2; this.radioPie.Text = "Pie"; this.radioPie.CheckedChanged += new System.EventHandler(this.radioChartTypeChanged); // // radioArea // this.radioArea.Location = new System.Drawing.Point(152, 16); this.radioArea.Name = "radioArea"; this.radioArea.Size = new System.Drawing.Size(48, 16); this.radioArea.TabIndex = 3; this.radioArea.Text = "Area"; this.radioArea.CheckedChanged += new System.EventHandler(this.radioChartTypeChanged); // // radioHiLoOpCl // this.radioHiLoOpCl.Location = new System.Drawing.Point(200, 16); this.radioHiLoOpCl.Name = "radioHiLoOpCl"; this.radioHiLoOpCl.Size = new System.Drawing.Size(136, 16); this.radioHiLoOpCl.TabIndex = 4; this.radioHiLoOpCl.Text = "High-Low-Open-Close"; this.radioHiLoOpCl.CheckedChanged += new System.EventHandler(this.radioChartTypeChanged); // // radioCandle // this.radioCandle.Location = new System.Drawing.Point(336, 16); this.radioCandle.Name = "radioCandle"; this.radioCandle.Size = new System.Drawing.Size(64, 16); this.radioCandle.TabIndex = 5; this.radioCandle.Text = "Candle"; this.radioCandle.CheckedChanged += new System.EventHandler(this.radioChartTypeChanged); // // radioPolar // this.radioPolar.Location = new System.Drawing.Point(400, 16); this.radioPolar.Name = "radioPolar"; this.radioPolar.Size = new System.Drawing.Size(56, 16); this.radioPolar.TabIndex = 6; this.radioPolar.Text = "Polar"; this.radioPolar.CheckedChanged += new System.EventHandler(this.radioChartTypeChanged); // // radioRadar // this.radioRadar.Location = new System.Drawing.Point(456, 16); this.radioRadar.Name = "radioRadar"; this.radioRadar.Size = new System.Drawing.Size(64, 16); this.radioRadar.TabIndex = 7; this.radioRadar.Text = "Radar"; this.radioRadar.CheckedChanged += new System.EventHandler(this.radioChartTypeChanged); // // radioBubble // this.radioBubble.Location = new System.Drawing.Point(520, 16); this.radioBubble.Name = "radioBubble"; this.radioBubble.Size = new System.Drawing.Size(64, 16); this.radioBubble.TabIndex = 8; this.radioBubble.Text = "Bubble"; this.radioBubble.CheckedChanged += new System.EventHandler(this.radioChartTypeChanged); // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1, this.menuItem2 }); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuFileExit }); this.menuItem1.Text = "File"; // // menuFileExit // this.menuFileExit.Index = 0; this.menuFileExit.Text = "Exit"; this.menuFileExit.Click += new System.EventHandler(this.menuFileExit_Click); // // menuItem2 // this.menuItem2.Index = 1; this.menuItem2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuHelpAbout }); this.menuItem2.Text = "Help"; // // menuHelpAbout // this.menuHelpAbout.Index = 0; this.menuHelpAbout.Text = "About"; this.menuHelpAbout.Click += new System.EventHandler(this.menuHelpAbout_Click); // // c1Chart1 // this.c1Chart1.BackColor = System.Drawing.Color.LightSalmon; this.c1Chart1.Location = new System.Drawing.Point(16, 56); this.c1Chart1.Name = "c1Chart1"; this.c1Chart1.PropBag = "<?xml version=\"1.0\"?><Chart2DPropBag Version=\"\"><Axes><Axis Max=\"5\" Min=\"1\" UnitM" + "ajor=\"1\" UnitMinor=\"0.5\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMi" + "n=\"True\" _onTop=\"0\" Compass=\"South\"><GridMajor AutoSpace=\"True\" Thickness=\"1\" Co" + "lor=\"LightGray\" Pattern=\"Dash\" /><GridMinor AutoSpace=\"True\" Thickness=\"1\" Color" + "=\"LightGray\" Pattern=\"Dash\" /><Text /></Axis><Axis Max=\"25\" Min=\"8\" UnitMajor=\"5" + "\" UnitMinor=\"2.5\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True" + "\" _onTop=\"0\" Compass=\"West\"><GridMajor AutoSpace=\"True\" Thickness=\"1\" Color=\"Lig" + "htGray\" Pattern=\"Dash\" /><GridMinor AutoSpace=\"True\" Thickness=\"1\" Color=\"LightG" + "ray\" Pattern=\"Dash\" /><Text /></Axis><Axis Max=\"0\" Min=\"0\" UnitMajor=\"0\" UnitMin" + "or=\"0\" AutoMajor=\"True\" AutoMinor=\"True\" AutoMax=\"True\" AutoMin=\"True\" _onTop=\"0" + "\" Compass=\"East\"><GridMajor AutoSpace=\"True\" Thickness=\"1\" Color=\"LightGray\" Pat" + "tern=\"Dash\" /><GridMinor AutoSpace=\"True\" Thickness=\"1\" Color=\"LightGray\" Patter" + "n=\"Dash\" /><Text /></Axis></Axes><Header Compass=\"North\"><Text>header text</Text" + "></Header><ChartGroupsCollection><ChartGroup><Polar>Degrees=False,PiRatioAnnotat" + "ions=True,Start=0</Polar><Radar>Degrees=True,Filled=False,Start=0</Radar><Stacke" + "d>False</Stacked><HiLoData>FillFalling=True,FillTransparent=True,FullWidth=False" + ",ShowClose=True,ShowOpen=True</HiLoData><ChartType>XYPlot</ChartType><Bubble>Enc" + "odingMethod=Diameter,MaximumSize=20,MinimumSize=5</Bubble><Name>Group1</Name><Da" + "taSerializer DefaultSet=\"True\"><DataSeriesCollection><DataSeriesSerializer><Y>20" + ";22;19;24;25</Y><LineStyle Thickness=\"1\" Color=\"DarkGoldenrod\" Pattern=\"Solid\" /" + "><SymbolStyle Shape=\"Box\" Size=\"8\" Color=\"Coral\" /><SeriesLabel>0</SeriesLabel><" + "DataTypes>Single;Single;Single;Single;Single</DataTypes><Y1>8;12;10;12;15</Y1><X" + ">1;2;3;4;5</X><Y3>16;19;15;22;18</Y3><Y2>10;16;17;15;23</Y2></DataSeriesSerializ" + "er><DataSeriesSerializer><Y>8;12;10;12;15</Y><LineStyle Thickness=\"1\" Color=\"Dar" + "kGray\" Pattern=\"Solid\" /><SymbolStyle Shape=\"Dot\" Size=\"8\" Color=\"CornflowerBlue" + "\" /><SeriesLabel>1</SeriesLabel><DataTypes>Single;Single;Single;Single;Single</D" + "ataTypes><Y1>10;16;17;15;23</Y1><X>1;2;3;4;5</X><Y3 /><Y2 /></DataSeriesSerializ" + "er><DataSeriesSerializer><Y>10;16;17;15;23</Y><LineStyle Thickness=\"1\" Color=\"Da" + "rkGreen\" Pattern=\"Solid\" /><SymbolStyle Shape=\"Tri\" Size=\"8\" Color=\"DarkOliveGre" + "en\" /><SeriesLabel>2</SeriesLabel><DataTypes>Single;Single;Single;Single;Single<" + "/DataTypes><Y1 /><X>1;2;3;4;5</X><Y3 /><Y2 /></DataSeriesSerializer><DataSeriesS" + "erializer><Y>16;19;15;22;18</Y><LineStyle Thickness=\"1\" Color=\"DarkKhaki\" Patter" + "n=\"Solid\" /><SymbolStyle Shape=\"Diamond\" Size=\"8\" Color=\"Crimson\" /><SeriesLabel" + ">3</SeriesLabel><DataTypes>Single;Single;Single;Single;Single</DataTypes><Y1 /><" + "X>1;2;3;4;5</X><Y3 /><Y2 /></DataSeriesSerializer></DataSeriesCollection></DataS" + "erializer><ShowOutline>True</ShowOutline><Bar>ClusterOverlap=0,ClusterWidth=50</" + "Bar><Pie>OtherOffset=0,Start=0</Pie></ChartGroup><ChartGroup><Polar>Degrees=True" + ",PiRatioAnnotations=True,Start=0</Polar><Radar>Degrees=True,Filled=False,Start=0" + "</Radar><Stacked>False</Stacked><HiLoData>FillFalling=True,FillTransparent=True," + "FullWidth=False,ShowClose=True,ShowOpen=True</HiLoData><ChartType>XYPlot</ChartT" + "ype><Bubble>EncodingMethod=Diameter,MaximumSize=20,MinimumSize=5</Bubble><Name>G" + "roup2</Name><DataSerializer /><ShowOutline>True</ShowOutline><Bar>ClusterOverlap" + "=0,ClusterWidth=50</Bar><Pie>OtherOffset=0,Start=0</Pie></ChartGroup></ChartGrou" + "psCollection><StyleCollection><NamedStyle><Name>PlotArea</Name><ParentName>Area<" + "/ParentName><StyleData>Border=Solid,ControlText,1;BackColor=Cornsilk;</StyleData" + "></NamedStyle><NamedStyle><Name>Legend</Name><ParentName>Legend.default</ParentN" + "ame><StyleData>Border=InsetBevel,Cornsilk,3;AlignHorz=Center;BackColor=Cornsilk;" + "Font=Microsoft Sans Serif, 10pt, style=Bold;</StyleData></NamedStyle><NamedStyle" + "><Name>Footer</Name><ParentName>Control</ParentName><StyleData>Border=InsetBevel" + ",Control,3;BackColor=Gainsboro;Font=Microsoft Sans Serif, 10pt, style=Bold;</Sty" + "leData></NamedStyle><NamedStyle><Name>Area</Name><ParentName>Area.default</Paren" + "tName><StyleData /></NamedStyle><NamedStyle><Name>Control</Name><ParentName>Cont" + "rol.default</ParentName><StyleData>BackColor=LightSalmon;</StyleData></NamedStyl" + "e><NamedStyle><Name>AxisX</Name><ParentName>Area</ParentName><StyleData>Rotation" + "=Rotate0;Border=None,Control,1;AlignHorz=Center;BackColor=Transparent;AlignVert=" + "Bottom;</StyleData></NamedStyle><NamedStyle><Name>AxisY</Name><ParentName>Area</" + "ParentName><StyleData>Rotation=Rotate270;Border=None,Control,1;AlignHorz=Near;Ba" + "ckColor=Transparent;AlignVert=Center;</StyleData></NamedStyle><NamedStyle><Name>" + "LabelStyleDefault</Name><ParentName>LabelStyleDefault.default</ParentName><Style" + "Data /></NamedStyle><NamedStyle><Name>Legend.default</Name><ParentName>Control</" + "ParentName><StyleData>Border=None,Black,1;Wrap=False;AlignVert=Top;</StyleData><" + "/NamedStyle><NamedStyle><Name>LabelStyleDefault.default</Name><ParentName>Contro" + "l</ParentName><StyleData>Border=None,Control,1;BackColor=Transparent;</StyleData" + "></NamedStyle><NamedStyle><Name>Header</Name><ParentName>Control</ParentName><St" + "yleData>Border=Inset,Gainsboro,1;AlignHorz=Center;BackColor=Gainsboro;Font=Micro" + "soft Sans Serif, 10pt, style=Bold;</StyleData></NamedStyle><NamedStyle><Name>Con" + "trol.default</Name><ParentName /><StyleData>ForeColor=ControlText;Border=None,Co" + "ntrol,1;BackColor=Control;</StyleData></NamedStyle><NamedStyle><Name>AxisY2</Nam" + "e><ParentName>Area</ParentName><StyleData>Rotation=Rotate90;Border=None,Transpar" + "ent,1;AlignHorz=Far;BackColor=Transparent;AlignVert=Center;</StyleData></NamedSt" + "yle><NamedStyle><Name>Area.default</Name><ParentName>Control</ParentName><StyleD" + "ata>Border=None,Control,1;AlignVert=Top;</StyleData></NamedStyle></StyleCollecti" + "on><Footer Compass=\"South\"><Text>Nowhere</Text></Footer><Legend Compass=\"East\" V" + "isible=\"True\"><Text>Series</Text></Legend><ChartArea /></Chart2DPropBag>"; this.c1Chart1.Size = new System.Drawing.Size(656, 280); this.c1Chart1.TabIndex = 2; this.c1Chart1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.c1Chart1_MouseUp); this.c1Chart1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.c1Chart1_MouseMove); // // grpStacking // this.grpStacking.Controls.AddRange(new System.Windows.Forms.Control[] { this.checkStacked }); this.grpStacking.FlatStyle = System.Windows.Forms.FlatStyle.System; this.grpStacking.Location = new System.Drawing.Point(600, 0); this.grpStacking.Name = "grpStacking"; this.grpStacking.Size = new System.Drawing.Size(80, 40); this.grpStacking.TabIndex = 1; this.grpStacking.TabStop = false; this.grpStacking.Text = "Stacking"; // // checkStacked // this.checkStacked.Location = new System.Drawing.Point(8, 16); this.checkStacked.Name = "checkStacked"; this.checkStacked.Size = new System.Drawing.Size(64, 16); this.checkStacked.TabIndex = 0; this.checkStacked.Text = "Stacked"; this.checkStacked.CheckedChanged += new System.EventHandler(this.checkStacked_CheckedChanged); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(688, 361); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.grpStacking, this.c1Chart1, this.grpChartTypes }); this.Menu = this.mainMenu1; this.Name = "Form1"; this.Text = "ComponentOne Chart.Net 2D - DataStyle Chart Demo"; this.Load += new System.EventHandler(this.Form1_Load); this.grpChartTypes.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.c1Chart1)).EndInit(); this.grpStacking.ResumeLayout(false); this.ResumeLayout(false); }