tradingview / charting-library-examples

Examples of Charting Library integrations with other libraries, frameworks and data transports
MIT License
1.4k stars 763 forks source link

Need help with Android wrapper #184

Open ugar0ff opened 4 years ago

ugar0ff commented 4 years ago

Hi. In this repository you have an example for an Android application. In the file MainActivity.kt you show how can change the interval on the graph. You can expand them to show how add and updated bars for chart?

I'm added library to folder _app/src/main/assets/chartinglibrary/ and I found there _chartinglibrary.min.d.ts file which contains interfaces for work with chart. But I have not found a function to send a bar to the chart.

Thanks for your attention!

timocov commented 4 years ago

You have to implement your datafeed and pass the data to that datafeed somehow