Closed ekkis closed 6 years ago
Hi, please ask all your questions in the charting_library repo.
there's no such repo. here are the repositories listed under TradingView:
tv-pylint-translations-rule charting-library-examples tradingview dynamic-dual-import-webpack-plugin yahoo_datafeed saveload_backend tradingview.github.io webpack-uglify-parallel tv-polyfill react-redux-ts-demo css-file-rules-webpack-separator
This is private repo and request an access to this repository.
I’ve looked carefully through the developer documentation for the library but cannot find a proper way to hook onto the creation of a trendline on the graph
I see
onDataLoaded()
,onSymbolChanged()
,onIntervalChange()
anddataReady()
, none of which would trigger when the user drops a trendline on the chart. the best I seem to find is the crossHairMoved() which fires every time the cursor moves. I can use that to go find the trendline (using thegetAllShapes()
method) but that's both costly and stupidwhat is the proper way?