Exemple #1
0
        public static bool CanUseLogarithmicTick(Range <double> range)
        {
            var tickMinPos = LogarithmicTickCalculator.AdjacentTick(range.Min, false);
            var tickMaxPos = LogarithmicTickCalculator.AdjacentTick(range.Max, false);

            return(tickMaxPos.Value != tickMinPos.Value);
        }
Exemple #2
0
        public void SetRange(Range <double> range)
        {
            tickMapIndex  = 0;
            tickAlternate = 0;

            logarithmicTickCalculator = new LogarithmicTickCalculator();
            logarithmicTickCalculator.SetRange(range);
        }