Profile Picture

NDataCursorTool not working in build version 18.12.10.12

Posted By James Richason 5 Years Ago

NDataCursorTool not working in build version 18.12.10.12

Author
Message
James Richason
Posted 5 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: 5 Years Ago
Posts: 10, Visits: 63
This is the code being used:

   ClearAndResetAppliedToolSettings();
    UpdateCursorFromControls();
    var dateTimePagingView = _chartPrimaryXAxis.PagingView as NDateTimeAxisPagingView;
    if (dateTimePagingView != null)
    {
      _chartPrimaryXAxis.ScrollBar.Visible = false;
      dateTimePagingView.ResetMode = PagingViewResetMode.View;
      dateTimePagingView.Reset();
      dateTimePagingView.ResetMode = PagingViewResetMode.LastZoom;
    }
    _chartControl.Controller.Selection.Clear();
    _chartControl.Controller.Selection.Add(_chartControl.Charts[0]);
    _chartControl.Controller.Tools.Add(_chartDataCursorTool);
    _chartControl.Refresh();
    UpdateResultsViewReloadState();






Similar Topics


Reading This Topic