Export image

TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
Post Reply
Posts: 18
Joined: Wed Jun 15, 2011 12:00 am

Export image

Post by DaveSav » Tue Mar 05, 2013 10:13 pm


Is it possible to export a chart image without displaying the chart on the device first?

I am trying to write a class which does this so that the chart graphic can be saved and displayed in a document later on.
But I don't seem to have access to tchart.getExport().getImage().getPNG()



Site Admin
Site Admin
Posts: 8965
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia

Re: Export image

Post by Yeray » Wed Mar 06, 2013 12:23 pm

Hi Dave,

As far as I know, the chart needs its View to be displayed on the screen so it can be drawn and thus exported.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply