Ejemplo n.º 1
0
 public ChartControl()
 {
     InitializeComponent();
     visualSettings = new ChartVisualSettings(this);
     SetStyle((ControlStyles)0x22012, true);
     _chartFrame         = new ChartFrame();
     _panes              = new PaneCollection(this);
     _interactivityTools = new InteractivityToolCollection(this);
     CreateStockSeries();
     _window     = new Window(this);
     candleRange = new CandleRange(StockSeries);
     Timeframe   = new BarSettings();
     Timeframe.Intervals.Add(60);
     //DoubleBuffered = true;
 }
Ejemplo n.º 2
0
 public ChartControl()
 {
     InitializeComponent();
     visualSettings = new ChartVisualSettings(this);
     SetStyle((ControlStyles)0x22012, true);
     _chartFrame = new ChartFrame();
     _panes = new PaneCollection(this);
     _interactivityTools = new InteractivityToolCollection(this);
     CreateStockSeries();
     _window = new Window(this);
     candleRange = new CandleRange(StockSeries);
     Timeframe = new BarSettings();
     Timeframe.Intervals.Add(60);
     //DoubleBuffered = true;
 }