Hi Narcís,
Thanks for the quick response.
I am currently migrating from the ActiveX version to the Java version.
At some point I will need the editor
Do you know if/when it is likely to be supported in SWT?
I need to decide whether I should go back to the ActiveX version.
My immediate problem is that the data I am adding to a Candle doesn't appear. I hoped to use the editor to understand why.
The data uses dates for the x-axis.
The dates show up correctly, but no values or y-axis.
My method is:
Code: Select all
_chart.getAxes().getLeft().setAutomatic(true);
Candle series = new Candle(_chart.getChart());
series.beginUpdate();
try
{
for (int j = 0; j < m; j++)
{
DateTime dt = new DateTime(dates[j].YEAR, dates[j].MONTH - 1, dates[j].DAY);
double open = prices[0][j];
double low = prices[1][j];
double high = prices[2][j];
double close = prices[3][j];
series.add(dt, open, high, low, close);
}
series.checkOrder();
_chart.addSeries(series);
}
finally
{
series.endUpdate();
}
Any idea what I am missing?
Many thanks
Roger