protected override void InternalUpdateRenderPassData(ISeriesRenderPassData renderPassDataToUpdate, IDataSeries dataSeries, ResamplingMode resamplingMode, IPointResamplerFactory factory)
        {
            base.InternalUpdateRenderPassData(renderPassDataToUpdate, dataSeries, resamplingMode, factory);

            if (renderPassDataToUpdate.PointsCount() < 2)
            {
                return;
            }

            var lineRenderPassData = (LineRenderPassData)renderPassDataToUpdate;

            var xValues = lineRenderPassData.XValues;
            var yValues = lineRenderPassData.YValues;

            var pointsCount = lineRenderPassData.PointsCount();

            _fromX = xValues.Get(pointsCount - 2);
            _fromY = yValues.Get(pointsCount - 2);
            _toX   = xValues.Get(pointsCount - 1);
            _toY   = yValues.Get(pointsCount - 1);


            xValues.Set(pointsCount - 1, _fromX);
            yValues.Set(pointsCount - 1, _fromY);

            _isUpdatesAllowes = false;

            Dispatcher.PostOnUiThread(_animatorRestartRunnable);
        }
 public IPointSeries ToPointSeries(ResamplingMode resamplingMode, IndexRange pointRange, int viewportWidth, bool isCategoryAxis,
                                   bool?dataIsDisplayedAs2D, IRange visibleXRange, IPointResamplerFactory factory)
 {
     return(pSeries);
 }
            public IPointSeries ToPointSeries(ResamplingMode resamplingMode, IndexRange pointRange, int viewportWidth, bool isCategoryAxis,
				bool? dataIsDisplayedAs2D, IRange visibleXRange, IPointResamplerFactory factory)
            {
                return pSeries;
            }