NPlot.TradingDateTimeAxis.SparseWorldAdd C# (CSharp) Method

SparseWorldAdd() public method

Adds a delta amount to the given world coordinate in such a way that all "sparse gaps" are skipped. In other words, the returned value is in delta distance from the given in the "virtual" world.
public SparseWorldAdd ( double coord, double delta ) : double
coord double world coordinate to shift.
delta double shif amount in "virtual" units.
return double
        public double SparseWorldAdd(double coord, double delta)
        {
            return ReverseSparseWorldRemap(SparseWorldRemap(coord) + delta);
        }