I am printing views inflated from a layout-file into a PDF-Document by using the PrintedPDFDocument-API. This works with all kinds of views so far, including the ChartViews except one thing: The series I have added are not shown. I heard this could be caused by OpenGL, but I have no idea to fix this.
// Invoked to create an configure the view of the desired page View view = p.createView(this.data, width, height); pageBuilder = new PdfDocument.PageInfo.Builder(width, height, i); page = document.startPage(pageBuilder.create()); view.draw(page.getCanvas()); document.finishPage(page);
Has anybody an idea how to get the series printed?