Beispiel #1
0
        private void UpdateChartData(Instrument instrument, TimeFrame timeFrame)
        {
            // Get the data for the chart from the datasource
            var priceData = _dataManager.GetPriceData(instrument.Symbol, timeFrame);

            UpdatePriceChart(priceData);
            UpdateVolumeChart(priceData);

            _priceSeries.InvalidateParentSurface(RangeMode.ZoomToFit);
            _volumeSeries.InvalidateParentSurface(RangeMode.ZoomToFit);
        }
Beispiel #2
0
 private void ZoomExtents()
 {
     _dataSeries.InvalidateParentSurface(RangeMode.ZoomToFitY);
 }