With the current API 2.6.60.1 I found that the only method that is working to create a RayLine is factory.createRayLine();
Neither of the 2 other methods,
1) factory.createRayLine(key) or
2) factory.createRayLine(key, args)
are working.
They will throw
Quote:
13:56:33 at com.dukascopy.charts.chartbuilder.e.createRayLine(Unknown Source)
13:56:33 at com.dukascopy.charts.chartbuilder.e.create(Unknown Source)
13:56:33 at com.dukascopy.charts.chartbuilder.e.a(Unknown Source)
13:56:33 java.lang.RuntimeException: java.lang.NoSuchMethodException: com.dukascopy.charts.drawings.RayLineChartObject.<init>(java.lang.String)
and
Quote:
13:56:33 at com.dukascopy.charts.chartbuilder.e.createRayLine(Unknown Source)
13:56:33 at com.dukascopy.charts.chartbuilder.e.create(Unknown Source)
13:56:33 at com.dukascopy.charts.chartbuilder.e.a(Unknown Source)
13:56:33 java.lang.RuntimeException: java.lang.NoSuchMethodException: com.dukascopy.charts.drawings.RayLineChartObject.<init>(java.lang.String, double, long, double, long)
respectively.
Regards,
RR.