private void PopularLanguages_Load(object sender, EventArgs e) { tChart1.Panel.Gradient.Visible = false; Steema.TeeChart.Styles.Bubble bCloud = new Steema.TeeChart.Styles.Bubble(tChart1.Chart); //bCloud.UseColorRange = false; //bCloud.UsePalette = true; //bCloud.Rotation = 5; //bCloud.Separation = 51; //bCloud.SizeRatio = 1.44; tChart1.Axes.Bottom.MinimumOffset = 150; tChart1.Axes.Bottom.MaximumOffset = 50; bCloud.Add(1, 1175, 30.3, "Python"); bCloud.Add(2, 1082.5, 22.2, "Java"); bCloud.Add(3, 1077.5, 13, "C++"); bCloud.Add(4, 1055, 10.6, "Ruby"); bCloud.Add(5, 1042.5, 5.2, "JavaScript"); bCloud.Add(6, 1035, 5, "C#"); bCloud.Add(7, 1035, 4.1, "C"); bCloud.Add(8, 1017.5, 3.3, "PHP"); bCloud.Add(9, 1005, 1.6, "Perl"); bCloud.Add(10, 975, 1.5, "Go"); bCloud.Marks.Font.Color = Color.Black; }
public Page4() { // NavigationPage.SetHasNavigationBar(this, false); dashChart = new Chart(); dashChart.Aspect.View3D = false; Steema.TeeChart.Styles.Bubble series = new Steema.TeeChart.Styles.Bubble(); dashChart.Series.Add(series); series.FillSampleValues(6); series.Pointer.Gradient.Visible = true; series.ColorEach = false; series.Pointer.Pen.Visible = false; series.Color = Color.White; series.Pointer.Gradient.StartColor = Color.White; series.Pointer.Gradient.EndColor = Color.FromRgb(255, 165, 0); //Bubble chart dashChart.Panel.Color = Color.FromRgb(255, 165, 0); dashChart.Panel.Gradient.Visible = false; dashChart.Walls.Back.Visible = false; dashChart.Title.Text = "Bubbles"; dashChart.Title.Alignment = TextAlignment.Start; dashChart.Title.Font.Size = 12; dashChart.Title.Font.Color = Color.White; dashChart.Legend.Visible = false; dashChart.Axes.Left.AxisPen.Visible = false; dashChart.Axes.Left.Labels.Color = Color.FromRgb(255, 165, 0); dashChart.Axes.Bottom.AxisPen.Visible = false; dashChart.Axes.Left.Grid.Color = Color.White; dashChart.Axes.Left.Increment = 25; dashChart.Axes.Bottom.Grid.Color = Color.White; dashChart.Axes.Left.Grid.Fill.Gradient.Visible = true; dashChart.Axes.Bottom.Labels.Font.Color = Color.FromRgb(255, 165, 0); dashChart.Axes.Left.Labels.Font.Color = Color.FromRgb(255, 165, 0); DashView3 = new ChartView { VerticalOptions = LayoutOptions.FillAndExpand, HorizontalOptions = LayoutOptions.FillAndExpand, }; DashView3.Model = dashChart; Content = new StackLayout { Children = { DashView3 } }; }
public override void ViewDidLoad() { base.ViewDidLoad(); chartview = new TChart(); chartview.Frame = new RectangleF(0, 0, 320, 460); //產生不同類型的圖表 switch (chart) { case ChartType.Bar: var Barstyle = new Steema.TeeChart.Styles.Bar(); Barstyle.FillSampleValues(samples); Barstyle.ShowInLegend = false; Barstyle.Marks.Visible = true; chartview.Series.Add(Barstyle); break; case ChartType.Candle: var Candlestyle = new Steema.TeeChart.Styles.Candle(); Candlestyle.FillSampleValues(samples); Candlestyle.ShowInLegend = false; Candlestyle.Marks.Visible = true; chartview.Series.Add(Candlestyle); break; case ChartType.Bubble: var Bubblestyle = new Steema.TeeChart.Styles.Bubble(); Bubblestyle.FillSampleValues(samples); Bubblestyle.ShowInLegend = false; Bubblestyle.Marks.Visible = true; chartview.Series.Add(Bubblestyle); break; case ChartType.Radar: var Radarstyle = new Steema.TeeChart.Styles.Radar(); Radarstyle.FillSampleValues(samples); Radarstyle.ShowInLegend = false; Radarstyle.Marks.Visible = true; chartview.Series.Add(Radarstyle); break; case ChartType.Tower: var Towerstyle = new Steema.TeeChart.Styles.Tower(); Towerstyle.FillSampleValues(samples); Towerstyle.ShowInLegend = false; Towerstyle.Marks.Visible = true; chartview.Series.Add(Towerstyle); break; } View.AddSubview(chartview); }
public override void ViewDidLoad() { base.ViewDidLoad(); chartview = new TChart(); chartview.Frame = new RectangleF(0, 0, 320, 460); //���ͤ��P�������Ϫ� switch (chart) { case ChartType.Bar: var Barstyle = new Steema.TeeChart.Styles.Bar(); Barstyle.FillSampleValues(samples); Barstyle.ShowInLegend = false; Barstyle.Marks.Visible = true; chartview.Series.Add(Barstyle); break; case ChartType.Candle: var Candlestyle = new Steema.TeeChart.Styles.Candle(); Candlestyle.FillSampleValues(samples); Candlestyle.ShowInLegend = false; Candlestyle.Marks.Visible = true; chartview.Series.Add(Candlestyle); break; case ChartType.Bubble: var Bubblestyle = new Steema.TeeChart.Styles.Bubble(); Bubblestyle.FillSampleValues(samples); Bubblestyle.ShowInLegend = false; Bubblestyle.Marks.Visible = true; chartview.Series.Add(Bubblestyle); break; case ChartType.Radar: var Radarstyle = new Steema.TeeChart.Styles.Radar(); Radarstyle.FillSampleValues(samples); Radarstyle.ShowInLegend = false; Radarstyle.Marks.Visible = true; chartview.Series.Add(Radarstyle); break; case ChartType.Tower: var Towerstyle = new Steema.TeeChart.Styles.Tower(); Towerstyle.FillSampleValues(samples); Towerstyle.ShowInLegend = false; Towerstyle.Marks.Visible = true; chartview.Series.Add(Towerstyle); break; } View.AddSubview(chartview); }
public Page4() { dashChart = new ChartView(); dashChart.WidthRequest = 400; dashChart.HeightRequest = 300; dashChart.Chart.Aspect.View3D = false; Steema.TeeChart.Styles.Bubble series = new Steema.TeeChart.Styles.Bubble(); dashChart.Chart.Series.Add(series); series.FillSampleValues(6); series.Pointer.Gradient.Visible = true; series.ColorEach = false; series.Pointer.Pen.Visible = false; series.Color = Color.White; series.Pointer.Gradient.StartColor = Color.White; series.Pointer.Gradient.EndColor = Color.FromRgb(255, 165, 0); //Bubble chart dashChart.Chart.Panel.Color = Color.FromRgb(255, 165, 0); dashChart.Chart.Panel.Gradient.Visible = false; dashChart.Chart.Walls.Back.Visible = false; dashChart.Chart.Title.Text = "Bubbles"; dashChart.Chart.Title.Alignment = TextAlignment.Start; dashChart.Chart.Title.Font.Size = 12; dashChart.Chart.Title.Font.Color = Color.White; dashChart.Chart.Legend.Visible = false; dashChart.Chart.Axes.Left.AxisPen.Visible = false; dashChart.Chart.Axes.Left.Labels.Color = Color.FromRgb(255, 165, 0); dashChart.Chart.Axes.Bottom.AxisPen.Visible = false; dashChart.Chart.Axes.Left.Grid.Color = Color.White; dashChart.Chart.Axes.Left.Increment = 25; dashChart.Chart.Axes.Bottom.Grid.Color = Color.White; dashChart.Chart.Axes.Left.Grid.Fill.Gradient.Visible = true; dashChart.Chart.Axes.Bottom.Labels.Font.Color = Color.FromRgb(255, 165, 0); dashChart.Chart.Axes.Left.Labels.Font.Color = Color.FromRgb(255, 165, 0); Content = new StackLayout { Children = { dashChart }, VerticalOptions = LayoutOptions.CenterAndExpand, HorizontalOptions = LayoutOptions.CenterAndExpand, }; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.checkBox1 = new System.Windows.Forms.CheckBox(); this.bubble1 = new Steema.TeeChart.Styles.Bubble(); this.button1 = new System.Windows.Forms.Button(); this.panel1.SuspendLayout(); // // textBox1 // this.textBox1.Name = "textBox1"; this.textBox1.Text = "Bubble series can now fill points using a gradient. \r\n\r\nbubble1.Pointer.Gradient." + "Visible = true;"; // // panel1 // this.panel1.Controls.Add(this.button1); this.panel1.Controls.Add(this.checkBox1); this.panel1.Name = "panel1"; // // tChart1 // // // tChart1.Header // this.tChart1.Header.Lines = new string[] { "tChart1" }; this.tChart1.Name = "tChart1"; this.tChart1.Series.Add(this.bubble1); // // checkBox1 // this.checkBox1.Checked = true; this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBox1.Location = new System.Drawing.Point(16, 8); this.checkBox1.Name = "checkBox1"; this.checkBox1.TabIndex = 0; this.checkBox1.Text = "Use Gradient"; this.checkBox1.Click += new System.EventHandler(this.checkBox1_Click); // // bubble1 // // // bubble1.Marks // this.bubble1.Marks.Transparent = true; // // bubble1.Pointer // // // bubble1.Pointer.Brush // this.bubble1.Pointer.Brush.Color = System.Drawing.Color.Red; this.bubble1.Pointer.Brush.ForegroundColor = System.Drawing.Color.Empty; // // bubble1.Pointer.Brush.Gradient // this.bubble1.Pointer.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(0)), ((System.Byte)(192)), ((System.Byte)(192))); this.bubble1.Pointer.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(0))); this.bubble1.Pointer.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(128)), ((System.Byte)(0))); this.bubble1.Pointer.Brush.Gradient.UseMiddle = true; this.bubble1.Pointer.Brush.Gradient.Visible = true; this.bubble1.Pointer.HorizSize = 15; this.bubble1.Pointer.InflateMargins = false; this.bubble1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Circle; this.bubble1.Pointer.VertSize = 15; this.bubble1.Title = "bubble1"; // // bubble1.XValues // this.bubble1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // button1 // this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button1.Location = new System.Drawing.Point(141, 10); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(89, 23); this.button1.TabIndex = 1; this.button1.Text = "Edit Gradient..."; this.button1.Click += new System.EventHandler(this.button1_Click); // // Bubble_Gradient // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(440, 317); this.Name = "Bubble_Gradient"; this.panel1.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.bubble1 = new Steema.TeeChart.Styles.Bubble(); this.hScrollBar1 = new System.Windows.Forms.HScrollBar(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.gridBand1 = new Steema.TeeChart.Tools.GridBand(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.Name = "textBox1"; this.textBox1.Text = "Bubble series allows Transparency:\r\n\r\nbubble1.Pointer.Transparency = 50; // <-- " + "50 %"; // // panel1 // this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.hScrollBar1); this.panel1.Name = "panel1"; // // tChart1 // // // tChart1.Aspect // this.tChart1.Aspect.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality; this.tChart1.Aspect.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; // // tChart1.Header // this.tChart1.Header.Lines = new string[] { "tChart1" }; this.tChart1.Name = "tChart1"; // // tChart1.Panel // // // tChart1.Panel.Brush // this.tChart1.Panel.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))); this.tChart1.Series.Add(this.bubble1); this.tChart1.Tools.Add(this.gridBand1); // // tChart1.Walls // // // tChart1.Walls.Bottom // // // tChart1.Walls.Bottom.Pen // this.tChart1.Walls.Bottom.Pen.Visible = false; this.tChart1.Walls.Bottom.Size = 5; // // tChart1.Walls.Left // // // tChart1.Walls.Left.Pen // this.tChart1.Walls.Left.Pen.Visible = false; this.tChart1.Walls.Left.Size = 5; // // bubble1 // this.bubble1.LabelMember = "Labels"; // // bubble1.Marks // // // bubble1.Marks.Symbol // // // bubble1.Marks.Symbol.Shadow // this.bubble1.Marks.Symbol.Shadow.Height = 1; this.bubble1.Marks.Symbol.Shadow.Visible = true; this.bubble1.Marks.Symbol.Shadow.Width = 1; this.bubble1.Marks.Transparent = true; // // bubble1.Pointer // // // bubble1.Pointer.Brush // this.bubble1.Pointer.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(127)), ((System.Byte)(255)), ((System.Byte)(0)), ((System.Byte)(0))); this.bubble1.Pointer.Brush.ForegroundColor = System.Drawing.Color.Empty; this.bubble1.Pointer.HorizSize = 17; this.bubble1.Pointer.InflateMargins = false; this.bubble1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Circle; this.bubble1.Pointer.VertSize = 17; this.bubble1.Title = "bubble1"; // // bubble1.XValues // this.bubble1.XValues.DataMember = "X"; this.bubble1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // bubble1.YValues // this.bubble1.YValues.DataMember = "Y"; // // hScrollBar1 // this.hScrollBar1.Location = new System.Drawing.Point(104, 13); this.hScrollBar1.Maximum = 109; this.hScrollBar1.Name = "hScrollBar1"; this.hScrollBar1.Size = new System.Drawing.Size(227, 17); this.hScrollBar1.TabIndex = 0; this.hScrollBar1.Value = 50; this.hScrollBar1.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hScrollBar1_Scroll); // // label1 // this.label1.Location = new System.Drawing.Point(28, 14); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(78, 23); this.label1.TabIndex = 1; this.label1.Text = "Transparency:"; // // label2 // this.label2.Location = new System.Drawing.Point(338, 15); this.label2.Name = "label2"; this.label2.TabIndex = 2; this.label2.Text = "50"; // // gridBand1 // this.gridBand1.Axis = this.tChart1.Axes.Left; // // gridBand1.Band1 // this.gridBand1.Band1.Color = System.Drawing.Color.FromArgb(((System.Byte)(127)), ((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(192))); // // gridBand1.Band2 // this.gridBand1.Band2.Color = System.Drawing.Color.FromArgb(((System.Byte)(127)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))); // // Bubble_Transparency // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(440, 317); this.Name = "Bubble_Transparency"; 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() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Axis_GridDrawEvery)); this.bubble1 = new Steema.TeeChart.Styles.Bubble(); this.label1 = new System.Windows.Forms.Label(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.numericUpDown1 = new System.Windows.Forms.NumericUpDown(); this.panel1.SuspendLayout(); this.chartContainer.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit(); this.SuspendLayout(); // // textBox1 // this.textBox1.Text = "Axis.Grid now has a DrawEvery property. Setting DrawEvery to value greater than 1" + " forces the axis to display only every n-th gridline."; // // panel1 // this.panel1.Controls.Add(this.numericUpDown1); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.comboBox1); this.panel1.Controls.Add(this.label1); this.panel1.Size = new System.Drawing.Size(440, 54); // // tChart1 // // // // this.tChart1.Aspect.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias; this.tChart1.Aspect.ZOffset = 0; // // // // // // // // // this.tChart1.Panel.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(21)))), ((int)(((byte)(60)))), ((int)(((byte)(89))))); this.tChart1.Panel.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.tChart1.Panel.Brush.Gradient.Sigma = true; this.tChart1.Panel.Brush.Gradient.SigmaFocus = 1F; this.tChart1.Panel.Brush.Gradient.SigmaScale = 0.8F; this.tChart1.Panel.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.tChart1.Series.Add(this.bubble1); this.tChart1.Size = new System.Drawing.Size(440, 190); // // chartContainer // this.chartContainer.Location = new System.Drawing.Point(0, 127); this.chartContainer.Size = new System.Drawing.Size(440, 190); // // bubble1 // this.bubble1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(77)))), ((int)(((byte)(44))))); // // // this.bubble1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(134)))), ((int)(((byte)(46)))), ((int)(((byte)(26))))); // // // // // // this.bubble1.Marks.Callout.ArrowHead = Steema.TeeChart.Styles.ArrowHeadStyles.None; this.bubble1.Marks.Callout.ArrowHeadSize = 8; // // // this.bubble1.Marks.Callout.Brush.Color = System.Drawing.Color.Black; this.bubble1.Marks.Callout.Distance = 0; this.bubble1.Marks.Callout.Draw3D = false; this.bubble1.Marks.Callout.Length = 0; this.bubble1.Marks.Callout.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.bubble1.Marks.Callout.Visible = false; this.bubble1.Marks.Transparent = true; // // // // // // this.bubble1.Pointer.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(77)))), ((int)(((byte)(44))))); this.bubble1.Pointer.Brush.ForegroundColor = System.Drawing.Color.Empty; this.bubble1.Pointer.HorizSize = 18; this.bubble1.Pointer.InflateMargins = false; // // // this.bubble1.Pointer.Pen.Visible = false; this.bubble1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.PolishedSphere; this.bubble1.Pointer.VertSize = 18; this.bubble1.Title = "bubble1"; // // // this.bubble1.XValues.DataMember = "X"; this.bubble1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // // this.bubble1.YValues.DataMember = "Y"; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(12, 21); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(26, 13); this.label1.TabIndex = 0; this.label1.Text = "Axis"; // // comboBox1 // this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBox1.Items.AddRange(new object[] { "Vertical", "Horizontal" }); this.comboBox1.Location = new System.Drawing.Point(44, 18); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(111, 21); this.comboBox1.TabIndex = 1; this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(185, 21); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(61, 13); this.label2.TabIndex = 2; this.label2.Text = "Draw every"; // // numericUpDown1 // this.numericUpDown1.Location = new System.Drawing.Point(252, 19); this.numericUpDown1.Maximum = new decimal(new int[] { 50, 0, 0, 0 }); this.numericUpDown1.Minimum = new decimal(new int[] { 1, 0, 0, 0 }); this.numericUpDown1.Name = "numericUpDown1"; this.numericUpDown1.Size = new System.Drawing.Size(67, 20); this.numericUpDown1.TabIndex = 3; this.numericUpDown1.Value = new decimal(new int[] { 1, 0, 0, 0 }); this.numericUpDown1.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged); // // Axis_GridDrawEvery // this.ClientSize = new System.Drawing.Size(440, 317); this.Name = "Axis_GridDrawEvery"; this.Load += new System.EventHandler(this.Axis_GridDrawEvery_Load); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.chartContainer.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).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.bubbleSeries1 = new Steema.TeeChart.Styles.Bubble(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); this.gridBand1 = new Steema.TeeChart.Tools.GridBand(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(466, 56); this.textBox1.Text = "Exporting to GIF graphic format is available using the Export Dialog or by code a" + "t run-time. \r\n\r\nNOTE : Check the LZW compression patent issues."; // // panel1 // this.panel1.Controls.Add(this.button2); this.panel1.Controls.Add(this.button1); this.panel1.Location = new System.Drawing.Point(0, 56); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(466, 34); // // tChart1 // // // tChart1.Aspect // this.tChart1.Aspect.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality; this.tChart1.Aspect.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; // // tChart1.Header // this.tChart1.Header.Lines = new string[0]; this.tChart1.Header.Visible = false; this.tChart1.Location = new System.Drawing.Point(0, 90); this.tChart1.Name = "tChart1"; // // tChart1.Panel // // // tChart1.Panel.Brush // this.tChart1.Panel.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))); this.tChart1.Series.Add(this.bubbleSeries1); this.tChart1.Size = new System.Drawing.Size(466, 196); this.tChart1.Tools.Add(this.gridBand1); // // tChart1.Walls // // // tChart1.Walls.Bottom // // // tChart1.Walls.Bottom.Pen // this.tChart1.Walls.Bottom.Pen.Visible = false; this.tChart1.Walls.Bottom.Size = 5; // // tChart1.Walls.Left // // // tChart1.Walls.Left.Pen // this.tChart1.Walls.Left.Pen.Visible = false; this.tChart1.Walls.Left.Size = 5; // // bubbleSeries1 // this.bubbleSeries1.LabelMember = "Labels"; // // bubbleSeries1.Marks // // // bubbleSeries1.Marks.Symbol // // // bubbleSeries1.Marks.Symbol.Shadow // this.bubbleSeries1.Marks.Symbol.Shadow.Height = 1; this.bubbleSeries1.Marks.Symbol.Shadow.Visible = true; this.bubbleSeries1.Marks.Symbol.Shadow.Width = 1; this.bubbleSeries1.Marks.Transparent = true; // // bubbleSeries1.Pointer // // // bubbleSeries1.Pointer.Brush // this.bubbleSeries1.Pointer.Brush.Color = System.Drawing.Color.Red; this.bubbleSeries1.Pointer.Brush.ForegroundColor = System.Drawing.Color.Empty; this.bubbleSeries1.Pointer.HorizSize = 19; this.bubbleSeries1.Pointer.InflateMargins = false; this.bubbleSeries1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Circle; this.bubbleSeries1.Pointer.VertSize = 19; this.bubbleSeries1.Title = "bubbleSeries1"; // // bubbleSeries1.XValues // this.bubbleSeries1.XValues.DataMember = "X"; this.bubbleSeries1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // bubbleSeries1.YValues // this.bubbleSeries1.YValues.DataMember = "Y"; // // button1 // this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button1.Location = new System.Drawing.Point(13, 6); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(107, 23); this.button1.TabIndex = 2; this.button1.Text = "&Save to GIF..."; this.button1.Click += new System.EventHandler(this.button1_Click); // // button2 // this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button2.Location = new System.Drawing.Point(144, 6); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(147, 23); this.button2.TabIndex = 3; this.button2.Text = "Show &export dialog..."; this.button2.Click += new System.EventHandler(this.button2_Click); // // saveFileDialog1 // this.saveFileDialog1.FileName = "doc1"; this.saveFileDialog1.Title = "Save Image (GIF)"; // // gridBand1 // this.gridBand1.Axis = this.tChart1.Axes.Left; // // gridBand1.Band1 // this.gridBand1.Band1.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224))); // // gridBand1.Band2 // this.gridBand1.Band2.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))); // // Export_GIF // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(466, 286); this.Name = "Export_GIF"; 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() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Canvas_Transparency)); this.label1 = new System.Windows.Forms.Label(); this.hScrollBar1 = new System.Windows.Forms.HScrollBar(); this.label2 = new System.Windows.Forms.Label(); this.bubble1 = new Steema.TeeChart.Styles.Bubble(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(466, 64); this.textBox1.Text = "The Chart Legend, Titles ( Title, SubTitle, Foot and SubFoot ) and the BackWall (" + "in 2D mode), can \"blend\" with the chart background ( transparency ).\r\n\r\nExample:" + " tChart1.Legend.Transparency = 50 ;"; // // panel1 // this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.hScrollBar1); this.panel1.Location = new System.Drawing.Point(0, 64); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(466, 33); // // tChart1 // // // tChart1.Aspect // this.tChart1.Aspect.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality; this.tChart1.Aspect.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; this.tChart1.Cursor = System.Windows.Forms.Cursors.Default; // // tChart1.Header // // // tChart1.Header.Brush // this.tChart1.Header.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(0)), ((System.Byte)(0))); // // tChart1.Header.Font // // // tChart1.Header.Font.Brush // this.tChart1.Header.Font.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(0))); this.tChart1.Header.Font.Italic = true; // // tChart1.Header.Font.Shadow // // // tChart1.Header.Font.Shadow.Brush // this.tChart1.Header.Font.Shadow.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(0))); this.tChart1.Header.Font.Shadow.Visible = true; this.tChart1.Header.Font.Size = 12; this.tChart1.Header.Lines = new string[] { "Title with transparency" }; // // tChart1.Header.Shadow // this.tChart1.Header.Shadow.Height = 2; this.tChart1.Header.Shadow.Width = 2; this.tChart1.Header.Transparent = false; // // tChart1.Legend // // // tChart1.Legend.Brush // this.tChart1.Legend.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(76)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))); // // tChart1.Legend.Shadow // // // tChart1.Legend.Shadow.Brush // this.tChart1.Legend.Shadow.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(76)), ((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(0))); this.tChart1.Location = new System.Drawing.Point(0, 97); this.tChart1.Name = "tChart1"; // // tChart1.Panel // // // tChart1.Panel.Bevel // this.tChart1.Panel.Bevel.ColorOne = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))); // // tChart1.Panel.Brush // this.tChart1.Panel.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))); this.tChart1.Panel.Brush.Image = ((System.Drawing.Image)(resources.GetObject("tChart1.Panel.Brush.Image"))); this.tChart1.Panel.Brush.Solid = false; this.tChart1.Panel.Image = ((System.Drawing.Image)(resources.GetObject("tChart1.Panel.Image"))); this.tChart1.Series.Add(this.bubble1); this.tChart1.Size = new System.Drawing.Size(466, 189); // // tChart1.Walls // // // tChart1.Walls.Back // // // tChart1.Walls.Back.Brush // this.tChart1.Walls.Back.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(76)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))); // // tChart1.Walls.Back.Gradient // this.tChart1.Walls.Back.Brush.Gradient.Transparency = 70; // // tChart1.Walls.Back.Gradient // this.tChart1.Walls.Back.Gradient.Transparency = 70; this.tChart1.Walls.Back.Transparent = false; // // tChart1.Walls.Bottom // // // tChart1.Walls.Bottom.Brush // this.tChart1.Walls.Bottom.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(76)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))); // // tChart1.Walls.Bottom.Gradient // this.tChart1.Walls.Bottom.Brush.Gradient.Transparency = 70; // // tChart1.Walls.Bottom.Gradient // this.tChart1.Walls.Bottom.Gradient.Transparency = 70; // // tChart1.Walls.Left // // // tChart1.Walls.Left.Brush // this.tChart1.Walls.Left.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(76)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(224))); // // tChart1.Walls.Left.Gradient // this.tChart1.Walls.Left.Brush.Gradient.Transparency = 70; // // tChart1.Walls.Left.Gradient // this.tChart1.Walls.Left.Gradient.Transparency = 70; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(8, 8); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(87, 16); this.label1.TabIndex = 0; this.label1.Text = "&Transparency %"; this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight; // // hScrollBar1 // this.hScrollBar1.Location = new System.Drawing.Point(104, 8); this.hScrollBar1.Name = "hScrollBar1"; this.hScrollBar1.Size = new System.Drawing.Size(127, 14); this.hScrollBar1.TabIndex = 1; this.hScrollBar1.Value = 70; this.hScrollBar1.ValueChanged += new System.EventHandler(this.hScrollBar1_ValueChanged); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(240, 8); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(17, 16); this.label2.TabIndex = 2; this.label2.Text = "70"; this.label2.UseMnemonic = false; // // bubble1 // this.bubble1.LabelMember = "Labels"; // // bubble1.Marks // // // bubble1.Marks.Symbol // // // bubble1.Marks.Symbol.Shadow // this.bubble1.Marks.Symbol.Shadow.Height = 1; this.bubble1.Marks.Symbol.Shadow.Visible = true; this.bubble1.Marks.Symbol.Shadow.Width = 1; this.bubble1.Marks.Transparent = true; // // bubble1.Pointer // // // bubble1.Pointer.Brush // this.bubble1.Pointer.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(0)), ((System.Byte)(0))); this.bubble1.Pointer.Brush.ForegroundColor = System.Drawing.Color.Empty; this.bubble1.Pointer.HorizSize = 11; this.bubble1.Pointer.InflateMargins = false; this.bubble1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Circle; this.bubble1.Pointer.VertSize = 11; this.bubble1.Title = "bubble1"; // // bubble1.XValues // this.bubble1.XValues.DataMember = "X"; this.bubble1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // bubble1.YValues // this.bubble1.YValues.DataMember = "Y"; // // Canvas_Transp // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(466, 286); this.Name = "Canvas_Transp"; 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.checkBox1 = new System.Windows.Forms.CheckBox(); this.checkBox2 = new System.Windows.Forms.CheckBox(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.bubbleSeries1 = new Steema.TeeChart.Styles.Bubble(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(466, 63); this.textBox1.Text = "Bubbles are represented with a center position and Radius. Each bubble can show a" + " different style using the OnGetPointerStyle event.\r\n\r\nOptions include style, pa" + "ttern, border, marks, radius, etc."; // // panel1 // this.panel1.Controls.Add(this.button2); this.panel1.Controls.Add(this.button1); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.comboBox1); this.panel1.Controls.Add(this.checkBox2); this.panel1.Controls.Add(this.checkBox1); this.panel1.Location = new System.Drawing.Point(0, 63); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(466, 33); // // tChart1 // // // tChart1.Aspect // this.tChart1.Aspect.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality; this.tChart1.Aspect.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; this.tChart1.Aspect.View3D = false; // // tChart1.Header // this.tChart1.Header.Lines = new string[] { "Bubble" }; this.tChart1.Header.Visible = false; // // tChart1.Legend // this.tChart1.Legend.Visible = false; this.tChart1.Location = new System.Drawing.Point(0, 96); this.tChart1.Name = "tChart1"; // // tChart1.Panel // // // tChart1.Panel.Brush // this.tChart1.Panel.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))); // // tChart1.Panel.Gradient // this.tChart1.Panel.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(234)), ((System.Byte)(234)), ((System.Byte)(255))); this.tChart1.Panel.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))); this.tChart1.Panel.Brush.Gradient.Visible = true; // // tChart1.Panel.Gradient // this.tChart1.Panel.Gradient.EndColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(234)), ((System.Byte)(234)), ((System.Byte)(255))); this.tChart1.Panel.Gradient.StartColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))); this.tChart1.Panel.Gradient.Visible = true; this.tChart1.Series.Add(this.bubbleSeries1); this.tChart1.Size = new System.Drawing.Size(466, 190); // // tChart1.Zoom // this.tChart1.Zoom.Animated = true; // // checkBox1 // this.checkBox1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.checkBox1.Location = new System.Drawing.Point(13, 7); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(107, 21); this.checkBox1.TabIndex = 0; this.checkBox1.Text = "&View Marks"; this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged); // // checkBox2 // this.checkBox2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.checkBox2.Location = new System.Drawing.Point(96, 7); this.checkBox2.Name = "checkBox2"; this.checkBox2.Size = new System.Drawing.Size(80, 21); this.checkBox2.TabIndex = 1; this.checkBox2.Text = "&Random"; this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged); // // comboBox1 // this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBox1.Items.AddRange(new object[] { "Rectangle", "Circle", "Triangle", "DownTriangle", "Cross", "DiagCross", "Star", "Diamond" }); this.comboBox1.Location = new System.Drawing.Point(207, 7); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(86, 21); this.comboBox1.TabIndex = 2; this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(167, 9); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(36, 16); this.label1.TabIndex = 3; this.label1.Text = "&Style :"; this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight; // // button1 // this.button1.Cursor = System.Windows.Forms.Cursors.Hand; this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.button1.Location = new System.Drawing.Point(307, 6); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(23, 23); this.button1.TabIndex = 4; this.button1.Text = "+"; this.button1.Click += new System.EventHandler(this.button1_Click); // // button2 // this.button2.Cursor = System.Windows.Forms.Cursors.Hand; this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.button2.Location = new System.Drawing.Point(336, 6); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(23, 23); this.button2.TabIndex = 5; this.button2.Text = "-"; this.button2.Click += new System.EventHandler(this.button2_Click); // // bubbleSeries1 // this.bubbleSeries1.LabelMember = "Labels"; // // bubbleSeries1.Marks // // // bubbleSeries1.Marks.Symbol // // // bubbleSeries1.Marks.Symbol.Shadow // this.bubbleSeries1.Marks.Symbol.Shadow.Height = 1; this.bubbleSeries1.Marks.Symbol.Shadow.Visible = true; this.bubbleSeries1.Marks.Symbol.Shadow.Width = 1; this.bubbleSeries1.Marks.Transparent = true; // // bubbleSeries1.Pointer // // // bubbleSeries1.Pointer.Brush // this.bubbleSeries1.Pointer.Brush.Color = System.Drawing.Color.Red; this.bubbleSeries1.Pointer.Brush.ForegroundColor = System.Drawing.Color.Empty; this.bubbleSeries1.Pointer.HorizSize = 19; this.bubbleSeries1.Pointer.InflateMargins = false; this.bubbleSeries1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Sphere; this.bubbleSeries1.Pointer.VertSize = 19; this.bubbleSeries1.Title = "bubble1"; // // bubbleSeries1.XValues // this.bubbleSeries1.XValues.DataMember = "X"; this.bubbleSeries1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // bubbleSeries1.YValues // this.bubbleSeries1.YValues.DataMember = "Y"; //this.bubbleSeries1.GetPointerStyle += new Steema.TeeChart.Styles.CustomPoint.GetPointerStyleEventHandler(this.bubbleSeries1_GetPointerStyle); // // SeriesType_Bubble // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(466, 286); this.Name = "SeriesType_Bubble"; this.Load += new System.EventHandler(this.SeriesType_Bubble_Load); 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() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Bubble_Sphere)); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.bubble1 = new Steema.TeeChart.Styles.Bubble(); this.button1 = new System.Windows.Forms.Button(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.gridBand1 = new Steema.TeeChart.Tools.GridBand(); this.panel1.SuspendLayout(); this.chartContainer.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.Text = "Bubble series can now fill points using a gradient. \r\n\r\nbubble1.Pointer.Gradient." + "Visible = true;"; // // panel1 // this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.comboBox1); this.panel1.Controls.Add(this.button1); this.panel1.Controls.Add(this.checkBox1); // // tChart1 // // // // this.tChart1.Aspect.Chart3DPercent = 100; this.tChart1.Aspect.Elevation = 351; this.tChart1.Aspect.ElevationFloat = 351; this.tChart1.Aspect.Orthogonal = false; this.tChart1.Aspect.Perspective = 88; this.tChart1.Aspect.Rotation = 336; this.tChart1.Aspect.RotationFloat = 336; this.tChart1.Aspect.ZOffset = 0; this.tChart1.Aspect.Zoom = 78; this.tChart1.Aspect.ZoomFloat = 78; // // // this.tChart1.Header.Lines = new string[] { "tChart1" }; this.tChart1.Header.Visible = false; // // // this.tChart1.Legend.Visible = false; // // // // // // this.tChart1.Panel.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.tChart1.Series.Add(this.bubble1); this.tChart1.Size = new System.Drawing.Size(440, 205); this.tChart1.Tools.Add(this.gridBand1); // // // // // // // // // this.tChart1.Walls.Bottom.Pen.Visible = false; this.tChart1.Walls.Bottom.Size = 3; // // // // // // this.tChart1.Walls.Left.Pen.Visible = false; this.tChart1.Walls.Left.Size = 3; // // checkBox1 // this.checkBox1.Location = new System.Drawing.Point(16, 8); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(104, 24); this.checkBox1.TabIndex = 0; this.checkBox1.Text = "Use Gradient"; this.checkBox1.Click += new System.EventHandler(this.checkBox1_Click); // // bubble1 // this.bubble1.Color = System.Drawing.Color.Red; this.bubble1.LabelMember = "Labels"; // // // // // // this.bubble1.Marks.Callout.ArrowHead = Steema.TeeChart.Styles.ArrowHeadStyles.None; this.bubble1.Marks.Callout.ArrowHeadSize = 8; // // // this.bubble1.Marks.Callout.Brush.Color = System.Drawing.Color.Black; this.bubble1.Marks.Callout.Distance = 0; this.bubble1.Marks.Callout.Draw3D = false; this.bubble1.Marks.Callout.Length = 0; this.bubble1.Marks.Callout.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.bubble1.Marks.Callout.Visible = false; this.bubble1.Marks.Transparent = true; // // // // // // this.bubble1.Pointer.Brush.Color = System.Drawing.Color.Red; this.bubble1.Pointer.Brush.ForegroundColor = System.Drawing.Color.Empty; this.bubble1.Pointer.HorizSize = 19; this.bubble1.Pointer.InflateMargins = false; // // // this.bubble1.Pointer.Pen.Visible = false; this.bubble1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Sphere; this.bubble1.Pointer.VertSize = 19; this.bubble1.Title = "bubble1"; // // // this.bubble1.XValues.DataMember = "X"; this.bubble1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // // this.bubble1.YValues.DataMember = "Y"; // // button1 // this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button1.Location = new System.Drawing.Point(120, 8); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(89, 23); this.button1.TabIndex = 1; this.button1.Text = "Edit Gradient..."; this.button1.Click += new System.EventHandler(this.button1_Click); // // comboBox1 // this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBox1.Items.AddRange(new object[] { "Plain Bubble", "Sphere", "Polished" }); this.comboBox1.Location = new System.Drawing.Point(328, 11); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(96, 21); this.comboBox1.TabIndex = 2; this.comboBox1.SelectedIndex = 1; this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); // // label1 // this.label1.Location = new System.Drawing.Point(240, 12); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(80, 16); this.label1.TabIndex = 3; this.label1.Text = "&Bubble style:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // gridBand1 // this.gridBand1.Axis = this.tChart1.Axes.Left; // // // this.gridBand1.Band1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); // // // this.gridBand1.Band2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); // // Bubble_Sphere // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(440, 317); this.Name = "Bubble_Sphere"; this.panel1.ResumeLayout(false); this.chartContainer.ResumeLayout(false); 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.components = new System.ComponentModel.Container(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.CBDrag = new System.Windows.Forms.CheckBox(); this.CBDelete = new System.Windows.Forms.CheckBox(); this.CBInsert = new System.Windows.Forms.CheckBox(); this.CBType = new System.Windows.Forms.CheckBox(); this.CBColor = new System.Windows.Forms.CheckBox(); this.pLeft = new System.Windows.Forms.Panel(); this.chartListBox1 = new Steema.TeeChart.ChartListBox(this.components); this.tChart1 = new Steema.TeeChart.TChart(); this.area1 = new Steema.TeeChart.Styles.Area(); this.bar1 = new Steema.TeeChart.Styles.Bar(); this.bubble1 = new Steema.TeeChart.Styles.Bubble(); this.line1 = new Steema.TeeChart.Styles.Line(); this.pRight = new System.Windows.Forms.Panel(); this.splitter1 = new System.Windows.Forms.Splitter(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.groupBox1.SuspendLayout(); this.pLeft.SuspendLayout(); this.pRight.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.Name = "textBox1"; this.textBox1.Text = @"The ChartListBox component now has additional properties to control if the end-user can change a Series type or Series color, if Series can be re-ordered by dragging, and if Series can be deleted pressing the Del key. Example: chartListBox1.EnableChangeColor=false; ChartListBox now also synchronizes when Series are added or deleted programatically"; // // panel1 // this.panel1.Controls.Add(this.groupBox1); this.panel1.Name = "panel1"; // // panel2 // this.panel2.Controls.Add(this.splitter1); this.panel2.Controls.Add(this.pRight); this.panel2.Controls.Add(this.pLeft); this.panel2.Name = "panel2"; // // groupBox1 // this.groupBox1.Controls.Add(this.CBDrag); this.groupBox1.Controls.Add(this.CBDelete); this.groupBox1.Controls.Add(this.CBInsert); this.groupBox1.Controls.Add(this.CBType); this.groupBox1.Controls.Add(this.CBColor); this.groupBox1.Location = new System.Drawing.Point(2, 1); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(421, 39); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "Enable"; // // CBDrag // this.CBDrag.Checked = true; this.CBDrag.CheckState = System.Windows.Forms.CheckState.Checked; this.CBDrag.Location = new System.Drawing.Point(331, 14); this.CBDrag.Name = "CBDrag"; this.CBDrag.Size = new System.Drawing.Size(83, 19); this.CBDrag.TabIndex = 4; this.CBDrag.Text = "Drag Series"; this.CBDrag.Click += new System.EventHandler(this.CBDrag_Click); // // CBDelete // this.CBDelete.Checked = true; this.CBDelete.CheckState = System.Windows.Forms.CheckState.Checked; this.CBDelete.Location = new System.Drawing.Point(255, 14); this.CBDelete.Name = "CBDelete"; this.CBDelete.Size = new System.Drawing.Size(81, 19); this.CBDelete.TabIndex = 3; this.CBDelete.Text = "Delete Key"; this.CBDelete.Click += new System.EventHandler(this.CBDelete_Click); // // CBInsert // this.CBInsert.Checked = true; this.CBInsert.CheckState = System.Windows.Forms.CheckState.Checked; this.CBInsert.Location = new System.Drawing.Point(186, 14); this.CBInsert.Name = "CBInsert"; this.CBInsert.Size = new System.Drawing.Size(74, 19); this.CBInsert.TabIndex = 2; this.CBInsert.Text = "Insert Key"; this.CBInsert.Click += new System.EventHandler(this.CBInsert_Click); // // CBType // this.CBType.Checked = true; this.CBType.CheckState = System.Windows.Forms.CheckState.Checked; this.CBType.Location = new System.Drawing.Point(96, 14); this.CBType.Name = "CBType"; this.CBType.Size = new System.Drawing.Size(93, 19); this.CBType.TabIndex = 1; this.CBType.Text = "Change Type"; this.CBType.Click += new System.EventHandler(this.CBType_Click); // // CBColor // this.CBColor.Checked = true; this.CBColor.CheckState = System.Windows.Forms.CheckState.Checked; this.CBColor.Location = new System.Drawing.Point(8, 14); this.CBColor.Name = "CBColor"; this.CBColor.Size = new System.Drawing.Size(93, 19); this.CBColor.TabIndex = 0; this.CBColor.Text = "Change Color"; this.CBColor.Click += new System.EventHandler(this.CBColor_Click); // // pLeft // this.pLeft.BackColor = System.Drawing.Color.White; this.pLeft.Controls.Add(this.chartListBox1); this.pLeft.Dock = System.Windows.Forms.DockStyle.Left; this.pLeft.Location = new System.Drawing.Point(0, 0); this.pLeft.Name = "pLeft"; this.pLeft.Size = new System.Drawing.Size(176, 154); this.pLeft.TabIndex = 0; // // chartListBox1 // this.chartListBox1.AllowDrop = true; this.chartListBox1.Chart = this.tChart1; this.chartListBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.chartListBox1.Location = new System.Drawing.Point(0, 0); this.chartListBox1.Name = "chartListBox1"; this.chartListBox1.OtherItems = null; this.chartListBox1.Size = new System.Drawing.Size(176, 148); this.chartListBox1.TabIndex = 0; // // tChart1 // // // tChart1.Aspect // this.tChart1.Aspect.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality; this.tChart1.Aspect.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; this.tChart1.BackColor = System.Drawing.Color.Red; this.tChart1.Dock = System.Windows.Forms.DockStyle.Fill; // // tChart1.Header // this.tChart1.Header.Lines = new string[] { "TeeChart" }; this.tChart1.Location = new System.Drawing.Point(0, 0); this.tChart1.Name = "tChart1"; // // tChart1.Panel // // // tChart1.Panel.Brush // this.tChart1.Panel.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))); // // tChart1.Panel.Gradient // this.tChart1.Panel.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(225)), ((System.Byte)(225)), ((System.Byte)(255))); this.tChart1.Panel.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))); // // tChart1.Panel.Gradient // this.tChart1.Panel.Gradient.EndColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(225)), ((System.Byte)(225)), ((System.Byte)(255))); this.tChart1.Panel.Gradient.StartColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))); this.tChart1.Series.Add(this.area1); this.tChart1.Series.Add(this.bar1); this.tChart1.Series.Add(this.bubble1); this.tChart1.Series.Add(this.line1); this.tChart1.Size = new System.Drawing.Size(250, 154); this.tChart1.TabIndex = 0; // // tChart1.Walls // // // tChart1.Walls.Bottom // // // tChart1.Walls.Bottom.Pen // this.tChart1.Walls.Bottom.Pen.Visible = false; this.tChart1.Walls.Bottom.Size = 5; // // tChart1.Walls.Left // // // tChart1.Walls.Left.Pen // this.tChart1.Walls.Left.Pen.Visible = false; this.tChart1.Walls.Left.Size = 5; // // area1 // // // area1.AreaBrush // this.area1.AreaBrush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(128)), ((System.Byte)(0))); // // area1.AreaLines // this.area1.AreaLines.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(153)), ((System.Byte)(77)), ((System.Byte)(0))); // // area1.Brush // this.area1.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(128)), ((System.Byte)(0))); // // area1.LinePen // this.area1.LinePen.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(153)), ((System.Byte)(77)), ((System.Byte)(0))); // // area1.Marks // // // area1.Marks.Font // // // area1.Marks.Font.Brush // this.area1.Marks.Font.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(64)), ((System.Byte)(0)), ((System.Byte)(0))); this.area1.Marks.Font.Size = 14; // // area1.Marks.Pen // this.area1.Marks.Pen.Visible = false; // // area1.Marks.Symbol // // // area1.Marks.Symbol.Shadow // this.area1.Marks.Symbol.Shadow.Height = 1; this.area1.Marks.Symbol.Shadow.Visible = true; this.area1.Marks.Symbol.Shadow.Width = 1; // // area1.Pointer // this.area1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.area1.Title = "area1"; // // area1.XValues // this.area1.XValues.DataMember = "X"; this.area1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // area1.YValues // this.area1.YValues.DataMember = "Y"; // // bar1 // // // bar1.Brush // this.bar1.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(128))); // // bar1.Marks // // // bar1.Marks.Font // // // bar1.Marks.Font.Brush // this.bar1.Marks.Font.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(64)), ((System.Byte)(0)), ((System.Byte)(0))); this.bar1.Marks.Font.Size = 14; // // bar1.Marks.Pen // this.bar1.Marks.Pen.Visible = false; // // bar1.Marks.Symbol // // // bar1.Marks.Symbol.Shadow // this.bar1.Marks.Symbol.Shadow.Height = 1; this.bar1.Marks.Symbol.Shadow.Visible = true; this.bar1.Marks.Symbol.Shadow.Width = 1; this.bar1.Marks.Transparent = true; // // bar1.Pen // this.bar1.Pen.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(153)), ((System.Byte)(153)), ((System.Byte)(77))); this.bar1.Title = "bar2"; // // bar1.XValues // this.bar1.XValues.DataMember = "X"; this.bar1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // bar1.YValues // this.bar1.YValues.DataMember = "Bar"; // // bubble1 // this.bubble1.ColorEach = false; this.bubble1.LabelMember = "Labels"; // // bubble1.LinePen // this.bubble1.LinePen.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(77)), ((System.Byte)(0)), ((System.Byte)(0))); // // bubble1.Marks // // // bubble1.Marks.Symbol // // // bubble1.Marks.Symbol.Shadow // this.bubble1.Marks.Symbol.Shadow.Height = 1; this.bubble1.Marks.Symbol.Shadow.Visible = true; this.bubble1.Marks.Symbol.Shadow.Width = 1; this.bubble1.Marks.Transparent = true; // // bubble1.Pointer // // // bubble1.Pointer.Brush // this.bubble1.Pointer.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(128)), ((System.Byte)(0)), ((System.Byte)(0))); this.bubble1.Pointer.InflateMargins = false; // // bubble1.Pointer.Pen // this.bubble1.Pointer.Pen.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(77)), ((System.Byte)(0)), ((System.Byte)(0))); this.bubble1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Sphere; this.bubble1.Title = "bubble3"; // // bubble1.XValues // this.bubble1.XValues.DataMember = "X"; this.bubble1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // bubble1.YValues // this.bubble1.YValues.DataMember = "Y"; // // line1 // // // line1.Brush // this.line1.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(64))); // // line1.LinePen // this.line1.LinePen.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(38))); // // line1.Marks // // // line1.Marks.Symbol // // // line1.Marks.Symbol.Shadow // this.line1.Marks.Symbol.Shadow.Height = 1; this.line1.Marks.Symbol.Shadow.Visible = true; this.line1.Marks.Symbol.Shadow.Width = 1; // // line1.Pointer // this.line1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.line1.Title = "line4"; // // line1.XValues // this.line1.XValues.DataMember = "X"; this.line1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // line1.YValues // this.line1.YValues.DataMember = "Y"; // // pRight // this.pRight.BackColor = System.Drawing.Color.White; this.pRight.Controls.Add(this.tChart1); this.pRight.Dock = System.Windows.Forms.DockStyle.Fill; this.pRight.Location = new System.Drawing.Point(176, 0); this.pRight.Name = "pRight"; this.pRight.Size = new System.Drawing.Size(250, 154); this.pRight.TabIndex = 1; // // splitter1 // this.splitter1.Location = new System.Drawing.Point(176, 0); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(3, 154); this.splitter1.TabIndex = 0; this.splitter1.TabStop = false; // // ChartListBoxEnable // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(426, 258); this.Name = "ChartListBoxEnable"; this.panel1.ResumeLayout(false); this.panel2.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.pLeft.ResumeLayout(false); this.pRight.ResumeLayout(false); this.ResumeLayout(false); }