I am using DaypilotScheduler. First generate on WebSite, next print to file. My problem is:
DayPilotScheduler on web site is correct. But whenI used:
MemoryStream img = DayPilotScheduler1.Export(ImageFormat.Png);
FileStream fs=new FileStream("c:\\a.png",FileMode.Create);
byte data = img.ToArray();
fs.Write(data, 0, data.Length);
my images doesn't content last day of period.
For example i have chart, from 13.01.2010 to 28.01.2010. In web site is correct 15 days. In image it's 14 days. It's end ne day before it should. Continuing: 2 etaps. irst 13.01.2010 to 21.01.2010 and second from 21.01.2010 to 28.01.2010. First etapon Web Site and Image is correct. Second etap during from: 21.01.2010 to 27.01.2010,should to 28.01.2010.
Am i Doing something wrong or this is bug?