Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/18/08 23:17:23 (16 years ago)
Author:
mstoeger
Message:

Modified the XAxis labels so they are always visible at the bottom. (#433)
Added simple layout management to the line chart's root shape containing a title-, lines- and xaxis-area. (#345)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Visualization.Test/MainForm.cs

    r865 r1038  
    3030      WorldShape mainWorld = canvasUI.MainCanvas.WorldShape;
    3131      // simple rectangle shape
    32       RectangleShape rect7 = new RectangleShape(5, 5, 50, 50, 0, Color.Black);
     32      RectangleShape rect7 = new RectangleShape(5, 5, 50, 50, Color.Black);
    3333      mainWorld.AddShape(rect7);
    3434    }
     
    4343
    4444      for (int i = 0; i < 10000; i++) {
    45         RectangleShape rect = new RectangleShape(x1, y1, x1 + 0.3, y1 + 0.3, 0, Color.Maroon);
     45        RectangleShape rect = new RectangleShape(x1, y1, x1 + 0.3, y1 + 0.3, Color.Maroon);
    4646        x1 += 0.4;
    4747        y1 += 0.4;
     
    5757      CompositeShape middleComp = new CompositeShape();
    5858
    59       RectangleShape rect5 = new RectangleShape(400, 10, 500, 300, 0, Color.Navy);
    60       RectangleShape rect6 = new RectangleShape(510, 310, 580, 590, 0, Color.Magenta);
     59      RectangleShape rect5 = new RectangleShape(400, 10, 500, 300, Color.Navy);
     60      RectangleShape rect6 = new RectangleShape(510, 310, 580, 590, Color.Magenta);
    6161
    6262      middleComp.AddShape(rect5);
     
    7171      WorldShape leftWorld = new WorldShape(new RectangleD(0, 0, 1000, 1000), new RectangleD(10, 10, 380, 590));
    7272
    73       RectangleShape fillRect = new RectangleShape(0, 0, 1000, 1000, 0, Color.LightBlue);
     73      RectangleShape fillRect = new RectangleShape(0, 0, 1000, 1000, Color.LightBlue);
    7474
    75       RectangleShape rect1 = new RectangleShape(100, 100, 500, 500, 0, Color.Red);
    76       RectangleShape rect2 = new RectangleShape(800, -200, 1200, 500, 0, Color.Green);
     75      RectangleShape rect1 = new RectangleShape(100, 100, 500, 500, Color.Red);
     76      RectangleShape rect2 = new RectangleShape(800, -200, 1200, 500, Color.Green);
    7777
    7878      CompositeShape comp1 = new CompositeShape();
    7979
    80       RectangleShape rect3 = new RectangleShape(510, 580, 590, 700, 0, Color.Blue);
    81       RectangleShape rect4 = new RectangleShape(600, 710, 800, 900, 0, Color.Orange);
     80      RectangleShape rect3 = new RectangleShape(510, 580, 590, 700, Color.Blue);
     81      RectangleShape rect4 = new RectangleShape(600, 710, 800, 900, Color.Orange);
    8282
    8383      comp1.AddShape(rect3);
Note: See TracChangeset for help on using the changeset viewer.