When WaveformGraph.Draw like this:
Histogram.Draw(new ComponentDrawArgs(g, bounds));
where the bounds is determined in a print call like this:
private void Print(object sender, System.Drawing.Printing.PrintPageEventArgs e)
{
Rectangle r = new Rectangle(e.MarginBounds.X, e.MarginBounds.Y, e.MarginBounds.Width, e.MarginBounds.Height/2);
The x-axis is being drawn in the middle of the graph as if it is drawing in the same position as it would when drawing in the control. It implies that the Draw call is not recalculating the position of the axis based on the bounds but the plots are.
The y-axis is hidden, so I don't see what it is doing.
Any ideas?