Пример #1
0
            public GridLines(RangeData.Axis axis)
            {
                m_axis = axis;

                // The grid lines model is being updated all the time, we don't want to reallocate
                // for each update. The step sizes used for the axis mean there is a maximum number
                // of lines before a different step size is used, based on PixelsPerTick etc. Working
                // out what it is a hard though. Have a reasonable guess and handle it if we guessed
                // to small.
                MaxLines = 100;
            }
Пример #2
0
 public GridLines(RangeData.Axis axis)
 {
     m_axis   = axis;
     MaxLines = 50;
 }