//The constructor associates the control with the smart tag list. public StripChartActionList(IComponent component) : base(component) { this.colUserControl = component as StripChart; this.designerActionUISvc = GetService(typeof(DesignerActionUIService)) as DesignerActionUIService; }
public StripChartProperty(StripChart _ctrl) { InitializeComponent(); _beforeCtrl = ControlFactory.CloneCtrl(_ctrl); _changedCtrl = _ctrl; windowCloseButton = false; }
public Set_StripChart_YAxis_Range(StripChart stripChartObj) { InitializeComponent(); stripChartForm = stripChartObj; YAutoScaleFlag = stripChartForm.YAutoEnable; if (YAutoScaleFlag) { stripChartForm.YAutoEnable = false; } numericUpDownYMax.Value = (decimal)stripChartForm.AxisYMax; numericUpDownYMin.Value = (decimal)stripChartForm.AxisYMin; }
public AxisViewAdapter(StripChart parentChart, Chart baseChart) { this._axisX = baseChart.ChartAreas[0].AxisX; this._axisY = baseChart.ChartAreas[0].AxisY; this._cursorX = baseChart.ChartAreas[0].CursorX; this._cursorY = baseChart.ChartAreas[0].CursorY; _cursorX.Interval = 1; _cursorY.Interval = 1e-3; this._parentChart = parentChart; ResetAxisAdaptParas(); }
private void CancelConfigure() { StripChart beforeStripChart = ((StripChart)_beforeCtrl); //Size _changedCtrl.Size = beforeStripChart.Size; //YAxis _changedCtrl.YAxisLogarithmic = beforeStripChart.YAxisLogarithmic; //XAxis _changedCtrl.XAxisTypes = beforeStripChart.XAxisTypes; RefreshXAxisConfControlVisible(); _changedCtrl.XAxisStartIndex = beforeStripChart.XAxisStartIndex; _changedCtrl.TimeStampFormat = beforeStripChart.TimeStampFormat; //Appearence _changedCtrl.LegendVisible = beforeStripChart.LegendVisible; _changedCtrl.MinorGridEnabled = beforeStripChart.MinorGridEnabled; //Data _changedCtrl.LineNum = beforeStripChart.LineNum; _changedCtrl.DisPlayPoints = beforeStripChart.DisPlayPoints; _changedCtrl.Displaydirection = beforeStripChart.Displaydirection; }
internal StripChartApperance(StripChart stripChart, Chart baseChart) { this._stripChart = stripChart; this._baseChart = baseChart; }