Skip to content
New issue

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

Delta Tooltip Plugin #1676

Open
isetthestandard opened this issue Aug 15, 2024 · 2 comments
Open

Delta Tooltip Plugin #1676

isetthestandard opened this issue Aug 15, 2024 · 2 comments

Comments

@isetthestandard
Copy link

Hello Community is it possible to use the delta tooltip plugin in pure js over a cdn download?
Best Regard.

@illetid
Copy link
Contributor

illetid commented Aug 20, 2024

Hi, no it's not part of the main package bundle and you can't use it via cdn. I suggest you check the readme file from the examples of how to add them to your project https://github.com/tradingview/lightweight-charts/tree/master/plugin-examples#using-an-example. In case you are using the cdn version of the lightweight-charts I suggest you add a plugin class to the window object to expose it like window.DeltaTooltipPrimitive = DeltaTooltipPrimitive in the plugin source code, and then add this script with the plugin before initializing the chart to use the plugin

@safaritrader
Copy link

if you want use pure js which i am using too, you can use this (i will expand the plugins every month):
https://github.com/safaritrader/lightweight-chart-plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants