Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/28/09 21:21:59 (15 years ago)
Author:
mstoeger
Message:

General housekeeping (#498) Removed some old unused Z-Order values. Replaced some var types by concrete types. Renamed some LineShape properties. Added caching of Pens and Brushes in LineShape and RectangleShape. Put axis tick calculation algorithm into its own class.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Visualization/YAxis.cs

    r1194 r1233  
    1616      shapes.Clear();
    1717
    18       foreach (double y in XAxis.GetTicks(PixelsPerInterval,
    19                                           viewport.Height,
    20                                           ClippingArea.Height,
    21                                           ClippingArea.Y1)) {
     18      foreach (double y in AxisTicks.GetTicks(PixelsPerInterval, viewport.Height,
     19                                              ClippingArea.Height,
     20                                              ClippingArea.Y1)) {
    2221        TextShape label = new TextShape(ClippingArea.X2 - 3, y,
    2322                                        labelProvider.GetLabel(y));
Note: See TracChangeset for help on using the changeset viewer.