CURELab.SignLanguage.Debugger.View.ChartView.SetXRestriction C# (CSharp) Method

SetXRestriction() public method

public SetXRestriction ( double xlow, double xhigh ) : void
xlow double
xhigh double
return void
        public void SetXRestriction(double xlow, double xhigh)
        {
            ViewportAxesRangeRestriction restr = new ViewportAxesRangeRestriction();
            restr.XRange = new DisplayRange(xlow, xhigh);
            chart.Viewport.Restrictions.Add(restr);
        }