Revision 1504

tmp/org.txm.chartsengine.core/src/org/txm/chartsengine/core/ChartsEngine.java (revision 1504)
439 439
		// FIXME : bad ? Switch the current charts engine output format, export the chart, and then roll back the output format
440 440
		String oldOutputFormat = this.outputFormat;
441 441
		this.setOutputFormat(outputFormat);
442
		file = this.createChartFile(result, file);
442
		file = this.createChartFile(result.getChart(), file);
443 443
		//this.setOutputFormat(oldOutputFormat);
444 444
		this.outputFormat = oldOutputFormat;
445 445
		return file;

Also available in: Unified diff