Why zooming and panning is not working if using genericplotter datarect or viewportrect

Sep 2, 2010 at 2:15 AM

I ma trying to specify range to view data using dataRect or viewportRect. Both of the cases work but if i want to zoom or pan, it doesnt work. Why this features getting restricted?

 var genericPlotter = ChtPlotter.GetGenericPlotter<DateTime, int>();
            genericPlotter.DataRect = new GenericRect<DateTime, int>(DateTime.Parse("15/01/1990"), 0, DateTime.Now.AddMonths(12), 100);
            //genericPlotter.ViewportRect = new GenericRect<DateTime, int>(DateTime.Parse("15/01/2010"), 0, DateTime.Now.AddMonths(12), 100);