- Timestamp:
- 03/09/17 09:35:42 (8 years ago)
- Location:
- trunk/sources/HeuristicLab.Visualization.ChartControlsExtensions/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Visualization.ChartControlsExtensions/3.3/GanttChart.Designer.cs
r14185 r14737 45 45 /// </summary> 46 46 private void InitializeComponent() { 47 this.components = new System.ComponentModel.Container(); 47 48 System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea(); 48 49 System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend(); 49 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(); 50 52 this.chart = new HeuristicLab.Visualization.ChartControlsExtensions.EnhancedChart(); 51 53 ((System.ComponentModel.ISupportInitialize)(this.chart)).BeginInit(); … … 54 56 // chart 55 57 // 56 this.chart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 57 | System.Windows.Forms.AnchorStyles.Left)58 58 this.chart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 59 | System.Windows.Forms.AnchorStyles.Left) 60 | System.Windows.Forms.AnchorStyles.Right))); 59 61 chartArea1.AxisX.ScaleView.SmallScrollMinSizeType = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Milliseconds; 60 62 chartArea1.AxisY.ScaleView.SmallScrollMinSizeType = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Milliseconds; … … 79 81 this.chart.TabIndex = 0; 80 82 this.chart.Text = "chart"; 83 title1.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 84 title1.Name = "Gantt Title"; 85 title1.Text = "Gantt Title"; 86 title1.Visible = false; 87 this.chart.Titles.Add(title1); 81 88 // 82 89 // GanttChart 83 90 // 84 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);85 91 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; 86 92 this.Controls.Add(this.chart); -
trunk/sources/HeuristicLab.Visualization.ChartControlsExtensions/3.3/GanttChart.cs
r14185 r14737 32 32 private IDictionary<string, Color> categories = new Dictionary<string, Color>(); 33 33 private IDictionary<string, int> rowNames = new Dictionary<string, int>(); 34 35 public string Title { 36 get { return chart.Titles[0].Text; } 37 set { 38 chart.Titles[0].Text = value ?? string.Empty; 39 chart.Titles[0].Visible = value != null; 40 } 41 } 34 42 35 43 public GanttChart() {
Note: See TracChangeset
for help on using the changeset viewer.