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
For example, see here: https://tradingview.github.io/lightweight-charts/tutorials/customization/finishing-touches
The text was updated successfully, but these errors were encountered:
Yes. You can start with "legend" or "moving everage" examples on the demo page
Sorry, something went wrong.
Oh I should update the examples in the code-sandbox to match version 4.0.0 =(
So the idea is to wrap the chart component in a relative div and place whatever you want on the chart using absolute position.
<div className={styles.container}> <Chart height={300} width={600}> <AreaSeries data={data}/> </Chart> <div className={styles.legend}>{legend}</div> </div>
.container { position: relative; } .legend { position: absolute; left: 12px; top: 12px; z-index: 1; font-size: 12px; line-height: 18px; font-weight: 300; }
No branches or pull requests
For example, see here:
![image](https://private-user-images.githubusercontent.com/126291407/263491983-00564708-0373-4ae6-b561-844bb83f7e3f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MjU1MTMsIm5iZiI6MTczODgyNTIxMywicGF0aCI6Ii8xMjYyOTE0MDcvMjYzNDkxOTgzLTAwNTY0NzA4LTAzNzMtNGFlNi1iNTYxLTg0NGJiODNmN2UzZi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwNlQwNzAwMTNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04YTE4NTBiNDFkNGNlZDg5M2E3NTMzZWU2YzlhMjU5ZDIzMGEwNTkzYjczNWMxMTZiNDczZDJkZjFlMjQ3ZDA5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.rmZbAiRBvRnxlxQDKZcDb7cwOOPrItzGqVHUJUkQv8g)
https://tradingview.github.io/lightweight-charts/tutorials/customization/finishing-touches
The text was updated successfully, but these errors were encountered: