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);
fs.Close();
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?
It should always print at least the cells that are visible.
- If you are using Width in pixels (Width="500px") the exported width it should match the visible time range exactly. If you scroll to the very right it will print one extra cell (corresponding to the vertical scrollbar width).
- If you are using Width in percent (Width="100%") it exports the respective part of the total time range.
If it doesn't correspond to these rules, could you please send a sample project/page that reproduces the problem to support@daypilot.org?
Copyright © 2007-2010 Annpoint, s.r.o.