Home forums Using CanvasJS No fallingColor in candlesticks chart

This topic contains 1 reply, has 2 voices, and was last updated by  Vishwas R 1 week, 4 days ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27066

    Why in the candlestick chart is their only a risingColor and not a fallingColor, but instead just color, which colors non-rising-color bars both internally and peripherally and rising-color bars peripherally, which just illogical if you have candlestick with a green interior and a red border. No one wants to see that, but it the only choice I see if you choose red for non-rising-color bars.

    #27083

    @shaping,

    As of now, risingColor and fallingColor are used to fill the body of candlestick chart whereas border of the body and the color of wick can be controlled by color property of dataSeries. To make entire body and wick to have same color, you can set color property of dataPoint. Please take a look at this JSFiddle for an example which shows customizing the entire candlestick to be single color based on their values.

    Thanks for sharing the use-case, we will reconsider this behavior in future versions.


    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.