- Timestamp:
- 03/05/13 14:25:51 (12 years ago)
- Location:
- trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionViews
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionViews/RunCollectionBubbleChartView.Designer.cs
r9229 r9276 73 73 this.sizeTrackBar = new System.Windows.Forms.TrackBar(); 74 74 this.getDataAsMatrixToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 75 this.transparencyTrackBar = new System.Windows.Forms.TrackBar(); 76 this.transparencyLabel = new System.Windows.Forms.Label(); 75 77 ((System.ComponentModel.ISupportInitialize)(this.xTrackBar)).BeginInit(); 76 78 ((System.ComponentModel.ISupportInitialize)(this.yTrackBar)).BeginInit(); … … 78 80 this.radioButtonGroup.SuspendLayout(); 79 81 ((System.ComponentModel.ISupportInitialize)(this.sizeTrackBar)).BeginInit(); 82 ((System.ComponentModel.ISupportInitialize)(this.transparencyTrackBar)).BeginInit(); 80 83 this.SuspendLayout(); 81 84 // … … 188 191 // chart 189 192 // 190 this.chart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 191 | System.Windows.Forms.AnchorStyles.Left) 193 this.chart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 194 | System.Windows.Forms.AnchorStyles.Left) 192 195 | System.Windows.Forms.AnchorStyles.Right))); 193 196 chartArea1.Name = "ChartArea1"; … … 283 286 this.colorXAxisButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 284 287 this.colorXAxisButton.Enabled = false; 285 this.colorXAxisButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.DisplayInColorVertical;288 this.colorXAxisButton.Image = ((System.Drawing.Image)(resources.GetObject("colorXAxisButton.Image"))); 286 289 this.colorXAxisButton.Location = new System.Drawing.Point(719, 469); 287 290 this.colorXAxisButton.Name = "colorXAxisButton"; … … 295 298 // 296 299 this.colorYAxisButton.Enabled = false; 297 this.colorYAxisButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.DisplayInColor;300 this.colorYAxisButton.Image = ((System.Drawing.Image)(resources.GetObject("colorYAxisButton.Image"))); 298 301 this.colorYAxisButton.Location = new System.Drawing.Point(251, 3); 299 302 this.colorYAxisButton.Name = "colorYAxisButton"; … … 323 326 this.sizeTrackBar.Size = new System.Drawing.Size(64, 45); 324 327 this.sizeTrackBar.TabIndex = 24; 325 this.sizeTrackBar.TickFrequency = 2 5;328 this.sizeTrackBar.TickFrequency = 20; 326 329 this.sizeTrackBar.TickStyle = System.Windows.Forms.TickStyle.TopLeft; 327 330 this.sizeTrackBar.ValueChanged += new System.EventHandler(this.sizeTrackBar_ValueChanged); … … 334 337 this.getDataAsMatrixToolStripMenuItem.Click += new System.EventHandler(this.getDataAsMatrixToolStripMenuItem_Click); 335 338 // 339 // transparencyTrackBar 340 // 341 this.transparencyTrackBar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 342 this.transparencyTrackBar.LargeChange = 16; 343 this.transparencyTrackBar.Location = new System.Drawing.Point(295, 469); 344 this.transparencyTrackBar.Maximum = 254; 345 this.transparencyTrackBar.Name = "transparencyTrackBar"; 346 this.transparencyTrackBar.Size = new System.Drawing.Size(64, 45); 347 this.transparencyTrackBar.TabIndex = 24; 348 this.transparencyTrackBar.TickStyle = System.Windows.Forms.TickStyle.None; 349 this.transparencyTrackBar.ValueChanged += new System.EventHandler(this.transparencyTrackBar_ValueChanged); 350 // 351 // transparencyLabel 352 // 353 this.transparencyLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 354 this.transparencyLabel.AutoSize = true; 355 this.transparencyLabel.Location = new System.Drawing.Point(214, 474); 356 this.transparencyLabel.Name = "transparencyLabel"; 357 this.transparencyLabel.Size = new System.Drawing.Size(75, 13); 358 this.transparencyLabel.TabIndex = 12; 359 this.transparencyLabel.Text = "Transparency:"; 360 // 336 361 // RunCollectionBubbleChartView 337 362 // … … 339 364 this.BackColor = System.Drawing.SystemColors.Window; 340 365 this.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; 366 this.Controls.Add(this.transparencyTrackBar); 341 367 this.Controls.Add(this.sizeTrackBar); 342 368 this.Controls.Add(this.colorYAxisButton); … … 349 375 this.Controls.Add(this.sizeComboBox); 350 376 this.Controls.Add(this.yJitterLabel); 377 this.Controls.Add(this.transparencyLabel); 351 378 this.Controls.Add(this.xJitterlabel); 352 379 this.Controls.Add(this.xTrackBar); … … 364 391 this.radioButtonGroup.PerformLayout(); 365 392 ((System.ComponentModel.ISupportInitialize)(this.sizeTrackBar)).EndInit(); 393 ((System.ComponentModel.ISupportInitialize)(this.transparencyTrackBar)).EndInit(); 366 394 this.ResumeLayout(false); 367 395 this.PerformLayout(); … … 394 422 private System.Windows.Forms.TrackBar sizeTrackBar; 395 423 private System.Windows.Forms.ToolStripMenuItem getDataAsMatrixToolStripMenuItem; 424 private System.Windows.Forms.TrackBar transparencyTrackBar; 425 private System.Windows.Forms.Label transparencyLabel; 396 426 } 397 427 } -
trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionViews/RunCollectionBubbleChartView.cs
r9267 r9276 313 313 double sizeChange = Math.Abs(sizeTrackBar.Value) * relativeSize; 314 314 point.MarkerSize = (int)Math.Round(sizeChange + smallestBubbleSize); 315 point.Color = Color.FromArgb(255 - transparencyTrackBar.Value, ((IRun)point.Tag).Color); 315 316 } 316 317 } … … 758 759 view.ReadOnly = true; 759 760 } 761 762 private void transparencyTrackBar_ValueChanged(object sender, EventArgs e) { 763 UpdateMarkerSizes(); 764 } 760 765 #endregion 761 766
Note: See TracChangeset
for help on using the changeset viewer.