ChartDirector General
Forum Home
Search
Message List
Post Message
[Aug-10-2018 18:53]
Adding annotations to finance charts
(Alec)
[Aug-11-2018 01:01]
Re: Adding annotations to finance charts
(Peter Kwan)
Adding annotations to finance charts
Posted by Alec on Aug-10-2018 18:53
|
Reply
|
Monitor
Hi there,
Is there a support for plotting custom things on the charts? E.g. I'd like to put some red dots and text labels next to a particular candle in the candlestick chart.
If yes, could you please provide the API docs or example.
Thanks.
Re: Adding annotations to finance charts
Posted by Peter Kwan on Aug-11-2018 01:01
|
Reply
|
Monitor
Hi Alec,
You can add a scatter layer to the financial chart for the symbols and the text. The following in an example of add custom symbols to a FinanceChart:
https://www.advsofteng.com/doc/cdnet.htm#financesymbols.htm
The following is an example of associating custom labels for the scatter symbols:
https://www.advsofteng.com/doc/cdnet.htm#scatterlabels.htm
Hope this can help.
Regards
Peter Kwan