Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 1.84 KB

Package-Content.md

File metadata and controls

33 lines (27 loc) · 1.84 KB

The Charting Library package is available on GitHub. You may check out the latest stable version (master branch) or the most recent beta version (unstable branch). Please get in touch with us to get access to this repository.

You can check the Charting Library version by entering the TradingView.version() command in a browser console.

Package content

    +/charting_library
        + /static
        - charting_library.min.js
        - charting_library.min.d.ts
        - datafeed-api.d.ts
    + /datafeeds
        + /udf
    - index.html
    - mobile_black.html
    - mobile_white.html
    - test.html
  • /charting_library contains all the Charting 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/charting_library.min.d.ts contains TypeScript definitions for the widget interface.
  • /charting_library/datafeed-api.d.ts contains TypeScript definitions for the data feed interface.
  • /charting_library/datafeeds/udf/ contains UDF-compatible datafeed wrapper (implements JS API to connect to Charting Library and UDF to connect to datafeed). Sample datafeed wrapper implements pulse real-time emulation. You are free to edit its code.
  • /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 using different Charting Library customization features.
  • /mobile*.html are also examples of Widget customization.

All internal JS and CSS codes of the Charting Library are inlined and minified to reduce the page load time. Files that are expected to be edited by you were not minified.