Esempio n. 1
0
        private void regenPart(Range <double> range)
        {
            double length = range.Max - range.Min;

            activeRange    = new Range <double>(range.Min - length, range.Max + length);
            resultArray[0] = activeRange;

            activePart = new NumericAxisPart(activeRange.Min, activeRange.Max);
            activePart.Control.LabelProvider   = parentAxis.LabelProvider.Clone();
            activePart.Control.TicksProvider   = parentAxis.TicksProvider.Clone();
            activePart.Control.ConvertToDouble = parentAxis.ConvertToDouble;
            activePart.Control.Placement       = parentAxis.Placement;
            activePart.Control.Range           = activeRange;
        }
Esempio n. 2
0
 public void CleanCach()
 {
     inited     = false;
     activePart = null;
 }