Greetings,
is it possible to draw dots into charts via strategy? I read wiki, but
there are just tips how to draw horizontal, vertical lines and so on... If
yes, please could you send me the solution?
Meanwhile, I found solution, but I don't like it:
IChart chart = context.getChart(instrument);
ITextChartObject textChartObject = chart
.getChartObjectFactory()
.createText("bullet" + bidBar.getTime(), bidBar.getTime(), bidBar.getLow());
textChartObject.setColor(Color.BLUE);
textChartObject.setLocked(true);
textChartObject.setText("•");
textChartObject.setTooltip(Double.toString(bidBar.getLow()));
textChartObject.setVisibleInWorkspaceTree(false);
chart.add(textChartObject);
Best regards
bojno