Steema Issues Database

Note: 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.



Bug 762 - ImageExportFormat.save crashes with org.eclipse.swt.SWTException: Graphic is disposed
Summary: ImageExportFormat.save crashes with org.eclipse.swt.SWTException: Graphic is ...
Status: RESOLVED FIXED
Alias: None
Product: Java TeeChart
Classification: Unclassified
Component: Chart (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- blocker
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-08 06:48 EDT by kahlert
Modified: 2014-05-13 06:43 EDT (History)
3 users (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kahlert 2014-05-08 06:48:22 EDT
Since Version 3.2013.1219,
the code tChart.getExport().getImage().getPNG().save(file);

results in a SWTException:
org.eclipse.swt.SWTException: Graphic is disposed
	at org.eclipse.swt.SWT.error(SWT.java:4397)
	at org.eclipse.swt.SWT.error(SWT.java:4312)
	at org.eclipse.swt.SWT.error(SWT.java:4283)
	at org.eclipse.swt.graphics.Image.getImageData(Image.java:1210)
	at com.steema.teechart.drawing.Image.save(Image.java:88)
	at com.steema.teechart.exports.ImageExportFormat.save(ImageExportFormat.java:100)