ARCed.Controls.ParameterMiniChart.RefreshChart C# (CSharp) Метод

RefreshChart() публичный Метод

Forces the chart to refresh current parameters
public RefreshChart ( ) : void
Результат void
        public void RefreshChart()
        {
            if (this._actor != null)
            {
                this.chartParameter.BeginInit();
                this.chartParameter.Series[0].Points.Clear();
                this.chartParameter.ChartAreas[0].AxisY.Minimum = 0;
                this.chartParameter.ChartAreas[0].AxisY.Maximum = Project.Settings.GetMaxValue(this._paramIndex);
                for (int lvl = 1; lvl < this._actor.final_level; lvl++)
                    this.chartParameter.Series[0].Points.AddXY(lvl, this._actor.parameters[this._paramIndex, lvl]);
                this.chartParameter.EndInit();
            }
        }