+ "*environment*.getSimTime().broadcastEvent(new ChartEvent(*...*));\n"
+ "To store an existing chart as PDF you can broadcast a 'ChartEventStoreAsPDF', e.g.,\n"
+ "*environment*.getSimTime().broadcastEvent(new ChartEventStoreAsPDF(*chartName*, *File*));\n"
+ "***********************************************************************\n");
env.getSimTime().requestEvents(this, new EventFilter() {
private static final long serialVersionUID = 3719917006278896507L;
@Override
public boolean isAcceptable(EASEvent event) {
return event.getClass().isAssignableFrom(ChartEvent.class);