Changeset 12600 for branches/BubbleChart/HeuristicLab.Optimization.BubbleChart/3.3/BubbleChartView.cs
- Timestamp:
- 07/06/15 14:09:16 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BubbleChart/HeuristicLab.Optimization.BubbleChart/3.3/BubbleChartView.cs
r12598 r12600 379 379 380 380 //invert bubble sizes if the value of the trackbar is negative 381 //if (sizeTrackBar.Value < 0) relativeSize = Math.Abs(relativeSize - 1);381 if (sizeTrackBar.Value < 0) relativeSize = Math.Abs(relativeSize - 1); 382 382 } else relativeSize = 1; 383 383 384 double sizeChange = /*Math.Abs(sizeTrackBar.Value)*/ 10 * relativeSize; 385 //double sizeChange = 0; 384 double sizeChange = Math.Abs(sizeTrackBar.Value) * relativeSize; 386 385 point.MarkerSize = (int)Math.Round(sizeChange + smallestBubbleSize); 387 386 } … … 426 425 updating = false; 427 426 } 427 428 private void sizeTrackBar_ValueChanged(object sender, EventArgs e) { 429 UpdateMarkerSizes(); 430 } 428 431 #endregion 429 432
Note: See TracChangeset
for help on using the changeset viewer.