![]() | 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: | Option to export a chart and append it into an existing svg file | ||
|---|---|---|---|
| Product: | Java TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Exporting | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | ||
| Priority: | --- | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
|
Description
yeray alonso
2014-06-25 11:09:19 EDT
New SVGFormat save() function that accepts a Point to start drawing the new chart and a boolean to choose if you want the new chart to be appended into the given fileName or not.
So you'll be able to do this:
try {
tChart1.getExport().getImage().getSVG().save("E:\\tmp\\testJava1.svg");
tChart2.getExport().getImage().getSVG().save("E:\\tmp\\testJava1.svg", new Point(tChart2.getX(), 0), true);
} catch (FileNotFoundException ex) {
Logger.getLogger(ChartJFrame.class.getName()).log(Level.SEVERE, null, ex);
} catch (IOException ex) {
Logger.getLogger(ChartJFrame.class.getName()).log(Level.SEVERE, null, ex);
}
|