diff --git a/README.md b/README.md index c2d87540c..66e932846 100644 --- a/README.md +++ b/README.md @@ -103,6 +103,7 @@ This software incorporates several parts of tslib ( to the page of your website or mobile application that is available to your users. As thanks for creating this product, we'd be grateful if you add it in a prominent place. +You can use the [`attributionLogo`](https://tradingview.github.io/lightweight-charts/docs/api/interfaces/LayoutOptions#attributionLogo) chart option for displaying an appropriate link to on the chart itself, which will satisfy the link requirement. [demo-url]: https://www.tradingview.com/lightweight-charts/ diff --git a/src/model/layout-options.ts b/src/model/layout-options.ts index 93a18bd9c..d6f90588a 100644 --- a/src/model/layout-options.ts +++ b/src/model/layout-options.ts @@ -79,13 +79,14 @@ export interface LayoutOptions { fontFamily: string; /** - * Display the 'Charting by TradingView' attribution logo on the main chart pane. + * Display the TradingView attribution logo on the main chart pane. * - * The licence for library specifies that you shall add the "attribution notice" - * from the NOTICE file and a link to \ to the page - * of your website or mobile application that is available to your users. Using this - * attribution logo is sufficient for meeting this requirement. However, if you already - * fulfill this requirement then you can disable this attribution logo. + * The licence for library specifies that you add the "attribution notice" + * from the NOTICE file to your code and a link to https://www.tradingview.com/ to + * the page of your website or mobile application that is available to your users. + * Using this attribution logo is sufficient for meeting this linking requirement. + * However, if you already fulfill this requirement then you can disable this + * attribution logo. * * @defaultValue true */