Accord.Controls.DataSeriesBox.SetGraph C# (CSharp) Method

SetGraph() public method

Sets properties for the graph being shown.
public SetGraph ( Action pane ) : DataSeriesBox
pane Action The actions to be performed to the graph pane.
return DataSeriesBox
        public DataSeriesBox SetGraph(Action<GraphPane> pane)
        {
            if (this.InvokeRequired)
            {
                this.Invoke((Action)(() => SetGraph(pane)));
                return this;
            }

            pane(this.zedGraphControl.GraphPane);
            zedGraphControl.GraphPane.AxisChange();

            return this;
        }