Esempio n. 1
0
        public void ShiftChart(int indexShift)
        {
            double left = 0, right = 0;

            StockSeries.GetXExtent(ref left, ref right);
            Window.UpdateScrollLimits(left, right);
            Window.SetScrollView(MinimumPos, MaximumPos);
            SetRange();
            ResetWorldRect();
        }
Esempio n. 2
0
        internal bool FindXExtent(ref double left, ref double right)
        {
            bool flag = false;

            if (StockSeries != null)
            {
                flag |= StockSeries.GetXExtent(ref left, ref right);
            }
            foreach (Series.Series s in Series)
            {
                flag |= s.GetXExtent(ref left, ref right);
            }
            return(flag);
        }