Esempio n. 1
0
        public SetCharts(DelSetChartsParams DelSetting_, ChartSetting setting)
        {
            InitializeComponent();
            this.DelSetChartsParams_ = DelSetting_;

            this.labChartAreaName.Text = (setting.hitTestResult.ChartArea.Name.Split('.'))[1];
            this.tbxYmax.Text          = Convert.ToString(setting.hitTestResult.ChartArea.AxisY.Maximum);
            this.tbxYmin.Text          = Convert.ToString(setting.hitTestResult.ChartArea.AxisY.Minimum);
            this.tbxTimeLen.Text       = "50";

            this.chartSetting.ChartInd = setting.ChartInd;

            this.chartSetting.hitTestResult = setting.hitTestResult;
        }
Esempio n. 2
0
 public void SetChartsParams(ChartSetting Settings)
 {
     chart[Settings.ChartInd].ChartAreas[Settings.hitTestResult.ChartArea.Name].AxisY.Maximum = Settings.YMax;
     chart[Settings.ChartInd].ChartAreas[Settings.hitTestResult.ChartArea.Name].AxisY.Minimum = Settings.YMin;
 }