Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
555
Exporting mutliple UltraChart in to one section?
posted

What am I doing wrong?

Report r = new Report();

Section s = r.AddSection();

Grid g = s.AddGrid();

g.AddColumn();

g.AddColumn();

Row r = g.addRow();

Cell c =r.AddCell();

Graphic gr = c.AddCanvas().CreateGraphicsObject();

ultraChart1.RenderPdfFriendlyGraphics(gr);

r = g.addRow();

c = r.addCell();

gr = c.AddCanvas().CreateGraphicsObject();

ultraChart2.RenderPdfFriendlyGraphics(gr);

It only shows ultraChart1.

Parents
  • 469350
    Offline posted

    One thing I notice that is odd is that you are adding two columns and two rows, but you are only populating the first column in each row. Was that intentional?

    Perhaps this is a problem with the sizing. I noticed that you are not setting the size of either the grid, the rows, the columns, or the cells. So perhaps one of more of them is coming out with a 0 height.

Reply Children