Accord.Controls.ScatterplotBox.SetScaleTight C# (CSharp) Method

SetScaleTight() public method

Sets whether to remove the grace space between the axis labels and points.
public SetScaleTight ( bool tight ) : ScatterplotBox
tight bool
return ScatterplotBox
        public ScatterplotBox SetScaleTight(bool tight)
        {
            if (this.InvokeRequired)
            {
                this.Invoke((Action)(() => SetScaleTight(tight)));
                return this;
            }

            scatterplotView1.ScaleTight = tight;
            scatterplotView1.UpdateGraph();

            Refresh();

            return this;
        }