In candle Stick chart, when Closing Price is greater than Opening price, the body is filled with white by default and it can be overridden by risingColor property.
In case of waterFall chart, rising color changes the default color of non-negative dataPoints. The fallingColor can be a “HTML Color Name” or “hex” code.
“red”, “#DD7E86”, etc.
- risingColor property can only be used with candle stick chart.
var chart = new CanvasJS.Chart("container",
type : "candlestick",