- Timestamp:
- 05/23/09 10:19:25 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Visualization/3.2/LineChart.cs
r1879 r1880 58 58 this.ResizeRedraw = true; 59 59 60 canvasUI.BeforePaint += delegate { UpdateLayout(); }; 61 60 62 UpdateLayout(); 61 63 ZoomToFullView(); … … 78 80 SetLegendPosition(); 79 81 80 this.Invalidate(true);82 canvasUI.Invalidate(); 81 83 } 82 84 … … 89 91 titleShape.Text = model.Title; 90 92 91 if (model. ShowXAxisGrid) {93 if (model.XAxis.ShowXAxisGrid) { 92 94 canvas.AddShape(xAxisGrid); 93 95 } … … 105 107 } 106 108 107 xAxis.ShowLabel = model. ShowXAxisLabel;108 xAxis.Label = model.XAxis Label;109 xAxis.ShowLabel = model.XAxis.ShowXAxisLabel; 110 xAxis.Label = model.XAxis.XAxisLabel; 109 111 110 112 canvas.AddShape(xAxis); … … 246 248 legendShape.CreateLegend(); 247 249 248 this.Invalidate(true);250 canvasUI.Invalidate(); 249 251 } 250 252 … … 287 289 rowEntry.LinesShape.UpdateStyle(row); 288 290 289 this.Invalidate(true);291 canvasUI.Invalidate(); 290 292 } 291 293 … … 322 324 InitLineShapes(row); 323 325 324 this.Invalidate(true);326 canvasUI.Invalidate(); 325 327 } 326 328 … … 333 335 rowEntries.RemoveAll(delegate(RowEntry rowEntry) { return rowEntry.DataRow == row; }); 334 336 335 this.Invalidate(true);337 canvasUI.Invalidate(); 336 338 } 337 339 … … 349 351 } 350 352 351 this.Invalidate(true);353 canvasUI.Invalidate(); 352 354 } 353 355 … … 484 486 485 487 private void OnModelChanged() { 486 this.Invalidate(true);488 canvasUI.Invalidate(); 487 489 } 488 490 … … 503 505 504 506 if (beginUpdateCount == 0) { 505 this.Invalidate(true);507 canvasUI.Invalidate(); 506 508 } 507 509 } … … 523 525 } 524 526 525 this.Invalidate(true);527 canvasUI.Invalidate(); 526 528 } 527 529 … … 544 546 545 547 userInteractionShape.RemoveShape(rectangleShape); 546 this.Invalidate(true);548 canvasUI.Invalidate(); 547 549 } 548 550 549 551 private void DrawRectangle(Rectangle rectangle) { 550 552 rectangleShape.Rectangle = Transform.ToWorld(rectangle, userInteractionShape.Viewport, userInteractionShape.ClippingArea); 551 this.Invalidate(true);553 canvasUI.Invalidate(); 552 554 } 553 555 … … 615 617 } 616 618 617 this.Invalidate(true);619 canvasUI.Invalidate(); 618 620 } 619 621 }
Note: See TracChangeset
for help on using the changeset viewer.