예제 #1
0
 /// <summary>User has clicked an axis.</summary>
 /// <param name="axisType">Type of the axis.</param>
 private void OnAxisClick(Axis.AxisType axisType)
 {
     if (currentPresenter != null)
         currentPresenter.Detach();
     AxisPresenter AxisPresenter = new AxisPresenter();
     currentPresenter = AxisPresenter;
     AxisView A = new AxisView(graphView as GraphView);
     string dimension = (axisType == Axis.AxisType.Left || axisType == Axis.AxisType.Right) ? "Y" : "X";
     graphView.ShowEditorPanel(A.MainWidget, dimension + "-Axis options");
     AxisPresenter.Attach(GetAxis(axisType), A, explorerPresenter);
 }
예제 #2
0
 /// <summary>User has clicked an axis.</summary>
 /// <param name="axisType">Type of the axis.</param>
 private void OnAxisClick(Axis.AxisType axisType)
 {
     AxisPresenter AxisPresenter = new AxisPresenter();
     currentPresenter = AxisPresenter;
     AxisView A = new AxisView();
     graphView.ShowEditorPanel(A);
     AxisPresenter.Attach(GetAxis(axisType), A, explorerPresenter);
 }
예제 #3
0
 /// <summary>User has clicked an axis.</summary>
 /// <param name="axisType">Type of the axis.</param>
 private void OnAxisClick(Axis.AxisType axisType)
 {
     if (currentPresenter != null)
         currentPresenter.Detach();
     AxisPresenter AxisPresenter = new AxisPresenter();
     currentPresenter = AxisPresenter;
     AxisView A = new AxisView(graphView as GraphView);
     graphView.ShowEditorPanel(A.MainWidget, "Axis options");
     AxisPresenter.Attach(GetAxis(axisType), A, explorerPresenter);
 }