Changeset 4637 for trunk/sources/HeuristicLab.Analysis.Views
- Timestamp:
- 10/21/10 17:16:00 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Analysis.Views/3.3
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Analysis.Views/3.3/AlleleFrequencyArrayView.Designer.cs
r4631 r4637 73 73 chartArea1.Name = "Default"; 74 74 this.chart.ChartAreas.Add(chartArea1); 75 legend1.Alignment = System.Drawing.StringAlignment.Center; 75 76 legend1.Docking = System.Windows.Forms.DataVisualization.Charting.Docking.Top; 76 77 legend1.Name = "Default"; … … 81 82 this.chart.TabIndex = 0; 82 83 this.chart.Text = "chart"; 84 title1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 83 85 title1.Name = "Default"; 84 86 title1.Text = "Allele Frequencies"; -
trunk/sources/HeuristicLab.Analysis.Views/3.3/AlleleFrequencyArrayView.cs
r4631 r4637 42 42 InitializeComponent(); 43 43 invisibleSeries = new List<Series>(); 44 chart.CustomizeAllChartAreas(); 44 45 } 45 46 -
trunk/sources/HeuristicLab.Analysis.Views/3.3/DataTableView.Designer.cs
r4636 r4637 49 49 System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend(); 50 50 System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series(); 51 System.Windows.Forms.DataVisualization.Charting.Title title1 = new System.Windows.Forms.DataVisualization.Charting.Title(); 51 52 this.chart = new HeuristicLab.Visualization.ChartControlsExtensions.EnhancedChart(); 52 53 this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); … … 70 71 // chart 71 72 // 72 this.chart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 73 | System.Windows.Forms.AnchorStyles.Left)74 | System.Windows.Forms.AnchorStyles.Right)));73 this.chart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 74 | System.Windows.Forms.AnchorStyles.Left) 75 | System.Windows.Forms.AnchorStyles.Right))); 75 76 this.chart.BorderlineColor = System.Drawing.Color.Black; 76 77 this.chart.BorderlineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid; … … 82 83 this.chart.ChartAreas.Add(chartArea1); 83 84 this.chart.ContextMenuStrip = this.contextMenuStrip; 85 legend1.Alignment = System.Drawing.StringAlignment.Center; 84 86 legend1.Docking = System.Windows.Forms.DataVisualization.Charting.Docking.Top; 85 87 legend1.Name = "Legend1"; 86 88 this.chart.Legends.Add(legend1); 87 this.chart.EnableDoubleClickResetsZoom = true;88 this.chart.EnableMiddleClickPanning = true;89 89 this.chart.Location = new System.Drawing.Point(0, 52); 90 90 this.chart.Name = "chart"; … … 96 96 this.chart.TabIndex = 4; 97 97 this.chart.Text = "chart1"; 98 title1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 99 title1.Name = "Default"; 100 title1.Text = "Title"; 101 this.chart.Titles.Add(title1); 98 102 this.chart.CustomizeLegend += new System.EventHandler<System.Windows.Forms.DataVisualization.Charting.CustomizeLegendEventArgs>(this.chart_CustomizeLegend); 99 103 this.chart.MouseDown += new System.Windows.Forms.MouseEventHandler(this.chart_MouseDown); -
trunk/sources/HeuristicLab.Analysis.Views/3.3/DataTableView.cs
r4636 r4637 91 91 base.OnContentChanged(); 92 92 invisibleSeries.Clear(); 93 chart.Titles .Clear();93 chart.Titles[0].Text = string.Empty; 94 94 chart.Series.Clear(); 95 95 if (Content != null) { 96 chart.Titles .Add(new Title(Content.Name, Docking.Top));96 chart.Titles[0].Text = Content.Name; 97 97 foreach (DataRow row in Content.Rows) 98 98 AddDataRow(row);
Note: See TracChangeset
for help on using the changeset viewer.