Charting Library package is available on GitHub. You may check out the latest stable version (master
branch) or the most recent development build (unstable
branch). To have an access to this repo please contact us.
You can check Charting Library version by executing TradingView.version()
in a browser console.
Package content
+/charting_library
- charting_library.min.js
+ /datafeed
+ /udf
- datafeed.js
+ /static
- index.html
- /charting_library contains all the library files
- /charting_library/charting_library.min.js contains an external Charting Library widget interface. This file is not supposed to be edited.
- /charting_library/datafeeds/udf/datafeed.js contains UDF-compatible datafeed wrapper (implements JS API to connect to Charting Library and UDF to connect to datafeed) . Sample datafeed wrapper implement pulse realtime emulation. You are free to edit this file.
- /charting_library/static folder stores Charting Library internal content and is not intended for other purposes.
- /index.html is an example of using Charting Library widget on your web page
- /test.html is an example of different Charting Library customization features usage
- /mobile*.html also are examples of Widget customization
Starting from version 1.1, all internal Library's JS and CSS code is inlined & minified to reduce page load time. Files intended to be edited by you are not minified.