The getStrategyChartObjects method of the interface IChart does not work as expected.
It returns an empty list of created objects while objects are obviously created.
public void onStart(IContext context) throws JFException {
IChart chart = context.getLastActiveChart();
ICustomWidgetChartObject widget = chart.getChartObjectFactory().createChartWidget();
chart.add(widget);
context.getConsole().getOut().println(chart.getStrategyChartObjects()); // output is empty list, but an object has been created
context.stop();
}
A test strategy is attached.