Phresco.FusionCharts.ChartFromList.CheckSettings C# (CSharp) Method

CheckSettings() private method

Checks the web part properties (settings) before trying to render the chart
private CheckSettings ( ) : void
return void
        private void CheckSettings()
        {
            if (_listName == String.Empty)
            {
                throw (new Exception("Please edit the webpart properties to provide a SharePoint List name to use."));
            }

            if (_xValue == String.Empty)
            {
                throw (new Exception("Please edit the webpart properties to provide a horizontal (x) column name to use."));
            }

            if (_yValue == String.Empty && Action != GroupAction.COUNT)
            {
                throw (new Exception("Please edit the webpart properties to provide a vertical (y) column name to use."));
            }
        }