private static void OnZoomChanged(Chart ptrChart)
        {
            var data = GetDataForChart(ptrChart);

            if (data.ZoomChangedCallback == null)
            {
                return;
            }
            //Precondition: At this point, the scaled view has already been updated to reflect zoom
            data.ZoomChangedCallback(ptrChart.GetBoundariesOfVisibleData());
        }
 private static void OnZoomChanged(Chart ptrChart)
 {
     var data = GetDataForChart(ptrChart);
     if (data.ZoomChangedCallback == null)
         return;
     //Precondition: At this point, the scaled view has already been updated to reflect zoom
     data.ZoomChangedCallback(ptrChart.GetBoundariesOfVisibleData());
 }