How can I create a chart with arrows, pointing to trades?
Posted: Fri Jan 22, 2010 2:52 pm
Hello everyone!
My task is to create a financial candlestick chart and indicate the points in that chart where trades have been made. I can see two possible solutions:
1) To draw arrows somehow. How can I place an array of arrows to my chart?
2) To draw something instead of arrows. For example, I can create second dataset (additional to time-price chart) that will have the following properties: (Time) = trade time, (Open=Close=High=Low) = trade price. Then I should create two series and plot them in one chart. The problem is that I cannot create series in DefaultOHLCDataset and DefaultHighLowDataset classes using class.add() method. There is no such a method. How can I accomplish this task?
My task is to create a financial candlestick chart and indicate the points in that chart where trades have been made. I can see two possible solutions:
1) To draw arrows somehow. How can I place an array of arrows to my chart?
2) To draw something instead of arrows. For example, I can create second dataset (additional to time-price chart) that will have the following properties: (Time) = trade time, (Open=Close=High=Low) = trade price. Then I should create two series and plot them in one chart. The problem is that I cannot create series in DefaultOHLCDataset and DefaultHighLowDataset classes using class.add() method. There is no such a method. How can I accomplish this task?