We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I don't know if this is mentioned anywhere in the documentation, I myself couldn't find how to change color to individual candles, but it's really simple, taken from https://tradingview.github.io/lightweight-charts/tutorials/customization/data-points
Along with the date, open, high.. just add a column 'color', I think hex works and RGB, but names work as well like 'orange'.
I know this is not a question, but a tip just in case anyone else was wondering how to do it.
I haven't figured out how to not have a color tho, if I leave the color option empty, for example:
0,2019-01-05 00:14:59,151.98,152.88,151.97,152.4,5529.60916, 1,2019-01-05 00:29:59,152.39,152.43,151.32,151.59,9467.52694,orange 2,2019-01-05 00:44:59,151.59,152.88,150.8,152.2,7495.3826, 3,2019-01-05 00:59:59,152.2,152.6,151.91,151.97,5290.10071,orange
It just takes the color of the last available bar color, in this case, everything would be orange
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Question
I don't know if this is mentioned anywhere in the documentation, I myself couldn't find how to change color to individual candles, but it's really simple, taken from https://tradingview.github.io/lightweight-charts/tutorials/customization/data-points
Along with the date, open, high.. just add a column 'color', I think hex works and RGB, but names work as well like 'orange'.
I know this is not a question, but a tip just in case anyone else was wondering how to do it.
I haven't figured out how to not have a color tho, if I leave the color option empty, for example:
0,2019-01-05 00:14:59,151.98,152.88,151.97,152.4,5529.60916,
1,2019-01-05 00:29:59,152.39,152.43,151.32,151.59,9467.52694,orange
2,2019-01-05 00:44:59,151.59,152.88,150.8,152.2,7495.3826,
3,2019-01-05 00:59:59,152.2,152.6,151.91,151.97,5290.10071,orange
It just takes the color of the last available bar color, in this case, everything would be orange
Code example
No response
The text was updated successfully, but these errors were encountered: