Candlestick color
From the ATR example there is a way to export the candle stick color:
let overrideStyle;
if (atrInTicks > this.props.threshold) {
overrideStyle = {
color: d.open() > d.close() ? "salmon" : "lightgreen"
};
}
return {
value: atr,
candlestick: overrideStyle,
style: { value: overrideStyle }
};
However, how can we manipulate the border color? This will color the candlesticks one solid color including the borders and the wicks. There is no documentation on github on how to do this?
Please sign in to leave a comment.
Comments
0 comments