Jump to content
Software FX Community

Subtle bug in Printer for Gantt chart, inverted X axis


rdunlap1125
 Share

Recommended Posts

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.

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...