![]() | Steema Issues DatabaseNote: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;otherwise you can use StackOverflow. Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy. |
| Summary: | Print Preview of multiple charts | ||
|---|---|---|---|
| Product: | Java TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Assignee: | Steema Issue Manager <issuemanager> | |
| Status: | CONFIRMED --- | ||
| Severity: | enhancement | ||
| Priority: | --- | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| URL: | http://www.teechart.net/support/viewtopic.php?f=10&t=15256 | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
Print Preview of multiple charts doesn't work. 1. If you call add() method to add multiple charts to a printer job, you get an Null-Pointer-Exception. tChart1.getPrinter().beginPrint(); //tChart1.getPrinter().getPrinterJob(); // work-a-round for null-pointer-problem tChart1.getPrinter().print(tChart2.getChart().chart, new com.steema.teechart.Rectangle(100,10,300,200)); tChart1.getPrinter().print(new com.steema.teechart.Rectangle(100,300,300,200)); tChart1.getPrinter().preview(); 2. After making sure the document is created with the workaround for #1 above, the preview only shows the parent chart, tChart1.