Changeset 1195 for trunk/sources/HeuristicLab.Visualization/LineChart.cs
- Timestamp:
- 01/30/09 17:53:52 (15 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources
- Property svn:ignore
-
old new 3 3 HeuristicLab.resharper 4 4 HeuristicLab.resharper.user 5 HeuristicLab.4.1.resharper.user
-
- Property svn:ignore
-
trunk/sources/HeuristicLab.Visualization/LineChart.cs
r1187 r1195 5 5 using System.Windows.Forms; 6 6 using HeuristicLab.Core; 7 using HeuristicLab.Visualization.Options; 7 8 8 9 namespace HeuristicLab.Visualization { … … 55 56 root.AddShape(linesShape); 56 57 57 legendShape = new LegendShape(0, 0, 0, 0, 0, Color.Black);58 //legendShape.AddLegendItem(new LegendItem("test", Color.Red, 5));59 //legendShape.AddLegendItem(new LegendItem("test1", Color.Blue, 5));60 //legendShape.AddLegendItem(new LegendItem("test2", Color.Pink, 5));61 root.AddShape(legendShape);62 63 58 xAxis = new XAxis(); 64 59 root.AddShape(xAxis); … … 72 67 minMaxLineShape = new MinMaxLineShape(this.minDataValue, this.maxDataValue, 0, Color.Yellow, 4, DrawingStyle.Solid); 73 68 root.AddShape(minMaxLineShape); 69 70 legendShape = new LegendShape(); 71 root.AddShape(legendShape); 72 74 73 canvas.MainCanvas.WorldShape = root; 75 74 canvas.Resize += delegate { UpdateLayout(); }; 76 75 77 76 UpdateLayout(); 78 77 maxDataRowCount = 0; … … 117 116 118 117 legendShape.BoundingBox = new RectangleD(10, 10, 110, canvas.Height - 50); 118 legendShape.ClippingArea = new RectangleD(0, 0, legendShape.BoundingBox.Width, 119 legendShape.BoundingBox.Height); 119 120 } 120 121
Note: See TracChangeset
for help on using the changeset viewer.