Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
135
Addition of Mean Marker to the Candlestick Chart
posted

Hello,

What I need to do is add a marker to a candlestick chart to indicate the Mean value.  So instead of just the four values Open, Close, Upper and Lower there will be a fifth values called Mean.  This marker will be a single line drawn on top of each candlestick.  It there a way I can add this custom marker to the chart?  If not, is there a way I can add a custom series type inheriting from the candlestick series?

Thanks

Parents
  • 18204
    Suggested Answer
    Offline posted

    Hello Chad McKee,

     

    Thank you for posting in our forums!

    One way to accomplish this is to create a separate series on the same chart for the mean data.  With this new series, you can create a point series and handle a markerTemplate for this series to draw your line.

    Please see the following jsFiddle I have put together to demonstrate how you can achieve this.

    http://jsfiddle.net/ig_mharrington/mwg7jjxt/

    If you have any further questions or concerns with this, please let me know and I will be glad to help.

Reply Children
No Data