manager.add(new Action(Messages.MenuExportChartData)
{
@Override
public void run()
{
TimelineChartCSVExporter exporter = new TimelineChartCSVExporter(chart);
exporter.addDiscontinousSeries(Messages.PerformanceChartLabelCPI);
exporter.setDateFormat(new SimpleDateFormat("yyyy-MM-dd")); //$NON-NLS-1$
exporter.setValueFormat(new DecimalFormat("0.##########")); //$NON-NLS-1$
exporter.export(getTitle() + ".csv"); //$NON-NLS-1$
}
});
addMenu(manager, Client.class, Messages.PerformanceChartLabelAccumulatedIRR);