Home forums Feature Requests & Feedback Candlestick colours

This topic contains 2 replies, has 2 voices, and was last updated by  Penindini 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #19398

    Penindini
    Member

    Hi,

    First of all congratulation on your brilliant product, it is by far the best I have come across, and to top it, the support, examples, responses are amazing.

    I have a question regarding the candlestick chart. How can I set the border color to whatever the risingcolor or fallingcolor is?
    I.e I want my rising candlesticks to be entirely green, and falling candlesticks to be entirely red.
    Currently, the green rising bars have a red border.

    #19402

    Vishwas R
    Keymaster

    @penindini,

    You can set dataPoint color based on the the dataPoint value, whether its rising or falling. Please check this jsfiddle.


    Vishwas R
    Team CanvasJS

    #19607

    Penindini
    Member

    Wow what a difference this has made to the readability of the graph.
    Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.