- Timestamp:
- 07/06/09 22:14:23 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.CEDMA.Charting/3.3/BubbleChart.cs
r2140 r2141 136 136 points = new Group(this); 137 137 Group.Add(new Axis(this, 0, 0, AxisType.Both)); 138 UpdateViewSize(0, 0, 5);138 UpdateViewSize(0, 0, TransformPixelToWorld(new Size(5, 0)).Width); 139 139 foreach (ResultsEntry r in results.GetEntries().Where(x => x.Visible)) { 140 140 List<double> xs = new List<double>(); … … 212 212 string actualXValue = actualXValues[Math.Min(i, actualXValues.Count() - 1)].ToString(); 213 213 string actualYValue = actualYValues[Math.Min(i, actualYValues.Count() - 1)].ToString(); 214 UpdateViewSize(x, y, size);214 UpdateViewSize(x, y, TransformPixelToWorld(new Size(size, 0)).Width); 215 215 int alpha = CalculateAlpha(size); 216 216 Pen pen = new Pen(Color.FromArgb(alpha, r.Selected ? selectionColor : defaultColor));
Note: See TracChangeset
for help on using the changeset viewer.