attributionNotice
[ true, true ]
import { TRADINGVIEW_NOTICE, attributionNotice } from "@sportsdataverse/sdvplot/lightweight-charts";
const figure = document.body.appendChild(document.createElement("figure"));
const notice = attributionNotice(figure);
// once per container, and exactly TradingView's notice
[attributionNotice(figure) === notice, notice.textContent === TRADINGVIEW_NOTICE];
Tags: docstring · attributionNotice. All sdvplot examples.