rdunlap1125 Posted August 6, 2009 Report Share Posted August 6, 2009 Start with a Chart with the Gantt style and an inverted X axis -- so, axis labels are along the top and left sides of the graph and bars are horizontal. Add enough data to it to require scrolling (100 items in my example), and call Printer.Print(), which performs a multipage print (4 pages in my example). Here's the problem: the Print method prints the chart in a bottom-up fashion, so all the empty space on the graph (in my example, the final page has only four bars) ends up between the top bar and the top axis on the last page. That's fine when the X-axis is in the normal position -- but when *inverted*, all that empty space lands between the top bar and the axis that hosts all the labels associated with the top bar. When printing a Gantt chart with an inverted X-axis, that empty space belongs at the bottom of the chart -- in other words, the origin for the chart should be the intersection of the two labeled axes, and the chart should be generated in a top down fashion. I'd be happy to send a fax or a scan if the words don't bring the picture across. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.