public IPointSeries ToPointSeries(IList column, ResamplingMode resamplingMode, IndexRange pointRange, int viewportWidth,
                                   bool isCategoryAxis)
 {
     throw new NotSupportedException();
 }
 public IPointSeries ToPointSeries(ResamplingMode resamplingMode, IndexRange pointRange, int viewportWidth, bool isCategoryAxis,
                                   bool?dataIsDisplayedAs2D, IRange visibleXRange, IPointResamplerFactory factory)
 {
     return(pSeries);
 }
        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(IList column, ResamplingMode resamplingMode, IndexRange pointRange, int viewportWidth,
				bool isCategoryAxis)
            {
                throw new NotSupportedException();
            }
            public IPointSeries ToPointSeries(ResamplingMode resamplingMode, IndexRange pointRange, int viewportWidth, bool isCategoryAxis,
				bool? dataIsDisplayedAs2D, IRange visibleXRange, IPointResamplerFactory factory)
            {
                return pSeries;
            }
예제 #6
0
        /// <summary>
        /// Write ini file.
        /// </summary>
        public void WriteParameterIni()
        {
            ClrMsppManager msObj = ClrMsppManager.getInstance();
            ClrIniFile     ini   = msObj.getParameters();

            ini.setString(PARAMETERS_INI_SECTION_NAME, PARAMETERS_INI_SAMPLINGPOINTS, ResamplingMode.ToString());
            ini.setString(PARAMETERS_INI_SECTION_NAME, PARAMETERS_INI_INTERPOLATION, Interpolation.ToString());

            ini.setString(PARAMETERS_INI_SECTION_NAME, PARAMETERS_INI_SPECIFIED_INTERVAL, SpecifiedInterval.ToString());
            ini.setString(PARAMETERS_INI_SECTION_NAME, PARAMETERS_INI_OUTPUTRANGEMIN, OutputLowerRange.ToString());
            ini.setString(PARAMETERS_INI_SECTION_NAME, PARAMETERS_INI_OUTPUTRANGEMAX, OutputHigherRange.ToString());

            ini.save(ini.getFilePath());
        }