Пример #1
0
        public MinBar(MinBarType tp)
        {
            Type   = tp;
            mDatas = new List <OHLC>();

            init_Canvas_Image();
        }
Пример #2
0
        public VolumnBar(MinBarType barType)
        {
            mCurveBarType = barType;

            //默认
            MHeight = 1000;
            MWeight = 1000;
        }
Пример #3
0
        public void SetBarType(MinBarType tp)
        {
            if (tp == MinBarType.BTick)
            {
                TickBar = m_TickBar;
            }
            else
            {
                TickBar = m_OneMinBar;
            }

            TickBar.FitScreen();
        }