I have tried
Code: Select all
chart.getExport().getTemplate().toFile("d:\\test.tej");
Second,
We bought TeeChart Pro V2 at 2012/01, and no one told us the new version (TeeChart 2012) will be come out so early, It's unendurable!!
Code: Select all
chart.getExport().getTemplate().toFile("d:\\test.tej");
You could remove all the series after loading the tej file:cimdev wrote:the exported test.tej still inclueds series data, and can't be used for live chart (runtime loading the exported tej file)
Code: Select all
chart.getSeries().removeAllSeries();
We are studying your case and we'll contact you soon.cimdev wrote:We bought TeeChart Pro V2 at 2012/01, and no one told us the new version (TeeChart 2012) will be come out so early, It's unendurable!!
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Code: Select all
Chart a = chart.getImport().getTemplate().fromFile("d:\\test.tej");
a.getSeries().removeAllSeries();
chart.setChart(a);
if the exported template always contains series data,Data may optionally be included with the tee template according to your preference.
Code: Select all
for (int i=0; i<tChart1.getSeriesCount(); i++) {
tChart1.getSeries(i).clear();
}
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |