{"_id":"emberwick","_rev":"21-4d8e3ef598535e767db5f59ccb275bba","name":"emberwick","dist-tags":{"latest":"0.14.2"},"versions":{"0.1.0":{"name":"emberwick","version":"0.1.0","keywords":["candlestick","chart","charting","financial","trading","ohlc","canvas","realtime","tradingview-alternative"],"license":"MIT","_id":"emberwick@0.1.0","maintainers":[{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"}],"dist":{"shasum":"93e9a6ae5c70815cfab718e069411807fd6e5db4","tarball":"https://registry.npmjs.org/emberwick/-/emberwick-0.1.0.tgz","fileCount":14,"integrity":"sha512-w18sfzJWeB4c/d5zPk4YRD36HxW8d2VecInuCDkm/O0StL0uKsCvTK12/LFcQEO1lbmd4gFw1oQ8jEFW+wwSWQ==","signatures":[{"sig":"MEYCIQCQVowHDgC7KyXAm+9unTv9q9+Y4Fsr77VJSkHKqwPBNwIhAKCeXGZImQyeY6oT7ez+HSaJjsfIZ0eu/tjuDe6cFjRj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":270273},"main":"./index.js","type":"module","types":"./index.d.ts","unpkg":"./umd/emberwick.umd.js","module":"./index.js","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./umd":"./umd/emberwick.umd.js","./react":{"types":"./react.d.ts","import":"./react.js"},"./package.json":"./package.json","./webcomponent":{"types":"./webcomponent.d.ts","import":"./webcomponent.js"}},"_npmUser":{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"jsdelivr":"./umd/emberwick.umd.js","_npmVersion":"11.6.0","description":"Smooth flowing candlestick charts for the web — canvas-rendered, zero-dependency, pluggable data feeds.","directories":{},"sideEffects":["./webcomponent.js"],"_nodeVersion":"24.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"react":">=17"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/emberwick_0.1.0_1789565520409_0.9361111924924046","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"emberwick","version":"0.1.1","keywords":["candlestick","chart","charting","financial","trading","ohlc","canvas","realtime","tradingview-alternative"],"license":"MIT","_id":"emberwick@0.1.1","maintainers":[{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"}],"homepage":"https://emberwick.ldio.app/","dist":{"shasum":"460efadd8d9f5fd6e676ccb9e152294be284fa33","tarball":"https://registry.npmjs.org/emberwick/-/emberwick-0.1.1.tgz","fileCount":14,"integrity":"sha512-HsAe0xgb9ETEKPvZ9W1vuE/XRakiXEXtLsPRn124aa3ibDcfBBx4Qeg+7X2/gQoA/8ulN7asTxf5pIn7BKBNBQ==","signatures":[{"sig":"MEYCIQCZ80zJ9K/E5mKwq0SoWU1Q2LkXRp8ha30JbPJGgxE2/QIhAIisO9Wpg9NA7zYS2dvzoyTEBNiXvIVuIcBT33wuR7ZM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCID9lGilOlJF+XO/xiXdNiPEEFpKb5F+hckWcaEgJeBI/AiA3KUjmhZsY4vrRucakgxXkSjt5zf8Lmp5OJix2k4PTUQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":270318},"main":"./index.js","type":"module","types":"./index.d.ts","unpkg":"./umd/emberwick.umd.js","module":"./index.js","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./umd":"./umd/emberwick.umd.js","./react":{"types":"./react.d.ts","import":"./react.js"},"./package.json":"./package.json","./webcomponent":{"types":"./webcomponent.d.ts","import":"./webcomponent.js"}},"_npmUser":{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"jsdelivr":"./umd/emberwick.umd.js","_npmVersion":"11.6.0","description":"Smooth flowing candlestick charts for the web — canvas-rendered, zero-dependency, pluggable data feeds.","directories":{},"sideEffects":["./webcomponent.js"],"_nodeVersion":"24.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"react":">=17"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/emberwick_0.1.1_1789570033045_0.41757656334882975","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"emberwick","version":"0.2.0","keywords":["candlestick","chart","charting","financial","trading","ohlc","canvas","realtime","tradingview-alternative"],"license":"MIT","_id":"emberwick@0.2.0","maintainers":[{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"}],"dist":{"shasum":"da703ff2ce5ea59ee43efb0562d9bfa48752c294","tarball":"https://registry.npmjs.org/emberwick/-/emberwick-0.2.0.tgz","fileCount":14,"integrity":"sha512-CBYgOP6kaZYmcXZdrAE0Dc4gf+G0df2b9N9YqfZeF09zIzgMDHzQ9I5uMI2BYT3Ili5y+OoN0TFRGTPsxIv7lw==","signatures":[{"sig":"MEUCIQCGP+i4Le/rHGg4iD43QzbTw30vybW3JGegJvtP3qOZJQIgbjdbiwpY6b18AhegEY7tTJPYFiXUMfHblxW+HxuJB/s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIB3pTQU5e6+BOrnpj6HDmtDqtn+ULkWIHFEE2xz45Q5WAiAckXBjIyGHCdbO19nIga9p4LuM8qNnqebM3rpacrY/rg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":354991},"main":"./index.js","type":"module","types":"./index.d.ts","unpkg":"./umd/emberwick.umd.js","module":"./index.js","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./umd":"./umd/emberwick.umd.js","./react":{"types":"./react.d.ts","import":"./react.js"},"./package.json":"./package.json","./webcomponent":{"types":"./webcomponent.d.ts","import":"./webcomponent.js"}},"gitHead":"5cb1ca3d302b2a27fe670ac845668e3b9149d1b0","_npmUser":{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"jsdelivr":"./umd/emberwick.umd.js","_npmVersion":"11.6.0","description":"Smooth flowing candlestick charts for the web — canvas-rendered, zero-dependency, pluggable data feeds.","directories":{},"sideEffects":["./webcomponent.js"],"_nodeVersion":"24.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"react":">=17"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/emberwick_0.2.0_1789712585002_0.7731917887693764","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"emberwick","version":"0.3.0","keywords":["candlestick","chart","charting","financial","trading","ohlc","canvas","realtime","tradingview-alternative"],"license":"MIT","_id":"emberwick@0.3.0","maintainers":[{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"}],"dist":{"shasum":"5848efda63c71fed636738a27c7c3dd5f7b918cf","tarball":"https://registry.npmjs.org/emberwick/-/emberwick-0.3.0.tgz","fileCount":14,"integrity":"sha512-Z8pJaKEmP/fBpK5tfwtWqQjeShyN4DHFbfGyTWKK9RpHaOWX0bBPVhB/ewfAiOuahpvku9gC5RUUodboIvLflg==","signatures":[{"sig":"MEUCIQDFjFzMmrDRJsTCjylZGmXfHXIEvvLVYDoRyGfDKCfJAgIgYzhspYqKWuI4f20oRU1Sf87nfYNIcbi10FV11cWeocs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCGML2cyrFxegTIg9GS+Rgel1fHay+TpACCtTy4RFc7awIhANoJ9xwcKKJMc4gY8rvdImzF0mOKgQQOO9rj+f1axdXu","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":366526},"main":"./index.js","type":"module","types":"./index.d.ts","unpkg":"./umd/emberwick.umd.js","module":"./index.js","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./umd":"./umd/emberwick.umd.js","./react":{"types":"./react.d.ts","import":"./react.js"},"./package.json":"./package.json","./webcomponent":{"types":"./webcomponent.d.ts","import":"./webcomponent.js"}},"gitHead":"f0e01fc932b7cd47c9db9da1fc381dea44ac50a1","_npmUser":{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"jsdelivr":"./umd/emberwick.umd.js","_npmVersion":"11.6.0","description":"Smooth flowing candlestick charts for the web — canvas-rendered, zero-dependency, pluggable data feeds.","directories":{},"sideEffects":["./webcomponent.js"],"_nodeVersion":"24.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"react":">=17"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/emberwick_0.3.0_1789714630281_0.13488656108274677","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"emberwick","version":"0.4.0","keywords":["candlestick","chart","charting","financial","trading","ohlc","canvas","realtime","tradingview-alternative"],"license":"MIT","_id":"emberwick@0.4.0","maintainers":[{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"}],"dist":{"shasum":"169483089e9020c403c060f722706d5b2130d3f6","tarball":"https://registry.npmjs.org/emberwick/-/emberwick-0.4.0.tgz","fileCount":14,"integrity":"sha512-zfSbPSSSOrnCIlKwtVRrTGP3YX18Oee9vfXr4XxiykbdwWcyfvW/E1HLoeJuKR/v6ixxW/bNlOH3y0GAKC5ftA==","signatures":[{"sig":"MEUCIQCtWJQM20/6AUoGGRb5jdqW3B0XPi0km20Ge0vtDwoZRQIgEdbmIzsbQeUK1oDL2ls3gmjfswkAuEC16yJVEiJzims=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDA4si/oaLQHPV+5JABhuhJAJCyHsit7XRCcabpN1FBgQIhAOpxxN1SuuygPEVUlQ5jmF4VDJ4j4q/tJNy9sfigVFFM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":424758},"main":"./index.js","type":"module","types":"./index.d.ts","unpkg":"./umd/emberwick.umd.js","module":"./index.js","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./umd":"./umd/emberwick.umd.js","./react":{"types":"./react.d.ts","import":"./react.js"},"./package.json":"./package.json","./webcomponent":{"types":"./webcomponent.d.ts","import":"./webcomponent.js"}},"gitHead":"a75c9e615529c4cbb2a19f2bf5e5e0b2981049e4","_npmUser":{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"jsdelivr":"./umd/emberwick.umd.js","_npmVersion":"11.6.0","description":"Smooth flowing candlestick charts for the web — canvas-rendered, zero-dependency, pluggable data feeds.","directories":{},"sideEffects":["./webcomponent.js"],"_nodeVersion":"24.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"react":">=17"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/emberwick_0.4.0_1789733401188_0.8444094338079791","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"emberwick","version":"0.4.1","keywords":["candlestick","chart","charting","financial","trading","ohlc","canvas","realtime","tradingview-alternative"],"license":"MIT","_id":"emberwick@0.4.1","maintainers":[{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"}],"dist":{"shasum":"6fa57acbe9ae71df146c5efe8a7b92aaa62bd549","tarball":"https://registry.npmjs.org/emberwick/-/emberwick-0.4.1.tgz","fileCount":15,"integrity":"sha512-8CGyFrNCHvQW5udpQPBQXV6bU37XXZ6Ip97VcZBzR7xT0gdTdSQRW38G5a5T+U9M948a3vjp2kxAlB9HcYNbuw==","signatures":[{"sig":"MEYCIQCSsuWrqSbFUEgq3vdtKek2qiwiw+bgdNaZHO+rLGfDTgIhAP+cG7tqUr/ZLpVpz98Xx5sfI77x2rSkYuEgs9SnDhLu","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCICn37FZ+Z1NMvnziVZomGWeOvd0f0aDDdhLIvHL4N3PJAiEAwaOh7ZSoYSedCuEYU5L52VPBRgak6MYyYWc2x4A61Fo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":437821},"main":"./index.js","type":"module","types":"./index.d.ts","unpkg":"./umd/emberwick.umd.js","module":"./index.js","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./umd":"./umd/emberwick.umd.js","./react":{"types":"./react.d.ts","import":"./react.js"},"./package.json":"./package.json","./webcomponent":{"types":"./webcomponent.d.ts","import":"./webcomponent.js"}},"gitHead":"ed08ac058e92ad877e661e70616744268c1f40aa","_npmUser":{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"jsdelivr":"./umd/emberwick.umd.js","_npmVersion":"11.6.0","description":"Smooth flowing candlestick charts for the web — canvas-rendered, zero-dependency, pluggable data feeds.","directories":{},"sideEffects":["./webcomponent.js"],"_nodeVersion":"24.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"react":">=17"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/emberwick_0.4.1_1789766507087_0.8617145310337107","host":"s3://npm-registry-packages-npm-production"}},"0.4.2":{"name":"emberwick","version":"0.4.2","keywords":["candlestick","chart","charting","financial","trading","ohlc","canvas","realtime","tradingview-alternative"],"author":{"name":"Shreeshyla Hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"license":"MIT","_id":"emberwick@0.4.2","maintainers":[{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"}],"homepage":"https://emberwick.ldio.app","bugs":{"url":"https://github.com/shreeshyla-hanasoge/Emberwick/issues"},"dist":{"shasum":"e1d33c75a2e8ed25b845112a0057ae6b739eb60c","tarball":"https://registry.npmjs.org/emberwick/-/emberwick-0.4.2.tgz","fileCount":15,"integrity":"sha512-xwifB+Olj8IN6r+mksd74p+dYqVfrXbFQ+wfm1wMUS+X+IIoDujGUK8N8TOmbFd5RqLpRqQ/86raANtBiGtd+A==","signatures":[{"sig":"MEQCICkyFhM25yqF/75wnhIlcOU+oYHSQsvZBiZvMRMxmWIqAiBT1GnsaDfb4S7GlGtlACHm6bUuFZ5XBdnVQBiMjUQfTg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIHPh7ETeDHe96LNAVII59lbkU4aal8UzrIzhoc1lCJNWAiAJDR4QHyuozzjMFmUSmXC0UE65A2T94rCc5WyQurkQHg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":438664},"main":"./index.js","type":"module","types":"./index.d.ts","unpkg":"./umd/emberwick.umd.js","module":"./index.js","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./umd":"./umd/emberwick.umd.js","./react":{"types":"./react.d.ts","import":"./react.js"},"./package.json":"./package.json","./webcomponent":{"types":"./webcomponent.d.ts","import":"./webcomponent.js"}},"gitHead":"7ba2d889c400fa6e025ff0d0b3316c11f6ad0481","_npmUser":{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"jsdelivr":"./umd/emberwick.umd.js","repository":{"url":"git+https://github.com/shreeshyla-hanasoge/Emberwick.git","type":"git"},"_npmVersion":"11.6.0","description":"Smooth flowing candlestick charts for the web — canvas-rendered, zero-dependency, pluggable data feeds.","directories":{},"sideEffects":["./webcomponent.js"],"_nodeVersion":"24.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"react":">=17"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/emberwick_0.4.2_1789766912609_0.843937206612051","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"emberwick","version":"0.5.0","keywords":["candlestick","chart","charting","financial","trading","ohlc","canvas","realtime","tradingview-alternative"],"author":{"name":"Shreeshyla Hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"license":"MIT","_id":"emberwick@0.5.0","maintainers":[{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"}],"homepage":"https://emberwick.ldio.app","bugs":{"url":"https://github.com/shreeshyla-hanasoge/Emberwick/issues"},"dist":{"shasum":"c3b25256561546a4ca471c895f917eb8c51abd35","tarball":"https://registry.npmjs.org/emberwick/-/emberwick-0.5.0.tgz","fileCount":15,"integrity":"sha512-LqpUngbDs6ScMQq7R4zO9FW52JBK5GI+pzyAlMVoI/mSecAaHFZHa+pWxUtkRHK0NtFOcnqQydjRu4zFv0WAtA==","signatures":[{"sig":"MEQCIHzdTcyf6Bo6nwt0O0cQuNk0rxlFPmzFphkZuBTaM3i9AiAGP8Ebdle48B/vJLhpF+SVqzhqmYsetmhA7HrBmXFotA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQC5ZgGS+sTeohRMyRznD5AnrdqYqpTD/PJV0QhT2BsC/QIhANgq7A+Wq+pKYVsiyHUDDOJSPXIH+mKlTVChw4MzHiuR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":469152},"main":"./index.js","type":"module","types":"./index.d.ts","unpkg":"./umd/emberwick.umd.js","module":"./index.js","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./umd":"./umd/emberwick.umd.js","./react":{"types":"./react.d.ts","import":"./react.js"},"./package.json":"./package.json","./webcomponent":{"types":"./webcomponent.d.ts","import":"./webcomponent.js"}},"gitHead":"7ba2d889c400fa6e025ff0d0b3316c11f6ad0481","_npmUser":{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"jsdelivr":"./umd/emberwick.umd.js","repository":{"url":"git+https://github.com/shreeshyla-hanasoge/Emberwick.git","type":"git"},"_npmVersion":"11.6.0","description":"Smooth flowing candlestick charts for the web — canvas-rendered, zero-dependency, pluggable data feeds.","directories":{},"sideEffects":["./webcomponent.js"],"_nodeVersion":"24.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"react":">=17"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/emberwick_0.5.0_1789767787504_0.1824922330837908","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"emberwick","version":"0.5.1","keywords":["candlestick","chart","charting","financial","trading","ohlc","canvas","realtime","tradingview-alternative"],"author":{"name":"Shreeshyla Hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"license":"MIT","_id":"emberwick@0.5.1","maintainers":[{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"}],"homepage":"https://emberwick.ldio.app","bugs":{"url":"https://github.com/shreeshyla-hanasoge/Emberwick/issues"},"dist":{"shasum":"e5e9f8ab1d1a3a1268e186ca54397f943e6d8b57","tarball":"https://registry.npmjs.org/emberwick/-/emberwick-0.5.1.tgz","fileCount":15,"integrity":"sha512-2Bmk7X/PNSDHIJD265mutwOqe5fNWk8OhS8U+qdKsxbJaSiTgli7B7ylIQUHh8nioC5zCM8YXZJBh/aczaYrsg==","signatures":[{"sig":"MEUCIQCGZr5Z4aEXIoVebHpii1G59SL9j7fyOQHIsU/m6WjefQIgeqN3NpnWMoI0N3lW7hUlwNHChS3vaumATK7y+Wo5+K8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIDg+/S/A4Qpa8UjAGnfnURm4rUUVE5dtcqkAEJa2Czu3AiEA6EdwcYRxzXN/OuImBEO+GNhST55VDNb7kEdxgnIIr9E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":496697},"main":"./index.js","type":"module","types":"./index.d.ts","unpkg":"./umd/emberwick.umd.js","module":"./index.js","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./umd":"./umd/emberwick.umd.js","./react":{"types":"./react.d.ts","import":"./react.js"},"./package.json":"./package.json","./webcomponent":{"types":"./webcomponent.d.ts","import":"./webcomponent.js"}},"gitHead":"7c5aaf2a4b954b24e1570107c2a2d324df217fc7","_npmUser":{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"jsdelivr":"./umd/emberwick.umd.js","repository":{"url":"git+https://github.com/shreeshyla-hanasoge/Emberwick.git","type":"git"},"_npmVersion":"11.6.0","description":"Smooth flowing candlestick charts for the web — canvas-rendered, zero-dependency, pluggable data feeds.","directories":{},"sideEffects":["./webcomponent.js"],"_nodeVersion":"24.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"react":">=17"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/emberwick_0.5.1_1789812160757_0.8523924801319118","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"emberwick","version":"0.6.0","keywords":["candlestick","chart","charting","financial","trading","ohlc","canvas","realtime","tradingview-alternative"],"author":{"name":"Shreeshyla Hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"license":"MIT","_id":"emberwick@0.6.0","maintainers":[{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"}],"homepage":"https://emberwick.ldio.app","bugs":{"url":"https://github.com/shreeshyla-hanasoge/Emberwick/issues"},"dist":{"shasum":"0426ad15541d1291ffab6533008682e528848b33","tarball":"https://registry.npmjs.org/emberwick/-/emberwick-0.6.0.tgz","fileCount":15,"integrity":"sha512-B9zPZYtD4EoUxK4WQAzkL44yz6enKqjhyIqn3kw/M8jQ14f7KQbm6QUtAhlciWcMPJasDS2RHJB9H7ZeY03LqA==","signatures":[{"sig":"MEQCICNUP0CeazcDBeSZMd0iHVwHj45tEwWmmBp8CiYiUAETAiA/CoFi3Z5+q7hv4N+25tqT7THjL/xXoJgd0OB2Z6nI9A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDLf0KWolsFmaXs9kaJZU5mgPWBuB3XZKThDi21aP0j+wIhAIf5wG8v9VWZN7zsberSXTf3uOFSFBEFpzstHvLN+Ayz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":516203},"main":"./index.js","type":"module","types":"./index.d.ts","unpkg":"./umd/emberwick.umd.js","module":"./index.js","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./react":{"types":"./react.d.ts","import":"./react.js"},"./package.json":"./package.json","./webcomponent":{"types":"./webcomponent.d.ts","import":"./webcomponent.js"}},"gitHead":"9d7d84b849c692d86fe766ff40d00c668f1c089c","_npmUser":{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"jsdelivr":"./umd/emberwick.umd.js","repository":{"url":"git+https://github.com/shreeshyla-hanasoge/Emberwick.git","type":"git"},"_npmVersion":"11.6.0","description":"Smooth flowing candlestick charts for the web — canvas-rendered, zero-dependency, pluggable data feeds.","directories":{},"sideEffects":["./webcomponent.js"],"_nodeVersion":"24.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"react":">=17"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/emberwick_0.6.0_1789819545393_0.24051641561300396","host":"s3://npm-registry-packages-npm-production"}},"0.6.2":{"name":"emberwick","version":"0.6.2","keywords":["candlestick","chart","charting","financial","trading","ohlc","canvas","realtime","tradingview-alternative"],"author":{"name":"Shreeshyla Hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"license":"MIT","_id":"emberwick@0.6.2","maintainers":[{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"}],"homepage":"https://emberwick.ldio.app","bugs":{"url":"https://github.com/shreeshyla-hanasoge/Emberwick/issues"},"dist":{"shasum":"7cb4676fe6a1d17802aec7c3ea685c55d94d94f1","tarball":"https://registry.npmjs.org/emberwick/-/emberwick-0.6.2.tgz","fileCount":15,"integrity":"sha512-bRCPg7I0UK4weQkKehRNFwsQJTvVOKyqMxfsk3Uwtbe+JpEhKspV9/2P2YiqH3PvLAQURrTtV0DaB4yJVXWYdg==","signatures":[{"sig":"MEUCIApOAOuYKCrL1oKoz04TmIxI33HJAWkQV1sJ2TBN+dtsAiEAmWVWhNclM8FqrSnGU2HObBEObKseR24Zf32s9HivGcs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDtMcZ5reR6GZW7d3jEfyrF4NBPxmVGa5aV3TP/Mf3CNQIhAOoQYc0dCcw7ID7fNsrpgmVhL495T+A8Fp6wM6CKH5Rc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":532893},"main":"./index.js","type":"module","types":"./index.d.ts","unpkg":"./umd/emberwick.umd.js","module":"./index.js","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./react":{"types":"./react.d.ts","import":"./react.js"},"./package.json":"./package.json","./webcomponent":{"types":"./webcomponent.d.ts","import":"./webcomponent.js"}},"gitHead":"222318a792ac2a699c0985a469dfe1ac83c227a0","_npmUser":{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"jsdelivr":"./umd/emberwick.umd.js","repository":{"url":"git+https://github.com/shreeshyla-hanasoge/Emberwick.git","type":"git"},"_npmVersion":"11.6.0","description":"Smooth flowing candlestick charts for the web — canvas-rendered, zero-dependency, pluggable data feeds.","directories":{},"sideEffects":["./webcomponent.js"],"_nodeVersion":"24.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"react":">=17"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/emberwick_0.6.2_1789887630624_0.4805148518485485","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"emberwick","version":"0.7.0","keywords":["candlestick","chart","charting","financial","trading","ohlc","canvas","realtime","tradingview-alternative"],"author":{"name":"Shreeshyla Hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"license":"MIT","_id":"emberwick@0.7.0","maintainers":[{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"}],"homepage":"https://emberwick.ldio.app","bugs":{"url":"https://github.com/shreeshyla-hanasoge/Emberwick/issues"},"dist":{"shasum":"5b9d17c90f7b5b2dc869a85845a112aa3ccff32f","tarball":"https://registry.npmjs.org/emberwick/-/emberwick-0.7.0.tgz","fileCount":15,"integrity":"sha512-LyKj2bCyLkmikbt/O+q/VGm1RNs5emljGKLsNvNU+rBbSBhtnKHLTTs00V4YG9/NmaHoei7YJZQXBQrI6zaACg==","signatures":[{"sig":"MEQCIADVsBvsQ7gwaD9HZsba9/DDD7AERX1iH/aACd600uIaAiAW5Q6lECVgE7Ok+IXLfvwcT95330J5RPm5ihq+LKoNeA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDWTXIY+A7Q0PZlpkpc+hC9mzUKObYSkT79iC3xaCNecgIgJ6QaZOTQOctcKFS7wEmHm+93fcbxkM6lTNLRSceqW9s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":586660},"main":"./index.js","type":"module","types":"./index.d.ts","unpkg":"./umd/emberwick.umd.js","module":"./index.js","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./react":{"types":"./react.d.ts","import":"./react.js"},"./package.json":"./package.json","./webcomponent":{"types":"./webcomponent.d.ts","import":"./webcomponent.js"}},"gitHead":"5c1255832bb8222c52884a1ff22b5861d86bb251","_npmUser":{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"jsdelivr":"./umd/emberwick.umd.js","repository":{"url":"git+https://github.com/shreeshyla-hanasoge/Emberwick.git","type":"git"},"_npmVersion":"11.6.0","description":"Smooth flowing candlestick charts for the web — canvas-rendered, zero-dependency, pluggable data feeds.","directories":{},"sideEffects":["./webcomponent.js"],"_nodeVersion":"24.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"react":">=17"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/emberwick_0.7.0_1789888151814_0.7688019475533847","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"emberwick","version":"0.8.0","keywords":["candlestick","chart","charting","financial","trading","ohlc","canvas","realtime","tradingview-alternative"],"author":{"name":"Shreeshyla Hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"license":"MIT","_id":"emberwick@0.8.0","maintainers":[{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"}],"homepage":"https://emberwick.ldio.app","bugs":{"url":"https://github.com/shreeshyla-hanasoge/Emberwick/issues"},"dist":{"shasum":"8816d19c8ab0e20a2cf650d72e1b543cc35027b6","tarball":"https://registry.npmjs.org/emberwick/-/emberwick-0.8.0.tgz","fileCount":15,"integrity":"sha512-NOaPS/MNZY6S/UltqoU70CbflwZxGk4DDQFvciSvOfNiIdIL6n9daAx3Lxkniaf9tgD4kdyVhaQrjPZq+j0N0g==","signatures":[{"sig":"MEQCICBbZH5ObBVmMFdVPl9TcYTb7w2HjutMlGIXgkgEfsVfAiB8qzFYn11BfYl7EE3noDwgOdbVEA4nZPBtZh6F88zyoA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIESbjrjpsxmA037RPJAML8n9JUkH2MPNKPCgumL3bHiVAiEAxdzxAiGlOG/LHAsj3Dh+8wjEl7pxxYprXxgOoUyxIaw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":615261},"main":"./index.js","type":"module","types":"./index.d.ts","unpkg":"./umd/emberwick.umd.js","module":"./index.js","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./react":{"types":"./react.d.ts","import":"./react.js"},"./package.json":"./package.json","./webcomponent":{"types":"./webcomponent.d.ts","import":"./webcomponent.js"}},"gitHead":"132c2362e69dad75bef18e7e46ea4c9821a45cdc","_npmUser":{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"jsdelivr":"./umd/emberwick.umd.js","repository":{"url":"git+https://github.com/shreeshyla-hanasoge/Emberwick.git","type":"git"},"_npmVersion":"11.6.0","description":"Smooth flowing candlestick charts for the web — canvas-rendered, zero-dependency, pluggable data feeds.","directories":{},"sideEffects":["./webcomponent.js"],"_nodeVersion":"24.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"react":">=17"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/emberwick_0.8.0_1789888716161_0.4324328298889064","host":"s3://npm-registry-packages-npm-production"}},"0.9.0":{"name":"emberwick","version":"0.9.0","keywords":["candlestick","chart","charting","financial","trading","ohlc","canvas","realtime","tradingview-alternative"],"author":{"name":"Shreeshyla Hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"license":"MIT","_id":"emberwick@0.9.0","maintainers":[{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"}],"homepage":"https://emberwick.ldio.app","bugs":{"url":"https://github.com/shreeshyla-hanasoge/Emberwick/issues"},"dist":{"shasum":"6ce44dae666d3be3e31fc52b192cf002f0d15aaf","tarball":"https://registry.npmjs.org/emberwick/-/emberwick-0.9.0.tgz","fileCount":15,"integrity":"sha512-DhQJGOy9nWSDIm6IDb92mHWGlZciYFjOlcxrqDUlbdpWJepvq9R2AqF5xrbsPgAJHbgVeywKtEFc458D077QVA==","signatures":[{"sig":"MEQCIBMiMsEUoPoyNq3DWd0MWrsLBEqjfvQNyCtXF+2NPOw0AiA6s5OAiqI7LaRrkWfSYi1vWIYPlj7ZblICJQsyqzuWHw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIBGys7BY8oxeulf7WkdlzfH/oE1kgMt5D9lTLx2rkQsRAiA0m3yn1K1GAy5EslwJ8HlyR9bjurYRRyXkQvKlb06ekA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":664469},"main":"./index.js","type":"module","types":"./index.d.ts","unpkg":"./umd/emberwick.umd.js","module":"./index.js","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./react":{"types":"./react.d.ts","import":"./react.js"},"./package.json":"./package.json","./webcomponent":{"types":"./webcomponent.d.ts","import":"./webcomponent.js"}},"gitHead":"071eaab7eaef8b77e5cd3645d685c21f9b4fb1bc","_npmUser":{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"jsdelivr":"./umd/emberwick.umd.js","repository":{"url":"git+https://github.com/shreeshyla-hanasoge/Emberwick.git","type":"git"},"_npmVersion":"11.6.0","description":"Smooth flowing candlestick charts for the web — canvas-rendered, zero-dependency, pluggable data feeds.","directories":{},"sideEffects":["./webcomponent.js"],"_nodeVersion":"24.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"react":">=17"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/emberwick_0.9.0_1789900089714_0.4845821130228096","host":"s3://npm-registry-packages-npm-production"}},"0.10.0":{"name":"emberwick","version":"0.10.0","keywords":["candlestick","chart","charting","financial","trading","ohlc","canvas","realtime","tradingview-alternative"],"author":{"name":"Shreeshyla Hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"license":"MIT","_id":"emberwick@0.10.0","maintainers":[{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"}],"homepage":"https://emberwick.ldio.app","bugs":{"url":"https://github.com/shreeshyla-hanasoge/Emberwick/issues"},"dist":{"shasum":"de3234a810e0e3803afae5e33face97955c35c8d","tarball":"https://registry.npmjs.org/emberwick/-/emberwick-0.10.0.tgz","fileCount":15,"integrity":"sha512-58gZaGey8VLtK21QqhbvztiBbjJrUBs0rHZnjx297tnKjgvVmrfGlMFlZ1wlQiAVlMzASzlEzO/cUQdpB7v2Iw==","signatures":[{"sig":"MEUCIBQvlG8sMvBaNr3cl26lUOgWjXPoW3d3KwsoHgt/0YCbAiEA3FARX+y732SNVKBZp1tQaDQieQeeTyXTbjbiWzog18I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCQwm2cPglNzbiIn6Bbzo6LHGgwTlAWxnl1qvzQZ7On5AIgXsPLzLX+gm03qo+9L6zoB6ifrAr3nUeR3AqA8Kclfqk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":739537},"main":"./index.js","type":"module","types":"./index.d.ts","unpkg":"./umd/emberwick.umd.js","module":"./index.js","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./react":{"types":"./react.d.ts","import":"./react.js"},"./package.json":"./package.json","./webcomponent":{"types":"./webcomponent.d.ts","import":"./webcomponent.js"}},"gitHead":"9894ffd02b2dd9db9b2cca96768a334b0f2ff3a5","_npmUser":{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"jsdelivr":"./umd/emberwick.umd.js","repository":{"url":"git+https://github.com/shreeshyla-hanasoge/Emberwick.git","type":"git"},"_npmVersion":"11.6.0","description":"Smooth flowing candlestick charts for the web — canvas-rendered, zero-dependency, pluggable data feeds.","directories":{},"sideEffects":["./webcomponent.js"],"_nodeVersion":"24.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"react":">=17"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/emberwick_0.10.0_1789932439988_0.22516189491234262","host":"s3://npm-registry-packages-npm-production"}},"0.11.0":{"name":"emberwick","version":"0.11.0","keywords":["candlestick","chart","charting","financial","trading","ohlc","canvas","realtime","tradingview-alternative"],"author":{"name":"Shreeshyla Hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"license":"MIT","_id":"emberwick@0.11.0","maintainers":[{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"}],"homepage":"https://emberwick.ldio.app","bugs":{"url":"https://github.com/shreeshyla-hanasoge/Emberwick/issues"},"dist":{"shasum":"ada06d233b415d541210afe4930f6d655d6f5db1","tarball":"https://registry.npmjs.org/emberwick/-/emberwick-0.11.0.tgz","fileCount":15,"integrity":"sha512-6foTEE0hJggBi79t63oaeX/dABC47AEb/oEk/Cr/R5dcqx3T7bRrt5wxBdxIeUu3d73xpak3ZZLoRCj11cWm1A==","signatures":[{"sig":"MEUCIHNbjeaA5q2XQXYBWRbAgNvCo4BEcSmlo7fg9Vc4obc0AiEA0VwUep/rhbxMjvVGKyAXmZJp5R/FYd7cV+3IgpWpZek=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIB86bddEwNyEPf8UsJEm5qWv5r/bPR1FLR4y3yNCOordAiBJ5y4R4KGe04MPO2mDfsTurQU1GErhgYn06tqKNpUaeA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":778477},"main":"./index.js","type":"module","types":"./index.d.ts","unpkg":"./umd/emberwick.umd.js","module":"./index.js","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./react":{"types":"./react.d.ts","import":"./react.js"},"./package.json":"./package.json","./webcomponent":{"types":"./webcomponent.d.ts","import":"./webcomponent.js"}},"gitHead":"9cf01a5662d0da5f51c1c6a23d7fb88ea866702b","_npmUser":{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"jsdelivr":"./umd/emberwick.umd.js","repository":{"url":"git+https://github.com/shreeshyla-hanasoge/Emberwick.git","type":"git"},"_npmVersion":"11.6.0","description":"Smooth flowing candlestick charts for the web — canvas-rendered, zero-dependency, pluggable data feeds.","directories":{},"sideEffects":["./webcomponent.js"],"_nodeVersion":"24.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"react":">=17"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/emberwick_0.11.0_1790357024601_0.849765414185436","host":"s3://npm-registry-packages-npm-production"}},"0.12.0":{"name":"emberwick","version":"0.12.0","keywords":["candlestick","chart","charting","financial","trading","ohlc","canvas","realtime","tradingview-alternative","drawing-tools","fibonacci","trendline"],"author":{"name":"Shreeshyla Hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"license":"MIT","_id":"emberwick@0.12.0","maintainers":[{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"}],"homepage":"https://emberwick.ldio.app","bugs":{"url":"https://github.com/shreeshyla-hanasoge/Emberwick/issues"},"dist":{"shasum":"9b2a7cbd4b5db04d928607a869da609bf2ee4073","tarball":"https://registry.npmjs.org/emberwick/-/emberwick-0.12.0.tgz","fileCount":20,"integrity":"sha512-U6zNSThjt1tjEl/5HVmd0/I3Nf/kSV94Z7R8SPofTtIqyhEaPPlhWUP+MAKBhxo6zr3qT+ztMcQpqU8shSzU7w==","signatures":[{"sig":"MEUCIBZi0LhU89kw4ng2o1cM/bUyIwAyFpu43x5tCWZ67EjdAiEAlSvCK7N2MnNlKL21MAG0KaspFDNQLH7uZxWe7Yj/0RA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIFyzOEgWIffdo3GDRGPx9pBvfDecujFALlJsL9G9XV7KAiEAsjvvkdaKPjy3vzg366WSjso+Pc/vW+4fbeZYatpeMc8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2765385},"main":"./index.js","type":"module","types":"./index.d.ts","unpkg":"./umd/emberwick.umd.js","module":"./index.js","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./react":{"types":"./react.d.ts","import":"./react.js"},"./drawings":{"types":"./drawings.d.ts","import":"./drawings.js"},"./package.json":"./package.json","./webcomponent":{"types":"./webcomponent.d.ts","import":"./webcomponent.js"}},"gitHead":"3ff02688f3ef9991b0cd34c9645a8464fbae135e","_npmUser":{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"jsdelivr":"./umd/emberwick.umd.js","repository":{"url":"git+https://github.com/shreeshyla-hanasoge/Emberwick.git","type":"git"},"_npmVersion":"11.6.0","description":"Smooth flowing candlestick charts for the web — canvas-rendered, zero-dependency, pluggable data feeds.","directories":{},"sideEffects":["./webcomponent.js"],"_nodeVersion":"24.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"react":">=17"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/emberwick_0.12.0_1790791699997_0.5732868696056805","host":"s3://npm-registry-packages-npm-production"}},"0.13.0":{"name":"emberwick","version":"0.13.0","keywords":["candlestick","chart","charting","financial","trading","ohlc","canvas","realtime","tradingview-alternative","drawing-tools","fibonacci","trendline","volume-profile","market-profile"],"author":{"name":"Shreeshyla Hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"license":"MIT","_id":"emberwick@0.13.0","maintainers":[{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"}],"homepage":"https://emberwick.ldio.app","bugs":{"url":"https://github.com/shreeshyla-hanasoge/Emberwick/issues"},"dist":{"shasum":"02556617e6c33d1ab2447cfa76376a236050ab69","tarball":"https://registry.npmjs.org/emberwick/-/emberwick-0.13.0.tgz","fileCount":25,"integrity":"sha512-jiVjVR6CHRfbVjz055bisJtYF7LOIplHFzlpruJciWdGiDbLpERw1tCj7z2WRLiT15KeICcRWNG3Bf+o+qSarg==","signatures":[{"sig":"MEQCIC4uaiRR3/BURpIylSVmMZwysqobkVIQlUylN0L3CkCuAiAmAlYVDK1+csJHdt7PoH3rV/eP1HAupeMj2L80Z2Txxg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEMCH39ofsz0LIjmZ/uAErX2GHcdE7sXQCMO3VWCZ/t55WsCIGnhuefIDSKo4Xz0orDnDM4bT2jLguQvIpLKNwDJ2UcI","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3022971},"main":"./index.js","type":"module","types":"./index.d.ts","unpkg":"./umd/emberwick.umd.js","module":"./index.js","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./react":{"types":"./react.d.ts","import":"./react.js"},"./drawings":{"types":"./drawings.d.ts","import":"./drawings.js"},"./profiles":{"types":"./profiles.d.ts","import":"./profiles.js"},"./package.json":"./package.json","./webcomponent":{"types":"./webcomponent.d.ts","import":"./webcomponent.js"}},"_npmUser":{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"jsdelivr":"./umd/emberwick.umd.js","repository":{"url":"git+https://github.com/shreeshyla-hanasoge/Emberwick.git","type":"git"},"_npmVersion":"11.6.0","description":"Smooth flowing candlestick charts for the web — canvas-rendered, zero-dependency, pluggable data feeds.","directories":{},"sideEffects":["./webcomponent.js"],"_nodeVersion":"24.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"react":">=17"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/emberwick_0.13.0_1790924214891_0.7460641338895821","host":"s3://npm-registry-packages-npm-production"}},"0.14.0":{"name":"emberwick","version":"0.14.0","keywords":["candlestick","chart","charting","financial","trading","ohlc","canvas","realtime","tradingview-alternative","drawing-tools","fibonacci","trendline","volume-profile","market-profile"],"author":{"name":"Shreeshyla Hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"license":"MIT","_id":"emberwick@0.14.0","maintainers":[{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"}],"homepage":"https://emberwick.ldio.app","bugs":{"url":"https://github.com/shreeshyla-hanasoge/Emberwick/issues"},"dist":{"shasum":"71767e9f1a030796b3e68d292ab406f55bfa6e35","tarball":"https://registry.npmjs.org/emberwick/-/emberwick-0.14.0.tgz","fileCount":25,"integrity":"sha512-nCosE1OwrZ29R5hu6kTS8ivf5DaoEnhfi+aS53evfJBvZyv5pZUsP4UDWssIe6uAU3y5fsI6dNtvvk42et7T2Q==","signatures":[{"sig":"MEQCICFVs2lzJx2cq2dDYYEAl37Kb18gLSHFDsQu0Rh3psDqAiAPsqeAGRJI8Cs4b5KTILZDmurhkWe5zGiKnJVnDRjsHg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIHt+tef4hBs7rzde6axAL3qoufZC5lWVFA9ltpCaCRwWAiEA/LM/H9RBRcJwGPlBq9Nhe/RJJidDyOgoAmqfMA+EYXU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3056614},"main":"./index.js","type":"module","types":"./index.d.ts","unpkg":"./umd/emberwick.umd.js","module":"./index.js","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./react":{"types":"./react.d.ts","import":"./react.js"},"./drawings":{"types":"./drawings.d.ts","import":"./drawings.js"},"./profiles":{"types":"./profiles.d.ts","import":"./profiles.js"},"./package.json":"./package.json","./webcomponent":{"types":"./webcomponent.d.ts","import":"./webcomponent.js"}},"_npmUser":{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"jsdelivr":"./umd/emberwick.umd.js","repository":{"url":"git+https://github.com/shreeshyla-hanasoge/Emberwick.git","type":"git"},"_npmVersion":"11.6.0","description":"Smooth flowing candlestick charts for the web — canvas-rendered, zero-dependency, pluggable data feeds.","directories":{},"sideEffects":["./webcomponent.js"],"_nodeVersion":"24.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"react":">=17"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/emberwick_0.14.0_1791540363076_0.6318793601662993","host":"s3://npm-registry-packages-npm-production"}},"0.14.1":{"name":"emberwick","version":"0.14.1","keywords":["candlestick","chart","charting","financial","trading","ohlc","canvas","realtime","tradingview-alternative","drawing-tools","fibonacci","trendline","volume-profile","market-profile"],"author":{"name":"Shreeshyla Hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"license":"MIT","_id":"emberwick@0.14.1","maintainers":[{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"}],"homepage":"https://emberwick.ldio.app","bugs":{"url":"https://github.com/shreeshyla-hanasoge/Emberwick/issues"},"dist":{"shasum":"56f7175d6206992a2b783bab672ded291cdcef8c","tarball":"https://registry.npmjs.org/emberwick/-/emberwick-0.14.1.tgz","fileCount":25,"integrity":"sha512-CjhneJM2Somp5wGg+oErND3eW42ZUAGhOZsuP/oStoY7SMC64rbczB/YvBEZaHyVl5apvLjGICsoaWNjhS5hBQ==","signatures":[{"sig":"MEUCIQCeTtYuaf6f8bWR2Vpd20I9SR6GxyGvXY4sC1DEeRo4nwIgCF8qjgvmT/flyy2htahnFO0z8pilI+xRQILJyOhK1fI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDmt3majCm4VUE+aTKYfXXOIp7SEs8SE8hiYg3y1rp3FwIgU4LtwrQkSIwzBdUoSYSpuXRWiwohLUvKKyTOD1cupJo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3059043},"main":"./index.js","type":"module","types":"./index.d.ts","unpkg":"./umd/emberwick.umd.js","module":"./index.js","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./react":{"types":"./react.d.ts","import":"./react.js"},"./drawings":{"types":"./drawings.d.ts","import":"./drawings.js"},"./profiles":{"types":"./profiles.d.ts","import":"./profiles.js"},"./package.json":"./package.json","./webcomponent":{"types":"./webcomponent.d.ts","import":"./webcomponent.js"}},"gitHead":"68843896241d86aadf5d9a9e9ac5661b9de43a62","_npmUser":{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"jsdelivr":"./umd/emberwick.umd.js","repository":{"url":"git+https://github.com/shreeshyla-hanasoge/Emberwick.git","type":"git"},"_npmVersion":"11.6.0","description":"Smooth flowing candlestick charts for the web — canvas-rendered, zero-dependency, pluggable data feeds.","directories":{},"sideEffects":["./webcomponent.js"],"_nodeVersion":"24.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"react":">=17"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/emberwick_0.14.1_1792069398597_0.16174715988645216","host":"s3://npm-registry-packages-npm-production"}},"0.14.2":{"_id":"emberwick@0.14.2","bugs":{"url":"https://github.com/shreeshyla-hanasoge/Emberwick/issues"},"dist":{"shasum":"278d3011b8e9e9efca7b3977794ca32dc56eb1c2","tarball":"https://registry.npmjs.org/emberwick/-/emberwick-0.14.2.tgz","fileCount":25,"integrity":"sha512-DVO840jIn5tBIpycom6NbfcR32uvWPFG17mP6y/lI/n8x2/lyVcKeOMVfknkYn/7aSRBiY9ZkDCfgsYjYjeN9A==","signatures":[{"sig":"MEQCIF+KuxYFin52WajxwqNw0yuZyFeDEv37khVFf8tjauFRAiAtJZOZbR0YPXFG1WDTd6E6hPYfZG5rCI4qcIirLUgGBg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFBvK8sXwaHQ8DCtZbu/BHBP6cU1lcEbLqvk2U8inIalAiBZigaIYR4FHHNK2qrt3b7UqoKRe1magLKgVuSRz23D3Q=="}],"unpackedSize":3061295},"main":"./index.js","name":"emberwick","type":"module","types":"./index.d.ts","unpkg":"./umd/emberwick.umd.js","author":{"name":"Shreeshyla Hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"module":"./index.js","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./react":{"types":"./react.d.ts","import":"./react.js"},"./drawings":{"types":"./drawings.d.ts","import":"./drawings.js"},"./profiles":{"types":"./profiles.d.ts","import":"./profiles.js"},"./package.json":"./package.json","./webcomponent":{"types":"./webcomponent.d.ts","import":"./webcomponent.js"}},"gitHead":"bb0e013223b25a430f2962f279eccec10f1cb8d8","license":"MIT","version":"0.14.2","_npmUser":{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"homepage":"https://emberwick.ldio.app","jsdelivr":"./umd/emberwick.umd.js","keywords":["candlestick","chart","charting","financial","trading","ohlc","canvas","realtime","tradingview-alternative","drawing-tools","fibonacci","trendline","volume-profile","market-profile"],"repository":{"url":"git+https://github.com/shreeshyla-hanasoge/Emberwick.git","type":"git"},"_npmVersion":"11.6.0","description":"Smooth flowing candlestick charts for the web — canvas-rendered, zero-dependency, pluggable data feeds.","directories":{},"maintainers":[{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"}],"sideEffects":["./webcomponent.js"],"_nodeVersion":"24.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"react":">=17"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/emberwick_0.14.2_1792075451008_0.9803320922795444"}}},"time":{"created":"2026-09-16T13:32:00.057Z","modified":"2026-10-15T14:44:11.336Z","0.1.0":"2026-09-16T13:32:00.527Z","0.1.1":"2026-09-16T14:47:13.151Z","0.2.0":"2026-09-18T06:23:05.119Z","0.3.0":"2026-09-18T06:57:10.476Z","0.4.0":"2026-09-18T12:10:01.301Z","0.4.1":"2026-09-18T21:21:47.200Z","0.4.2":"2026-09-18T21:28:32.734Z","0.5.0":"2026-09-18T21:43:07.604Z","0.5.1":"2026-09-19T10:02:40.845Z","0.6.0":"2026-09-19T12:05:45.476Z","0.6.2":"2026-09-20T07:00:30.702Z","0.7.0":"2026-09-20T07:09:11.922Z","0.8.0":"2026-09-20T07:18:36.278Z","0.9.0":"2026-09-20T10:28:09.839Z","0.10.0":"2026-09-20T19:27:20.076Z","0.11.0":"2026-09-25T17:23:44.705Z","0.12.0":"2026-09-30T18:08:20.141Z","0.13.0":"2026-10-02T06:56:55.045Z","0.14.0":"2026-10-09T10:06:03.174Z","0.14.1":"2026-10-15T13:03:18.711Z","0.14.2":"2026-10-15T14:44:11.141Z"},"bugs":{"url":"https://github.com/shreeshyla-hanasoge/Emberwick/issues"},"author":{"name":"Shreeshyla Hanasoge","email":"shreeshyla.hanasoge@gmail.com"},"license":"MIT","homepage":"https://emberwick.ldio.app","keywords":["candlestick","chart","charting","financial","trading","ohlc","canvas","realtime","tradingview-alternative","drawing-tools","fibonacci","trendline","volume-profile","market-profile"],"repository":{"url":"git+https://github.com/shreeshyla-hanasoge/Emberwick.git","type":"git"},"description":"Smooth flowing candlestick charts for the web — canvas-rendered, zero-dependency, pluggable data feeds.","maintainers":[{"name":"shreeshyla.hanasoge","email":"shreeshyla.hanasoge@gmail.com"}],"readme":"# Emberwick\n\nA smooth-flowing candlestick chart for the web. Canvas-rendered, framework-free,\nand driven by a pluggable data feed — drop it into any financial frontend and\npoint it at your own market data.\n\n- **Zero dependencies.** The core imports nothing but DOM and Canvas APIs.\n- **Framework-agnostic.** Works in React, Vue, Svelte, or a plain `<script type=\"module\">`.\n- **Actually smooth.** Ticks ease into the forming candle, the price axis glides\n  to new bounds, zoom is cursor-anchored and eased, panning has inertia.\n  (While a live feed is attached and the chart is following realtime, zoom\n  holds the right edge instead, so the newest candle stays put.)\n- **Fast on big data.** One `requestAnimationFrame` loop, dirty-flag driven,\n  with visible-range culling — 500k bars loaded costs only the ~200 on screen.\n- **Annotated.** Nine marker shapes, price lines and shaded zones, with\n  collision-aware stacking and hit-testing for hover and click.\n- **Drawn on.** Trendlines, Fibonacci, channels, ranges and positions, pinned\n  to time and price, snapped where you mean and undoable — in a separate entry\n  that is absent from your bundle until you import it. See\n  [Drawing tools](#drawing-tools).\n- **Profiled.** Session and visible-range volume profiles with the point of\n  control and value area, drawn under the candles from data you supply, in a\n  third entry that is also absent until you import it. See\n  [Volume profiles](#volume-profiles).\n\n---\n\n## Installing\n\n### From npm\n\n```bash\nnpm install emberwick\n```\n\n```js\nimport { createChart, RandomFeed } from 'emberwick'\n```\n\n### From a CDN, no build step\n\n```html\n<div id=\"chart\" style=\"height: 480px\"></div>\n<script src=\"https://unpkg.com/emberwick/umd/emberwick.umd.js\"></script>\n<script>\n  const chart = Emberwick.createChart(document.getElementById('chart'))\n  chart.setFeed(new Emberwick.RandomFeed({ timeframe: 60000, speed: 60 }))\n</script>\n```\n\nDrawing tools are a second file, loaded **after** the first:\n\n```html\n<script src=\"https://unpkg.com/emberwick/umd/emberwick.umd.js\"></script>\n<script src=\"https://unpkg.com/emberwick/umd/emberwick-drawings.umd.js\"></script>\n<script>\n  const chart = Emberwick.createChart(document.getElementById('chart'))\n  const drawings = EmberwickDrawings.enableDrawings(chart)\n</script>\n```\n\nVolume profiles are a file of their own too, loaded the same way:\n\n```html\n<script src=\"https://unpkg.com/emberwick/umd/emberwick.umd.js\"></script>\n<script src=\"https://unpkg.com/emberwick/umd/emberwick-profiles.umd.js\"></script>\n<script>\n  const chart = Emberwick.createChart(document.getElementById('chart'))\n  const profile = EmberwickProfiles.createVolumeProfile(chart, { data })\n</script>\n```\n\nThe UMD core build exposes the global `Emberwick`, the drawings build\n`EmberwickDrawings` and the profiles build `EmberwickProfiles`. Each opt-in\nfile reads `window.Emberwick` rather than carrying a second copy of the core,\nso loading one first throws a message that says to load `emberwick.umd.js`\nbefore it (the profiles file also refuses a core older than 0.13, which has no\nlayer under the candles for it to draw on); folding them into the core file\nwould make every CDN user pay for features they never enable.\n\nAll three UMD builds are for `<script>` tags and CDNs only — there is deliberately\nno `emberwick/umd` import specifier, because a UMD file loaded as an ES module exports nothing\nand quietly assigns a global instead.\n\n> **Emberwick is ESM-only.** `import` works everywhere; `require('emberwick')`\n> does not, and Node reports that as `No \"exports\" main defined`. Use a dynamic\n> `await import('emberwick')` from CommonJS, or the UMD build above.\n\n### By vendoring the source\n\nNothing stops you copying the core in directly:\n\n```bash\ncp -r src/chart /path/to/your-project/src/chart\ncp -r src/drawings /path/to/your-project/src/drawings   # only if you want drawing tools\ncp -r src/profiles /path/to/your-project/src/profiles   # only if you want volume profiles\n```\n\n```js\nimport { createChart, RandomFeed } from './chart/index.js'\nimport { enableDrawings } from './drawings/index.js'\nimport { createVolumeProfile } from './profiles/index.js'\n```\n\nCopy them as siblings: `src/drawings/` and `src/profiles/` each reach the core\nonly through `../chart/index.js`, and neither imports the other. Vendor them\nfrom one release; a mismatch logs one warning at `createDrawings` or\n`createVolumeProfile`. The core folder has no framework dependency and never\nimports either. It has one import that points outside it, though:\n`render/watermark.js` reads the logo paths from `src/brand.js`, so copy that\nfile to `src/brand.js` beside the folder (or point the import at your own).\nEarlier versions of this section claimed the folder was fully self-contained;\nit was not. Anything that can bundle ES modules\n(Vite, webpack, Rollup, esbuild, or a browser with native ESM) can consume it\nas-is.\n\n### Entry points\n\n| Import | Contents |\n|---|---|\n| `emberwick` | The core: `createChart`, `Chart`, feeds, themes, motion primitives |\n| `emberwick/react` | `<EmberwickChart />` React component |\n| `emberwick/webcomponent` | Registers `<emberwick-chart>` (side-effecting import) |\n| `emberwick/drawings` | Drawing tools: `enableDrawings`, `createDrawings`, the nine tools, `normalizeDrawings`. 52.4 KB gzipped as the minified UMD, 71.3 KB as unminified ESM, and only when you import it |\n| `emberwick/profiles` | Volume profiles: `createVolumeProfile`, `computeValueArea`. 6.2 KB gzipped as the minified UMD, 9.7 KB as unminified ESM, and only when you import it |\n\nTypeScript declarations ship for all five entries. The UMD build is not an\nimport specifier — it is a file you point a `<script>` tag or a CDN at.\n\n---\n\n## Quick start\n\n```js\nimport { createChart, RandomFeed } from 'emberwick'\n\nconst chart = createChart(document.getElementById('chart'))\nawait chart.setFeed(new RandomFeed({ timeframe: 60_000 }))\n```\n\nThe container needs a real size — the chart fills it and follows resizes:\n\n```html\n<div id=\"chart\" style=\"width: 100%; height: 480px\"></div>\n```\n\n> The container's `position` is set to `relative` automatically if it is\n> `static`, because the canvas layers are absolutely positioned inside it.\n\nWithout a feed, push bars in directly:\n\n```js\nconst chart = createChart(el)\nchart.setData(bars)          // Bar[], ascending by time\nchart.update(formingBar)     // merge a tick into the last candle (animates)\nchart.append(newBar)         // open a new candle\n```\n\n---\n\n## The bar shape\n\nOne contract, used everywhere:\n\n```js\n{\n  time: 1737024000000,  // ms epoch, start of the bar\n  open: 100.2,\n  high: 101.4,\n  low:  99.8,\n  close: 100.9,\n  volume: 1420,\n}\n```\n\nPrices may be **numbers or numeric strings**. Plenty of real sources send\nstrings — Laravel serialises decimal columns that way, as do several exchange\nREST APIs — so they are coerced rather than rejected. Anything else (`null`,\n`undefined`, booleans, objects, `'abc'`) is not a price: it is skipped, and a\nchart with nothing plottable draws no price axis rather than inventing one.\n\nBars must be **ascending by time** and **de-duplicated**. A bar older than the\nnewest one is dropped rather than applied — an out-of-order tick would\notherwise overwrite the newest candle and leave a duplicate timestamp behind.\n\nThe chart infers the timeframe from the **median** gap between consecutive\nbars, sampled across the dataset (or takes it from `feed.timeframe`). The\nmedian rather than the first pair, because any exchange with a trading session\nputs a large gap at each day boundary — on NSE minute data, `bars[1] - bars[0]`\nacross an overnight break reads as 17.75 hours.\n\n---\n\n## Plugging in your own data — the `DataFeed` interface\n\nThis is the seam the whole library is built around. The core never knows where\nbars come from: implement two methods and it works.\n\n```js\nimport { DataFeed } from 'emberwick'\n\nclass MyApiFeed extends DataFeed {\n  constructor() {\n    super({ symbol: 'AAPL', timeframe: 60_000 })\n  }\n\n  // Historical bars ENDING at `to` (exclusive). Return [] when exhausted.\n  async getBars({ symbol, timeframe, to, limit }) {\n    const qs = new URLSearchParams({ symbol, tf: timeframe, limit })\n    if (to) qs.set('to', to)\n    const res = await fetch(`/api/candles?${qs}`)\n    return res.json()   // Bar[], ascending by time\n  }\n\n  // Live updates. Return an unsubscribe function.\n  subscribe(handler) {\n    const ws = new WebSocket('wss://example.com/stream')\n    ws.onmessage = (e) => {\n      const { bar, closed } = JSON.parse(e.data)\n      handler({ type: closed ? 'append' : 'update', bar })\n    }\n    return () => ws.close()\n  }\n}\n\nawait chart.setFeed(new MyApiFeed())\n```\n\n### Feed contract\n\n| Member | Required | Purpose |\n|---|---|---|\n| `symbol` | yes | Passed back to you in `getBars` |\n| `timeframe` | yes | Bar duration in ms; sets the chart's time axis |\n| `getBars({ symbol, timeframe, to, limit })` | yes | `Promise<Bar[]>`. `to: null` means \"most recent\". Return `[]` to signal no more history |\n| `subscribe(handler)` | for live data | Returns an unsubscribe function |\n| `prime(lastBar)` | optional | Called once after history loads, so the feed can seed its forming candle |\n| `now()` | optional | The current time in ms **on the bars' clock**, for the candle-close countdown. See [Candle countdown](#candle-countdown) |\n| `destroy()` | optional | **Yours to call.** The chart never does: `detachFeed()` and `chart.destroy()` only run the unsubscribe that `subscribe()` returned |\n\n### Update messages\n\n```js\nhandler({ type: 'update', bar })  // forming candle changed → animates\nhandler({ type: 'append', bar })  // a new candle opened\n```\n\n`update` is the one that produces the flowing motion. Send it as often as your\nfeed ticks — 500 messages between two frames still cost exactly one repaint,\nbecause rendering is decoupled from data arrival.\n\n### Lazy history\n\nWhen the user pans to within **80 bars** of the left edge, the chart calls\n`getBars({ to: oldestLoadedTime, limit: 1000 })` and prepends the result,\nholding the view on the same bars. Return an empty array and it stops asking\npermanently. The page size is fixed at 1000; `initialBars` sizes only the\nfirst load.\n\nA rejected page is retried on the next pan and only stops being requested\nafter three consecutive failures — subscribe to `'error'` to see them.\n\n---\n\n## API\n\n### `createChart(container, options?)`\n\nReturns a `Chart`. (`new Chart(container, options)` is equivalent.)\n\n```js\nconst chart = createChart(el, {\n  theme: { background: '#000', up: '#00d68f' },\n  volumeRatio: 0.18,     // fraction of height for the volume strip\n  magnet: true,          // crosshair snaps to nearest OHLC\n  animate: true,         // live-candle easing\n  countdown: true,       // time to candle close, in the last-price tag\n  clock: () => Date.now(),   // now, on the bars' clock (see Candle countdown)\n  touchCrosshair: true,  // tap to place, long-press to scrub (see Touch)\n  touchCrosshairDelay: 350,  // ms a finger rests before a drag scrubs\n  initialBars: 1500,     // first getBars() page size\n  timeScale: { spacing: 9, minSpacing: 0.8, maxSpacing: 160, rightOffset: 12 },\n  priceScale: { mode: 'linear', tau: 120, marginTop: 0.12, marginBottom: 0.12 },\n\n  // Annotations can be supplied up front instead of via the setters.\n  markers: [{ time: 1717070400000, shape: 'arrowUp', text: 'BUY' }],\n  priceLines: [{ price: 148.2, title: 'target' }],\n  zones: [{ from: 143.5, to: 145.9, label: 'value area' }],\n})\n```\n\n### Methods\n\n| Method | Description |\n|---|---|\n| `setData(bars)` | Replace all bars and snap to the right edge |\n| `update(bar)` | Merge a tick into the forming candle (animated) |\n| `append(bar)` | Open a new candle |\n| `setFeed(feed)` | `async` — loads history, then subscribes. Detaches any previous feed |\n| `detachFeed()` | Unsubscribe, keep the bars on screen |\n| `subscribe(event, fn)` | Returns an unsubscribe fn. See events below |\n| `setMarkers(markers)` | Replace every marker |\n| `getMarkers()` | Current markers, normalised, each with its resolved bar index. See below |\n| `addMarker(marker)` | Append one marker |\n| `removeMarker(id)` | Remove by id |\n| `clearMarkers()` | Remove all markers |\n| `setPriceLines(lines)` | Replace every horizontal price line |\n| `setZones(zones)` | Replace every shaded region |\n| `markerAt(x, y)` | Hit-test plot coordinates, returns a marker or `null` |\n| `setTheme(partial)` | Merge theme keys and repaint |\n| `setPriceMode(mode)` | `'linear'` or `'log'` |\n| `setAnimate(bool)` | Toggle live-candle easing |\n| `setMagnet(bool)` | Toggle crosshair OHLC snapping |\n| `setCountdown(bool)` | Toggle the candle-close countdown in the last-price tag |\n| `visibleRange()` | The window currently on screen — the same payload the `'visibleRange'` event carries |\n| `snapToRealtime()` | Jump back to the newest bar and re-enable autoscale |\n| `startReplay(options?)` | Begin bar-by-bar playback. Returns the `Replay`, or `null` if there is nothing to replay |\n| `stopReplay()` | Leave replay and reveal the whole dataset again |\n| `replayState()` | Current playback state. `{ active: false, ... }` when not replaying |\n| `chart.replay` | Getter — the active `Replay` controller, or `null` |\n| `addPlugin(plugin)` / `removePlugin(plugin)` | Experimental. Attach an opt-in layer that gets its own canvas and the first offer of every gesture. See [Plugins](#plugins-experimental) |\n| `toImage()` | PNG data URL of the composited layers |\n| `fitContent()` | Zoom and scroll so the whole dataset is on screen. Not animated |\n| `setVisibleRange({ from, to })` | Open on a window of it instead — inclusive bar indices. Not animated |\n| `setTimeZone(zone)` | Format every rendered timestamp in an IANA zone, or `null` for local |\n| `hideCrosshair()` | Dismiss a crosshair a tap or long-press left standing. No-op on mouse |\n| `resize()` | Re-measure the container now. Resizes and pixel-ratio changes are automatic |\n| `resume()` | Restart the render loop after it gave up. See below |\n| `destroy()` | Remove listeners, stop the loop, drop canvases |\n| `chart.fps` | Getter — measured frames per second |\n\n### Events\n\n```js\nconst off = chart.subscribe('crosshair', (payload) => {\n  if (!payload) return           // pointer is on no pane\n  const { index, bar, price, pane } = payload   // `price` is in THAT pane's scale\n  legend.textContent = `O ${bar.open} H ${bar.high} L ${bar.low} C ${bar.close}`\n})\noff()  // unsubscribe\n```\n\n| Event | Payload |\n|---|---|\n| `'crosshair'` | `{ index, bar, price, pane }`, or `null` when the pointer is on no pane — off the plot, on the time axis, or in the seam between two |\n| `'markerHover'` | The marker under the pointer, or `null` when none is |\n| `'markerClick'` | The clicked marker. Only fires on a hit, never with `null` |\n| `'visibleRange'` | `{ from, to, fromTime, toTime, barCount, spacing, settled }` |\n| `'replay'` | `{ active, playing, index, length, progress, speed, time, bar, atEnd }` |\n| `'error'` | The thrown value from a failed feed read. See below |\n\nA drag that happens to end on top of a marker does not fire `'markerClick'` —\npanning and clicking stay distinct.\n\n### Feed errors\n\n`getBars()` is your code, so it can reject — a 502, an expired token, an\naborted request. Both paths that call it (`setFeed()` and the lazy history\npaging) route a rejection to `'error'` rather than letting it escape as an\nunhandled rejection:\n\n```js\nchart.subscribe('error', (err) => {\n  toast('Could not load market data')\n  console.error(err)\n})\n```\n\nWith no `'error'` subscriber the failure is logged to the console instead of\nvanishing. `setFeed()` itself never rejects, so `await chart.setFeed(feed)`\nis safe to leave unguarded; subscribe to `'error'` to react to the failure.\n\nA failed history page retries on the next pan, and stops being requested only\nafter three consecutive failures — one transient 500 does not permanently\ndisable lazy history.\n\n### Frame errors\n\n`'error'` also fires if the render loop gives up. A single throwing frame is\nrecovered automatically: the pending layers are put back and the frame is\nretried. Ten *consecutive* failures — a lost canvas context, say — stop the\nloop instead of spinning at 60fps, and that is reported here:\n\n```js\nchart.subscribe('error', (err) => {\n  console.error(err)\n  // once the cause is dealt with:\n  chart.resume()\n})\n```\n\n`resume()` returns `false` if the chart is destroyed or the loop is already\nrunning, so it is safe to call blindly. Nothing else revives a stopped loop —\nnot even `invalidate()` — because a chart on a live feed would otherwise\nre-enter the failure on every tick.\n\n### Tracking the visible range\n\n`'visibleRange'` is a **state** event rather than a notification, which makes it\nusable without any debouncing of your own:\n\n- A new subscriber is called **immediately** with the current window, so it\n  never has to wait for the user to pan before it knows what is on screen.\n- It then fires **only when the window actually changes**. Indices are\n  integers, so a slow pan at 9px/bar produces roughly one event every nine\n  frames, not one per frame.\n- `spacing` is reported but is deliberately *not* part of the change test — it\n  is a float that moves every frame of an eased zoom, and keying on it would\n  turn this into a 60/sec firehose. Use it for level-of-detail decisions.\n- `settled` *is* part of the change test, so the final event of a gesture\n  always arrives with `settled: true`. That makes \"wait until the view stops\n  moving, then do the expensive thing\" a safe pattern.\n\n```js\nconst off = chart.subscribe('visibleRange', async (r) => {\n  // paginate backwards when the user approaches the left edge\n  if (r.from < 50 && r.settled && r.fromTime) {\n    const older = await myApi.bars({ to: r.fromTime, limit: 500 })\n    chart.setData(older.concat(chart.bars))\n  }\n})\n```\n\nSyncing a second chart is the other common use — feed `fromTime`/`toTime`\nstraight into the other instance. And `chart.visibleRange()` returns the same\npayload on demand if you would rather poll than subscribe.\n\n> The chart also paginates backwards **on its own** through\n> `feed.getBars({ to })` whenever you have attached a feed. This event is for\n> when you want to drive that yourself, or to drive something other than data.\n\n---\n\n## Candle countdown\n\nThe last-price tag on the price axis counts down to the forming candle's\nclose, the way TradingView does: one box centred on the price line, the price\nin its upper half and the time left in its lower half.\n\n```\n┌─────────┐\n│ 184.25  │  ← last close, coloured up/down as the line is\n│  04:37  │  ← closes in 4 minutes 37 seconds\n└─────────┘\n```\n\nThe shape follows the chart timeframe, so the tag keeps one width while it\ncounts: `MM:SS` under an hour, `H:MM:SS` under a day, `Dd HH:MM:SS` from a day\nup. Seconds round **up**, so a bar reads `00:01` until the moment it closes.\nOn by default; `countdown: false` or `setCountdown(false)` removes the row and\nthe tag is exactly the single-row tag it was.\n\n**It is hidden when there is nothing honest to show.** The time left is the\nlast bar's open plus the timeframe, minus *now*:\n\n| *now* is | The tag shows |\n|---|---|\n| inside the last bar | the countdown |\n| up to one bar past its close | `00:00` — the bar closed and the next has not arrived; a feed is usually a beat late |\n| more than one bar past its close | nothing: history, a stopped feed, a closed market |\n| up to one bar **before** its open | a full bar — a few seconds of clock skew must not blink the tag at every open |\n| further before | nothing: that is a different clock, not skew |\n\n**Whose clock.** *now* is `Date.now()` unless the bars are not on wall-clock\ntime. Then supply it, in ms on the bars' clock, either per chart or from the\nfeed, which knows its own tape best; `options.clock` wins over `feed.now()`:\n\n```js\n// Bars stamped in exchange-local time, as if it were UTC: shift the clock the\n// same way, and the countdown lines up with the open.\ncreateChart(el, { clock: () => Date.now() + 5.5 * 36e5 })\n\n// A feed that replays a tape at 60x.\nclass TapeFeed extends DataFeed {\n  now() { return this.tapeStart + (Date.now() - this.realStart) * 60 }\n}\n```\n\n`RandomFeed` implements `now()`, so the demo's `speed: 60` candles count a\nwhole minute down each second.\n\n**Under replay** the countdown is the replay's own clock: the fraction of\nthe current bar that has played. At 1× a 5-minute bar counts `05:00` → `00:00`\nin one second; paused, the bar is whole and reads `05:00`.\n\n**Cost.** A chart showing a countdown repaints once per second while idle,\nat the next whole second of its clock. A chart without one — hidden, or off —\nstays at zero CPU, as before.\n\n---\n\n## Replay\n\nPlay a fixed dataset back bar by bar — backtesting playback, a market-open\nrecap, a training drill.\n\n```js\nchart.setData(bars)\n\nconst replay = chart.startReplay({ from: 200, speed: 4 })\nreplay.play()\n\nchart.subscribe('replay', (s) => {\n  scrubber.value = s.index\n  clock.textContent = new Date(s.time).toLocaleTimeString()\n  if (s.atEnd) playBtn.textContent = 'Restart'\n})\n```\n\nThe chart is never put into a special mode. The controller keeps the dataset\naside and hands the chart only the **revealed prefix**, so scales, crosshair,\nannotations and `'visibleRange'` behave exactly as they do on live data that\nhappens to end at the cursor.\n\nRevealing the next bar goes through the same path a feed tick takes, so the\ncandle grows in and the axis glides. Scrubbing swaps the prefix and jumps —\neasing a scrub would read as lag, the same rule the pan gesture follows.\n\n### `chart.startReplay(options?)`\n\n| Option | Default | Notes |\n|---|---|---|\n| `bars` | the chart's current bars | The dataset to replay. Never mutated |\n| `from` | midpoint | Starting cursor index |\n| `speed` | `1` | Multiplier, clamped to `0.25`–`500` |\n| `baseInterval` | `1000` | Real ms one bar takes at 1× |\n| `loop` | `false` | Restart at the end instead of stopping |\n| `follow` | `true` | Re-anchor the right edge on the cursor when scrubbing |\n\nReturns the `Replay`, or `null` when there are fewer than two bars. While a\nreplay is active an attached feed is ignored, so live ticks cannot fight the\ncursor; `stopReplay()` restores the full dataset and resumes normal service.\n\n`setData()` also ends a replay — new data means the dataset being replayed no\nlonger exists. The controller you were handed is detached at that point and\nits transport methods become no-ops, so check `chart.replay` rather than\nholding the old reference. Calling `startReplay()` twice detaches the first\ncontroller the same way.\n\n### Transport\n\nEvery method returns the controller, so calls chain.\n\n| Method | Description |\n|---|---|\n| `play()` / `pause()` / `toggle()` | Pressing play at the end restarts from the beginning |\n| `seek(index)` | Move the cursor. Out-of-range values clamp |\n| `step(n = 1)` | Relative move; `step(-1)` goes back a bar |\n| `toStart()` / `toEnd()` | Jump to either end |\n| `setSpeed(x)` | Clamped to `0.25`–`500`. Never bursts bars on a rate change |\n| `setLoop(bool)` | Toggle looping |\n\nReadable state: `index`, `length`, `progress` (0–1), `speed`, `time`, `bar`,\n`atEnd`, `playing`, `interval` (real ms between bars at the current speed)\nand `phase` (how far into the current bar playback is, 0–1; what the\ncandle-close countdown reads under replay).\n\n### The `'replay'` event\n\n`{ active, playing, index, length, progress, speed, time, bar, atEnd }`.\n\nLike `'visibleRange'` it is a **state** event: a new subscriber is called\nimmediately, and after `stopReplay()` it fires once with `active: false` so a\nUI can reset itself without special-casing teardown. `chart.replayState()`\nreturns the same payload on demand.\n\n**Markers after the cursor are hidden, not clamped.** Time→index resolution\nsnaps to the nearest bar, so without that filter every future trade would pile\nonto the newest revealed candle — and a replay that shows you tomorrow's\nentries is worse than no replay at all.\n\nThe cursor never goes below index 1: the scales infer the timeframe from the\nfirst pair of bars.\n\n---\n\n## Series\n\nCandles are not the only thing worth drawing on a price axis. A **series** is\nan arbitrary y-value over the same time axis — a moving average, a VWAP, an\nequity curve, a band.\n\n```js\nchart.setSeries('ema20', {\n  data: [{ time: 1717070400000, value: 148.2 }, ...],\n  color: '#c084fc',\n})\nchart.setSeries('sma50', { data: sma50, color: '#38bdf8', lineWidth: 1 })\n```\n\nSeries are **keyed**, so updating one leaves the rest alone — a panel of\ntwelve indicators does not rebuild eleven of them to toggle the twelfth.\nInsertion order is draw order, and they paint over the candles but under\nprice lines and markers.\n\n| Method | Description |\n|---|---|\n| `setSeries(id, options)` | Create, or update in place. Omit `data` to change only presentation |\n| `setSeriesData(id, points)` | Replace the points, keep the options |\n| `setSeriesVisible(id, bool)` | Hide without discarding. Hidden series do not autoscale |\n| `removeSeries(id)` | Drop one |\n| `clearSeries()` | Drop all |\n| `getSeries()` | Each series' resolved options, in draw order |\n\n| Option | Default | Notes |\n|---|---|---|\n| `data` | — | `{ time, value }[]`. `time` is ms epoch, resolved to the nearest bar |\n| `pane` | `'price'` | Which pane draws it. Throws if that pane does not exist |\n| `color` | `theme.textStrong` | |\n| `lineWidth` | `1.5` | |\n| `lineStyle` | `'solid'` | `'solid'`, `'dashed'`, `'dotted'` |\n| `stepped` | `false` | Draw as a step function instead of interpolating |\n| `visible` | `true` | |\n| `title` | — | Passthrough metadata for `getSeries()`. Never drawn |\n\n### Gaps\n\n**A point with no value lifts the pen.** `value` absent, `null`, or anything\nnon-numeric ends the current line; the next valued point starts a fresh one.\n\n```js\nchart.setSeries('rsi', { data: [\n  { time: t0, value: 55.2 },\n  { time: t1 },              // no value here — the line breaks\n  { time: t2, value: 61.8 },\n]})\n```\n\nThis is the one design decision worth stating plainly: a missing value is\n**never** drawn as zero and **never** interpolated across. An indicator with\nno value during its warm-up period is not an indicator sitting at zero, and a\nline that quietly connects across a gap is a line that lies about the data.\n\n### Scale\n\nVisible series widen the price scale along with the bars, so a value outside\nthe candle range is in view rather than clipped at the edge. Hidden series are\nexcluded from that. Points more than one timeframe outside the loaded bar\nrange are not drawn at all, on the same reasoning as markers.\n\nSeries share the price axis with the candles. An equity curve at 200,000\nagainst a price around 100 will technically render, but the candles will be a\nflat line — a second pane with its own scale is the answer, and it does not\nexist yet.\n\n---\n\n## Panes\n\nAn oscillator cannot share a scale with a price. RSI lives on 0–100 and MACD\naround zero; put either on a chart of an instrument trading at 24,000 and the\ncandles collapse into a flat line.\n\nA **pane** is a horizontal band with its own price scale, sharing the time\naxis with every other pane.\n\n```js\nchart.addPane('rsi', { weight: 1 })\nchart.setSeries('rsi14', { data: points, pane: 'rsi', color: '#c084fc' })\n```\n\n| Method | Description |\n|---|---|\n| `addPane(id, options)` | Add a band below the existing ones. Returns its `PaneInfo` |\n| `removePane(id)` | Remove it, and every series routed to it |\n| `panes()` | Every pane, top to bottom. `panes()[0]` is always the price pane |\n| `pane(id)` | One pane, or `null` |\n| `paneScale(id)` | That pane's live `PriceScale` |\n| `paneRect(id)` | A copy of its rect, in CSS px |\n\n| Option | Default | Notes |\n|---|---|---|\n| `weight` | `1` | Flex share of the plot height. The price pane is `3` |\n| `minHeight` | `40` | Floor in CSS px |\n| `priceScale` | chart's | This pane's scale options |\n| `title` | — | Passthrough metadata. Not drawn |\n\n`'price'` is the pane candles, volume, markers, price lines and zones always\ndraw on. It cannot be removed, and it is always the top band.\n\n**An unknown pane id throws.** Defaulting to the price pane would put an RSI at\n50 through a 24,000 scale and flatten the candles — exactly the failure panes\nexist to prevent, arriving with no error at all.\n\nA pane whose series are all hidden, or which has none, draws no axis rather\nthan inventing one — the same rule the price pane follows with no bars.\n\n### Migrating from `chart.ps` and `chart.plot`\n\nBoth still work and still address the price pane. `paneScale('price')` and\n`paneRect('price')` are the replacements, and they say which pane they mean:\n\n```js\nconst y = chart.paneScale('rsi').y(70)     // where 70 sits in the RSI pane\nconst band = chart.paneRect('rsi')         // { x, y, w, h }\n```\n\nOne difference worth knowing: `chart.plot` is a live rect mutated in place, so\na reference held across a resize stays correct. `paneRect()` returns a copy.\n\n---\n\n## Annotations\n\nThree independent collections, each replaced wholesale. Zones paint behind the\ncandles; price lines and markers paint in front.\n\n```js\nchart.setMarkers([\n  { time: 1717070400000, shape: 'arrowUp',   text: 'BUY 120',\n    data: { orderId: 'A-7741' } },\n  { time: 1717074000000, shape: 'flag',      text: 'Earnings', color: '#c084fc' },\n  { time: 1717077600000, shape: 'arrowDown', text: 'SELL 160' },\n])\n\nchart.setPriceLines([\n  { price: 148.20, title: 'target', color: '#26a69a' },\n  { price: 141.05, title: 'stop', lineStyle: 'dotted' },\n])\n\nchart.setZones([\n  { from: 143.5, to: 145.9, label: 'value area' },\n])\n\nchart.subscribe('markerClick', (m) => openTicket(m.data.orderId))\n```\n\n### Markers\n\nA marker is pinned to a **timestamp**, not a bar index, and resolves to the\nnearest bar. Load an older page of history and every marker re-resolves, so\nnothing drifts off its candle.\n\nSupply your own `id` if you have one. A generated id is derived from the\nmarker's own identity rather than its array position, so passing the same\nmarkers to `setMarkers()` twice yields the same ids and an id captured for\n`removeMarker()` stays valid.\n\nA marker more than one timeframe outside the loaded range is **hidden**, not\nclamped to the end bar. A trade from six months before the loaded window is\nnot an event that happened at the left edge of the chart, and drawing it there\nis worse than not drawing it at all. Page that history in and it appears.\n\n| Field | Default | Notes |\n|---|---|---|\n| `time` | *required* | ms since epoch, snapped to the closest bar |\n| `id` | derived | Stable across calls — see below |\n| `id` | generated | Needed for `removeMarker(id)` |\n| `shape` | `'circle'` | See the list below |\n| `position` | shape-dependent | `'aboveBar'`, `'belowBar'`, `'inBar'`, `'atPrice'` |\n| `price` | — | Only used when `position` is `'atPrice'` |\n| `color` | `theme.up` / `theme.down` | Down-pointing shapes default to the down colour |\n| `text` | — | Short caption. For `'label'` it is drawn inside the pill |\n| `textColor` | theme | Caption colour |\n| `size` | `1` | Scale factor |\n| `data` | — | Anything. Handed straight back on hover and click |\n\nShapes: `arrowUp`, `arrowDown`, `triangleUp`, `triangleDown`, `circle`,\n`square`, `diamond`, `flag`, `label`.\n\nPosition defaults follow the trading convention: up-pointing shapes sit\n*below* the bar, down-pointing shapes *above* it, everything else above.\n\n**When `index` is resolved.** `getMarkers()` hands back the normalised\nmarkers, but time→index resolution happens in the render frame, not in\n`setMarkers()`. Call them back to back and every `index` is still `-1`; it is\npopulated after the next frame. `-1` also means *deliberately hidden* — a\nmarker more than one timeframe outside the loaded range resolves to `-1`\nrather than clamping onto an end bar — so treat it as \"not drawn\", not as\n\"not yet known\".\n\n**Ids.** Supply your own, or let one be derived from the marker's identity\n(time, shape, and which duplicate it is). Derived ids are stable across\n`setMarkers()` calls, page loads and two charts showing the same data, so an\nid captured for `removeMarker()` stays valid.\n\n**Overlap and density.** Markers sharing a bar are stacked rather than drawn on\ntop of each other. Once a candle body is 3px wide or less — around 5.6px per\nbar, since a body is 72% of the slot — dense runs thin to roughly one marker\nper 4px — a thousand trades stay legible and stay fast. A marker on the\nforming candle anchors to the animated values, so it flows with the live bar.\n\n### Price lines\n\n| Field | Default | Notes |\n|---|---|---|\n| `price` | *required* | |\n| `color` | `theme.textStrong` | |\n| `lineStyle` | `'dashed'` | `'solid'`, `'dashed'`, `'dotted'` |\n| `lineWidth` | `1` | |\n| `lineVisible` | `true` | `false` keeps the title pill and axis tag but draws no rule |\n| `title` | — | Pill drawn at the left end |\n| `axisLabel` | `true` | Price tag on the axis |\n\n### Zones\n\nSupply `from`/`to` for a **price band** spanning the full width, or\n`fromTime`/`toTime` for a **time band** spanning the full height.\n\n| Field | Default | Notes |\n|---|---|---|\n| `from` / `to` | — | Price band bounds. Non-finite values are skipped silently |\n| `fromTime` / `toTime` | — | Time band bounds, ms epoch, resolved to the nearest bar |\n| `color` | theme-derived | Fill |\n| `border` | — | Stroke around the band; omitted when unset |\n| `label` | — | Drawn at the top-left corner of the band |\n\n```js\nchart.setZones([\n  { from: 143.5, to: 145.9, label: 'value area' },\n  { fromTime: 1717070400000, toTime: 1717074000000,\n    color: 'rgba(239,83,80,0.07)', border: 'rgba(239,83,80,0.3)' },\n])\n```\n\nAutoscale fits the **bars**, not the annotations — a price line far outside the\ndata range is simply off-screen. Derive extreme values from the visible range\nif you need them guaranteed visible.\n\n---\n\n## Drawing tools\n\nTrendlines, levels, Fibonacci, channels, ranges, measures, positions and text,\ndrawn on the chart by the reader and stored as plain data by you. They are a\nseparate entry, `emberwick/drawings`, so a chart that never imports it carries\nnone of the code (see [Size and opt-in](#size-and-opt-in)).\n\n### Enabling\n\n```js\nimport { createChart } from 'emberwick'\nimport { enableDrawings } from 'emberwick/drawings'\n\nconst chart = createChart(el)\nconst drawings = enableDrawings(chart)\n\ndrawings.setTool('trendLine')          // the reader clicks or drags on the chart\ndrawings.subscribe('change', () => save(drawings.getDrawings()))\n```\n\n`enableDrawings(chart, options?)` gives you the nine standard tools.\n`createDrawings(chart, { tools: [trendLine, fibRetracement] })` gives you\nexactly the tools you pass, and takes no default on purpose: a default\nparameter would keep all nine alive in every bundle that imports the function,\nand the tools tree-shake only if nothing names them.\n\nA second `enableDrawings` on the same chart throws until the first controller\nis `destroy()`ed. That is deliberate: React StrictMode runs an effect, its\ncleanup and the effect again, and the second run must get a fresh controller,\nnever the destroyed one.\n\nOptions, all optional:\n\n```js\nenableDrawings(chart, {\n  drawings: saved,          // initial load; not undoable, see \"Saving and loading\"\n  magnet: 'inherit',        // 'inherit' | 'off' | 'weak' | 'strong'\n  stickyTools: false,       // keep the tool armed after each drawing\n  quickMeasure: true,       // Shift+click-click measures with no tool armed\n  keyboard: true,           // Delete, arrows, Ctrl/Cmd+Z ... while the chart has focus\n  textEditor: true,         // false hands text editing to you through 'edit'\n  historyLimit: 100,        // undo depth\n  motion: 'auto',           // 'auto' | 'full' | 'reduced' | 'none'\n  readOnly: false,          // render, hover, select and events, but no edits\n  defaults: { trendLine: { style: { lineWidth: 2 } } },  // per-type starting style/options\n  theme: { accent: '#ff8a00' },                          // see \"Styling\"\n  maxDrawings: 5000,        // rows past it are rejected with reason 'limit'\n})\n```\n\n`platform`, `prefersReducedMotion` and `idFactory` are also injectable, for\ntests and for hosts that mint their own ids.\n\n### Tools and presets\n\nNine stored types, fourteen presets. A preset is a type plus the options it\nstarts with, and variants share a type on purpose: a ray is a trend line whose\n`extend` is `'right'`, so the reader can turn it back into a segment after\ndrawing it, and you store one kind of row for both.\n\n| Preset (`setTool`) | Stored `type` | What it draws |\n|---|---|---|\n| `trendLine`, `ray`, `extendedLine`, `arrow` | `trendLine` | Two points. Optional extension to either side, arrow caps, and a live `+12.40 (+1.52%) · 38 bars · 6h 20m` readout |\n| `horizontalLine`, `horizontalRay` | `horizontalLine` | One price. A tag on the price axis, and draggable by that tag |\n| `verticalLine` | `verticalLine` | One moment, across every pane (or its own pane only), with a time tag |\n| `rectangle` | `rectangle` | Two corners. Fill, optional middle line, optional stats |\n| `parallelChannel` | `parallelChannel` | A baseline, then a click for the parallel. The second click has an auto-fit magnet to the highest high or lowest low between the ends |\n| `fibRetracement` | `fibRetracement` | Standard levels 0 to 1 visible, 1.272, 1.618 and 2.618 hidden; each level's colour and visibility is stored. Linear or log interpolation |\n| `measure` | `measure` | Price change, percent, bars, duration and volume across a box |\n| `long`, `short` | `position` | Entry, target and stop. One click makes a bracket sized from the 14-bar ATR (1.5 ATR stop, 2R target); a press-drag sets the target and mirrors the stop. Reads `R:R`, and once the bars after the entry reach the target or the stop, says which happened |\n| `text` | `text` | A note, edited in place |\n\n`TOOL_PRESETS` is exported with each preset's `label` and `group`, so a\ntoolbar can be built from it rather than kept in step with it by hand. (The\ndemo's rail is.)\n\nA few behaviours worth knowing before they surprise you:\n\n- **The position tool is honest about a bad stop.** A stop on the wrong side of\n  the entry is allowed, because clamping or flipping user data hides the\n  mistake. Both zones turn magenta (`theme.warn`), the label reads `R:R —`, and a one-shot pulse\n  plays as it crosses over. Nothing pulses again afterwards.\n- **A stop and a target in one bar count as the stop**, and the label says\n  `(same bar)`. Bars alone cannot say which came first, and the pessimistic\n  reading is the one to build a review on.\n- **Everything that reads OHLC or volume reads revealed bars only**, so a\n  position replayed through history flips to \"Target hit\" on the step that\n  reveals it, not before.\n\n### Drawing with a mouse\n\n| Input | Action |\n|---|---|\n| Pick a tool, click and drag | Draws it (release to finish) |\n| Pick a tool, click, move, click | Also draws it: a quick click-click places both ends |\n| Click a drawing | Selects it. Handles appear |\n| Drag a handle | Reshapes; the opposite corner or edge of a rectangle stays put and flips cleanly when passed |\n| Drag a selected drawing's body | Moves it |\n| `Alt` + drag a body | Drags a copy |\n| Double-click a text | Edits it; on any other drawing, fires `'edit'` |\n| `Shift` + drag, no tool armed | Quick measure: an ephemeral measure that is never in the document, the history or the events |\n| Right-click a drawing | Selects it and fires `'contextmenu'` (the browser's menu opens only while nobody is subscribed, and on empty chart) |\n| `Shift` while placing | Constrains to 0°, 45° or 90° on screen |\n| `Alt` while placing | Free: no snap at all |\n| `Ctrl` (`Cmd` on macOS) while placing | Inverts the magnet for that gesture |\n\nOn a mouse, pressing an unlocked drawing selects it and claims the press, so a\ndrawing can be picked up and dragged in one motion. A locked drawing is never\nclaimed, so the chart pans through it; a click still selects it, so it can be\nunlocked. Cursors and handle sizes follow the pointer type.\n\n### Drawing on a phone\n\nA finger cannot hover and a phone plot is mostly fill once a box is selected,\nso the touch rules differ on purpose:\n\n| Gesture | Action |\n|---|---|\n| Tap a drawing | Selects it. It does not move, and does not place the crosshair |\n| Drag a selected drawing by a handle, its border, its label or its move handle | Reshapes or moves it |\n| Swipe inside a selected box's fill | Pans, exactly as before. A fill never claims a one-finger press |\n| Tool armed, one finger | Draws. One-finger pan is off while a tool is armed |\n| Tool armed, two fingers | Pans and pinch-zooms, and cancels the in-flight press without leaving a mark |\n| Tap empty chart | Deselects |\n\nArea tools and trend lines get a **move handle** at their centre, drawn as a\nfour-way glyph, because on touch the body of a fill is not a place you can\ndrag. A handle's hit target is 44 pt, and the point being placed sits under\nthe finger without jumping. Tap-to-select-then-drag, rather than\npress-and-drag straight away, is what keeps a chart with a few boxes on it\nscrollable with one finger.\n\n### From the keyboard\n\nKeys reach drawings only while the chart has focus, which `setTool` and\n`select` give it (pass `{ focus: false }` if you select from a list with its own\nkeyboard handling). `keyboard: false` turns all of this off.\n\n| Key | Action |\n|---|---|\n| `Esc` | One layer at a time: revert a drag, then cancel a creation, then close the editor, then close a quick measure, then deselect, then disarm |\n| `Delete` / `Backspace` | Remove the selection; the last placed point while placing a channel. A locked drawing shakes instead |\n| `Ctrl`/`Cmd` + `Z` | Undo (during a gesture it only cancels the gesture) |\n| `Ctrl`/`Cmd` + `Shift` + `Z`, `Ctrl` + `Y` | Redo |\n| `Ctrl`/`Cmd` + `D` | Duplicate, five bars to the right |\n| `←` `→` | Nudge one bar (`Shift`: ten). Without a selection they pan, as always |\n| `↑` `↓` | Nudge one pixel of price (`Shift`: ten) |\n| `Enter` on a text | Edit |\n\nConsecutive nudges of one drawing are one undo step, coalesced without a\nclock, so it does not depend on how fast anybody types.\n\n### Snapping and magnet\n\nWhile placing or dragging a point, the first of these that applies wins:\n\n1. **`Alt`**: free, no snap.\n2. **`Shift`**: a screen angle of 0°, 45° or 90° from the fixed end. At 0° the\n   price is copied bit for bit, so a horizontal trend line is exactly\n   horizontal.\n3. **Another drawing's anchor**: an exact copy of that point, offsets included.\n4. **Levels**: horizontal lines, fib levels, position entry/target/stop, your\n   `priceLines`, and the channel's auto-fit. An alignment guide is drawn when\n   another anchor's price is within 4 px.\n5. **The OHLC magnet**: a candle's open, high, low or close, ordered by what\n   the tool prefers (a fib wants highs and lows).\n6. **The bar slot.**\n\n`magnet` is `'inherit'` by default: it follows `chart.options.magnet`, where\n`true` means weak, so the crosshair and the drawings agree with one setting and\none reach. `'weak'` snaps within 22 px (28 on touch) and `'strong'` always\ntakes the nearest. The **platform modifier** (`Cmd` on macOS and iOS, `Ctrl`\nelsewhere; not `Ctrl` on macOS, where Ctrl+click is a secondary click) inverts\nthe magnet for the current gesture. On a sub-pane the magnet reads that pane's\nvisible series values instead of candles.\n\nOnce a snap has engaged it releases only past 1.5 times its reach, so the\npoint does not flicker at the boundary. When the kind of snap changes the point\nglides and a ring pops; a change of bar slot never glides (see\n[How the motion works](#how-the-motion-works)).\n\n### Saving and loading\n\n```js\nconst rows = drawings.getDrawings()       // z-ascending deep clones, plain JSON\nconst report = drawings.setDrawings(rows) // a load: see below\n```\n\nA drawing looks like this. `getDrawings()` returns the keys in this order, and\n`add()` needs only `type` and `points`:\n\n```js\n{\n  v: 1,                          // schema version, PER DRAWING\n  id: 'dkq1z0xm04ab',\n  type: 'trendLine',\n  pane: 'price',\n  points: [\n    { time: 1717070400000, price: 148.2 },\n    { time: 1717077600000, price: 151.05 },\n  ],\n  style: { color: null, lineWidth: 1.5, lineStyle: 'solid', fill: null,\n           fillOpacity: 0.12, textColor: null, fontSize: 12 },\n  options: { extend: 'right', startCap: 'none', endCap: 'none', stats: 'active', text: '' },\n  locked: false,\n  visible: true,\n  z: 4,                          // sparse; bringToFront is max + 1\n  meta: { ... },                 // yours: JSON-cloned, never read\n}\n```\n\n- **`time` is in your bars' unit and epoch, and is never converted.** If your\n  bars are milliseconds, so is this. If they are IST read as if it were UTC\n  (see [Time zones](#time-zones)), so is this. Store what you were given.\n- **`color: null` follows the theme**, so a light/dark switch recolours the\n  drawing. A stored colour is used as is.\n- **`options` is the full normalised set**, not a sparse diff, so changing a\n  default later never restyles what was already saved.\n- **One row per drawing, one `v` per row.** If you keep a table of drawings,\n  each row carries its own schema version. Additive fields keep `v: 1`; only a\n  change that an older build would misread bumps it.\n- **Unknown keys are carried.** Keys this build does not know, at the top level\n  and inside `style` and `options`, are kept and written back by\n  `getDrawings()`, and survive an `update()`. So a build that nudges a drawing\n  saved by a newer one writes back everything the newer one wrote.\n- **`z` is sparse and explicit**, so reordering rewrites one row rather than\n  renumbering the table.\n\n`setDrawings` accepts an array, `{ drawings: [...] }`, a JSON string, or\n`null`/`undefined` (an empty document, not an error). A string that does not\nparse throws and applies nothing.\n\n**`setDrawings` is a load, not an edit.** It clears the undo history and the\nselection, aborts any gesture, and fires **no `change` event**. That is the\npoint of it: if it did, a save-on-change host would write the half-loaded\ndocument straight back over the stored one. It does emit the `select` and\n`history` state events if those changed, and it returns a `LoadReport`, also\nkept as `drawings.lastLoadReport`:\n\n```js\n{\n  loaded: 12,                     // drawings of a known type accepted\n  carried: ['d7'],                // ids of rows this build cannot read (below)\n  rejected: [{ index: 3, id: 'd9', reason: 'too few points' }],\n  renamed: [{ index: 5, from: 'd2', to: 'd2:2' }],   // duplicate ids get a suffix\n  truncated: [],                  // extra points or oversized unknown keys dropped\n  orphaned: [],                   // drawings on a pane that does not exist (yet)\n}\n```\n\nWhat comes back always accounts for every row it kept:\n`getDrawings().length === report.loaded + report.carried.length`. The\n`drawings` option loads the same way, and logs one `console.warn` if anything\nwas rejected.\n\n**Inert drawings.** A row with an unknown `type`, or a `v` newer than this\nbuild, is *carried verbatim*: never drawn, hit, selected or edited, but always\nreturned by `getDrawings()` in its z slot. `remove()` and `clear()` skip it and\ndo not count it. A save-on-change host can therefore never delete a newer\nbuild's data by opening its document in an older one.\n\n**Orphans.** Removing a pane does not delete the drawings on it: they are kept,\nserialized, not drawn and not hit, and listed by `drawings.orphans()`. They\ncome back when a pane with that id is added again.\n\n**Editing through the API:**\n\n| Method | Notes |\n|---|---|\n| `add(input, { history, select, animate })` | Returns the id. Throws on invalid input, on a duplicate `id` (carried rows included) and on an unknown pane |\n| `update(id, patch, { history, animate })` | `points` are replaced; `style` and `options` merge per key (a fib's `levels` are replaced as a whole). Throws on `id`/`type`/`v` in the patch. A patch that changes nothing is a no-op returning `false`, with no history and no events |\n| `remove(idOrIds)` / `clear()` | `clear` is one undo step |\n| `duplicate(id, { offsetBars })` | `null` with no bars or for a carried row |\n| `bringToFront(id)` / `sendToBack(id)` | |\n| `setLocked(id, on)` / `setVisible(id, on)` | Sugar over `update` |\n| `setHidden(on)` | Hide every drawing: a view setting, not a change to the document |\n| `batch(fn)` | **Atomic.** One history entry and one `change` for everything `fn` does. If `fn` throws, the drawings and the selection are restored, nothing is recorded or emitted, and the error is rethrown |\n| `priceAt(id, time)` | The price of a trend line, channel baseline or horizontal line at a time, extension included. The building block for alerts |\n| `drawingAt(x, y)`, `screenBox(id)` | Hit-test in container pixels, for your own context menu; the last painted box |\n\nMutating the drawing that is being dragged or created (or anything that could,\nlike `undo()` or `setDrawings()`) first ends the gesture and reverts it, and\nonly then applies. Mutating another drawing leaves the gesture alone.\n\n**The symbol-switch caveat.** The chart has no idea what symbol it shows, so it\ncannot key drawings by symbol. When your host switches symbol, call\n`drawings.setDrawings(saved[symbol] ?? [])` yourself. Until you do, the old\nsymbol's drawings sit on the new symbol's candles, which is the one hazard this\nAPI leaves to you.\n\n`normalizeDrawings(input, tools?)` validates a stored document with no chart,\nis pure, and is safe to import on a server, so a backend can vet rows before it\nstores them. Carried rows come back verbatim.\n\n### How anchors follow your data\n\nDrawings are stored as `{ time, price }` and resolved to a fractional bar index\nthrough the same scales as the candles. No new scale system is involved.\n\n| What happens | What the drawings do |\n|---|---|\n| Pan, zoom, inertia, autoscale, following live | Re-projected every frame from the same values as the candles. Nothing lags |\n| A live tick, an `append` | Stay put. A held magnet-snapped point is re-derived |\n| `setData`, with the same bars or a reshuffled interior | Re-resolved by time, including when an interior session gap moved |\n| History paged in on the left | Stay under the same candles: every index shifts, and the view shifts with it |\n| A point after the newest bar | Stored as `{ time: lastBarTime, price, offset: k, tf }`, \"k bars after\". It keeps its distance in bars across session gaps, and a bar-count point cannot know a session calendar |\n| A point before the oldest bar | The mirror image, with a negative `offset`. Load older history and it lands on its real bar |\n| A timeframe change | In-data points map exactly (or fractionally when unaligned); offsets rescale by `tf` |\n| `startReplay`, seek, step, loop | Resolved against the replay's whole dataset, so nothing moves. Drawings past the cursor stay visible: they are your marks. Anything that reads price or volume sees revealed bars only |\n| `setPriceMode('log')` | Anchors unchanged; lines stay straight on screen. A drawing with any price at or below zero is kept but not drawn |\n| A sub-pane (an RSI band) | Projects through that pane's scale and is clipped to it; the magnet reads that pane's series |\n| A sub-pane whose series has not loaded | A press there is not claimed, so no `0.43` \"price\" is ever stored |\n| Zero bars (for example `setFeed` swapping symbols) | Nothing is drawn or created; drawings and selection are kept, and nudge and duplicate are unconsumed no-ops |\n| `setTheme`, `setTimeZone` | Colours and labels follow. Times are formatted in your zone; stored times are untouched |\n\nDrawings never take part in autoscale. A drag near an edge would otherwise be a\nfeedback loop between the thing you are moving and the scale you are moving it\non.\n\n### Undo and redo\n\nUndo is per drawing. Each history entry records only the ids it changed, as\nfrozen before and after states, so undoing one drawing's edit never clobbers\nanother drawing you changed since, or an edit you made with `{ history: false }`\nto a different one. (An edit made with `{ history: false }` to the *same*\ndrawing is overwritten by an undo across it, which is the documented cost.)\n\n`undo()`, `redo()`, `canUndo`, `canRedo` and `clearHistory()` do what they say.\nA new commit clears the redo stack; the oldest entry is dropped beyond\n`historyLimit`. User gestures and API edits are recorded; selection, tool\nchoice, hover, quick measure, text drafts and `setDrawings` are not.\n\nUndo and redo select the surviving drawing, glide it back and give it a brief\n\"this changed\" halo.\n\n### Events\n\n```js\nconst off = drawings.subscribe('change', ({ source, reason, created, updated, removed }) => {\n  // source: 'user' | 'api' | 'history'\n  save(drawings.getDrawings())\n})\n```\n\n| Event | Kind | Payload | Fires |\n|---|---|---|---|\n| `'change'` | notification | `{ source, reason, created, updated: [{ before, after }], removed }` | **Once per commit**: the end of a gesture, an API call, an undo or a redo. Never per drag frame, never on `setDrawings`, and never for a text draft until its first non-empty commit. Carried rows never appear |\n| `'drawing'` | stream | `{ phase: 'create' \\| 'move' \\| 'reshape', drawing, snap, stats }` | At most once per frame while a draft changes, and only if subscribed. Live readouts, such as R:R while dragging. A creation draft has `id: null` |\n| `'select'` | state | `{ ids, drawings }` | On change, and on subscribe |\n| `'box'` | state | `{ id, box }` for the selected drawing | Whenever its painted box moves half a pixel, and on subscribe |\n| `'tool'` | state | `{ tool, sticky }` | On change (including the auto-disarm after a non-sticky create), and on subscribe |\n| `'history'` | state | `{ canUndo, canRedo, undoSize, redoSize }` | On change, and on subscribe |\n| `'edit'` | notification | `{ id, drawing, box }` | A double-click on a non-text drawing, or text creation with `textEditor: false` |\n| `'contextmenu'` | notification | `{ id, drawing, part, x, y, event }` | A right-click or long-press on a drawing, which is selected first |\n\n`change` reasons are `create`, `move`, `reshape`, `style`, `options`, `text`,\n`lock`, `visibility`, `order`, `remove`, `clear`, `duplicate`, `nudge`,\n`batch`, `undo` and `redo`.\n\nTwo of these exist for a specific job, and it is worth being clear which:\n\n- **`change` is for saving.** It is a notification, it is coarse on purpose,\n  and it is safe to debounce.\n- **`drawing` is for showing.** It is a stream at frame rate for a readout, and\n  it is not a substitute for `change`: a gesture that is cancelled emits\n  `drawing` and never `change`.\n- **`box` is for a floating toolbar.** It fires from the chart's own frame,\n  so a toolbar that moves *inside* the callback stays glued to the drawing\n  through a pan, a zoom and an autoscale ease, none of which change\n  `visibleRange`. Write the position straight to the element rather than through\n  framework state, or the toolbar trails by a frame. The Playground does this.\n\nEvery listener runs in a `try`/`catch` (a throw is logged as `[Emberwick]\n'drawings:<event>' listener threw`), and **all state is committed before the\nfirst event fires**, so a listener may call back into the controller. Within\none operation the order is `change`, `history`, `select`, `tool`.\n\n### Styling\n\n```js\ndrawings.setDefaults('trendLine', { style: { color: '#c084fc', lineWidth: 2 } })\ndrawings.update(id, { style: { lineStyle: 'dashed' } })\n```\n\nA drawing's `style` is `color`, `lineWidth` (0.5 to 8), `lineStyle`\n(`'solid' | 'dashed' | 'dotted'`, the same names and dashes as price lines and\nseries), `fill`, `fillOpacity`, `textColor` and `fontSize` (9 to 32). What each\ntool reads is its own business: a position takes its zones from the theme's\nup and down colours, so its `color` does nothing.\n\nThe drawing theme is derived from the chart theme and nothing is added to\n`defaultTheme`. Override any key with the `theme` option:\n\n`line`, `accent`, `handleFill`, `halo`, `labelBg`, `labelText`, `tagText`,\n`up`, `down`, `warn`, `guide`, `font`, `textColor` and `fib` (an array of level\ncolours).\n\nThree optional keys on the chart theme itself feed it, so one `setTheme` can\ncarry them: `drawingLine`, `drawingAccent` and `drawingFib`. The accent is an\nember amber, deliberately unlike the up and down colours. The wrong-side\nposition colour (`warn`) is a magenta, distinct from the accent, up and down on\nboth backgrounds; the `R:R —` label still says it in words.\n\n### Motion\n\nDrawings are held to the same rule as the rest of the chart: motion that is\nglued to the data.\n\n- Anchors never move by themselves, and nothing eases the data-to-pixel\n  mapping. Every frame projects a drawing through the same scales as the\n  candles.\n- What *does* glide is a **residual**, kept in data space (bars, and price) and\n  settling to zero. A snap changing kind, an undo or redo, a nudge, an API\n  `update(..., { animate: true })`, the slop catch-up on touch and a cancelled\n  drag all seed one. Because it is in data units, a residual stays glued to the\n  candles even if the view zooms mid-glide, and it stops the loop as soon as it\n  is under 0.1 px.\n- **Dragging is crisp.** A change of bar slot, or of the magnet's target from\n  one bar to the next, never glides, because a glide would trail the pointer.\n  The house rule that a drag jumps applies here too.\n- Selection handles pop in staggered, hover fades, fib levels stagger in, a new\n  horizontal line grows from where you clicked, a deleted drawing fades out,\n  and a locked drawing shakes when you try to change it.\n\n`motion: 'auto'` follows `chart.options.animate` (`setAnimate(false)` turns it\noff at runtime) and the browser's `prefers-reduced-motion`. `'reduced'` drops\nresiduals, overshoot, ripples, stagger, reveals, shakes and pulses, and keeps\nshort fades of 120 ms or less. `'none'` finishes everything at once and keeps\n**no** frames alive. Colours change instantly in every mode.\n\nAn armed tool under a still mouse costs zero frames, and so does a selected\ndrawing once its handles have popped in. Only the `plugins` canvas repaints for\na hover or a selection, so the candles are never redrawn for it.\n\n### Custom tools\n\nA tool is a plain object, a `ToolDef`. The nine standard ones are written\nagainst exactly this contract and get no private access. It is\n**experimental**: this is the part of the drawings API most likely to change\nbefore 1.0.\n\n```js\nconst pin = {\n  type: 'pin', label: 'Pin', anchors: 1, creation: 'single',\n  snapPrefs: ['close', 'high', 'low', 'open'], prefBoost: 1,\n  defaultStyle: { color: null, lineWidth: 1.5, lineStyle: 'solid', fill: null,\n                  fillOpacity: 0, textColor: null, fontSize: 12 },\n  defaultOptions: { label: '' },\n  // a NEW object with known keys only, and idempotent: the keys of what this\n  // returns are the \"known\" options; anything else is carried\n  normalizeOptions: (raw) => ({ label: typeof raw?.label === 'string' ? raw.label.slice(0, 40) : '' }),\n\n  // anchors arrive already projected through the pane's scales\n  project(d, anchors, ctx, out) {\n    const a = anchors[0]\n    if (!Number.isFinite(a.x) || !Number.isFinite(a.y)) return false   // nothing visible\n    out.x = a.x; out.y = a.y\n    out.infinite = false\n    out.bbox = { x0: a.x - 6, y0: a.y - 6, x1: a.x + 6, y1: a.y + 6 }\n    return true\n  },\n  // assign absolute values: never read canvas state back\n  draw(c, g, d, look, ctx) {\n    c.globalAlpha = look.alpha\n    c.fillStyle = d.style.color || ctx.theme.line\n    c.beginPath(); c.arc(g.x, g.y, 4 + 2 * look.hover, 0, Math.PI * 2); c.fill()\n    if (d.options.label) { c.font = ctx.theme.font; c.fillText(d.options.label, g.x + 8, g.y + 4) }\n  },\n  hit: (g, x, y, tol) => (Math.hypot(x - g.x, y - g.y) <= tol + 4 ? { part: 'body' } : null),\n  handles: (g, d, out) => { out[0] = { x: g.x, y: g.y, index: 0, axis: 'xy', cursor: 'grab' }; return 1 },\n  dragHandle: (d0, index, snapped) => [snapped.point],\n}\n\nconst drawings = createDrawings(chart, { tools: [trendLine, pin] })\ndrawings.add({ type: 'pin', points: [{ time, price }], options: { label: 'entry' } })\n```\n\n`project` is the single source of geometry for `draw`, `hit`, `handles` and the\nexport, so what is drawn is what is hit. Optional members add `complete` (expand\na click into more points), `dragBody`, `bleed` (how far your pixels reach past\nthe anchors, so culling never pops you out mid-pan), `angleOrigin`,\n`snapTargets`, `axisTags`, `stats` and `priceAt`. A custom tool has no preset:\narm it with `setTool('pin')`. A drawing whose tool throws is marked broken and\nskipped, reported once through the chart's `'error'` event, and never blanks\nthe others; the reader can still select and delete it. See\n`src/drawings/index.d.ts` for the full contract.\n\n### Framework recipes\n\nThere is no adapter code: importing drawings from the React or web-component\nentry would ship them to everyone who uses those. Each recipe **enables\nsynchronously** and loads afterwards, so an unmount during the load can never\ndestroy a chart and then enable drawings on it, and the `LoadReport` stays\nreachable.\n\n**React**\n\n```jsx\nimport { EmberwickChart } from 'emberwick/react'\nimport { enableDrawings } from 'emberwick/drawings'\n\nuseEffect(() => {\n  const d = enableDrawings(ref.current.chart)\n  let live = true\n  api.load(id).then((rows) => { if (live && !d.destroyed) setReport(d.setDrawings(rows)) })\n  const off = d.subscribe('change', save)\n  return () => { live = false; off(); d.destroy() }\n}, [id])\n```\n\nThe parent's effect runs after the child adapter's, so `chart` already exists.\nStrictMode's second run gets a fresh controller because `destroy()` released\nthe first.\n\n**Web component.** Call `enableDrawings(el.chart)` after the element connects.\nDisconnecting and reconnecting re-creates the chart, so persist through\n`change` and enable again.\n\n**Vue 3** (as Traed does):\n\n```js\nonMounted(async () => {\n  drawings = enableDrawings(chart)                    // synchronous: exists before any await\n  drawings.subscribe('change', debounce(() => api.save(id, drawings.getDrawings()), 400))\n  const rows = await api.load(id)\n  if (!drawings.destroyed) report.value = drawings.setDrawings(rows)\n})\nonBeforeUnmount(() => { drawings?.destroy(); chart?.destroy() })\n```\n\nThe controller carries `__v_skip`, so Vue never deep-proxies it, and drawings on\nan RSI pane work as they are.\n\n### Size and opt-in\n\nStated plainly, with numbers measured by `npm run size` (gzipped):\n\n- **No drawing code is in the core.** A chart that never imports\n  `emberwick/drawings` carries none of it, and CI builds the core with and\n  without the drawings entry and fails unless `index.js` and its source map\n  come out **byte-identical**.\n- **The plugin seam is generic and cost the core +4.2 KB** in the unminified\n  ESM (36.0 KB, from 31.8) and +2.6 KB in the minified UMD (20.3 KB, from 17.7)\n  when it arrived in 0.12. It is larger than the ~2.6 KB first estimated because\n  the ESM keeps the comments, and the gesture handling is where the comments\n  are. With no plugin attached it costs **nothing at runtime**: three canvases,\n  and one length check per input hook. 0.13 added a layer under the candles and\n  three small helpers to it for another +1.28 KB (37.3 KB) and +0.86 KB\n  (21.2 KB); see [Volume profiles](#size-and-limits).\n- **The drawings cost 71.3 KB as unminified ESM and 52.4 KB as the minified\n  UMD**, only when you import them. That is a large number next to a 20 KB core,\n  and it is the honest one: nine tools, a snap pipeline, a state machine, an\n  undo history, a motion system and a schema loader are not small. `createDrawings`\n  with the tools you name lets a bundler drop the ones you do not.\n\n---\n\n## Volume profiles\n\nA volume profile is a horizontal histogram of how much volume traded at each\nprice, usually one per session, drawn against the price axis and marked with\nthe **point of control** (POC, the busiest price) and the **value area** (VAH\nto VAL, the band around the POC that holds 70% of the session's volume). They\nare a separate entry, `emberwick/profiles`, so a chart that never imports it\ncarries none of the code.\n\n**Emberwick draws the profiles you give it. It never computes one from the\nchart's bars.** The bars on a chart are often 5-minute bars or longer, and for\nsome instruments (an index) they carry no real volume at all; a profile binned\nfrom them would look plausible and be wrong, and the library has no way to\nknow. A host computes profiles where the fine data lives, typically on a server\nfrom 1-minute bars or ticks, and hands Emberwick the result in a small\nversioned contract. Data in, pixels out.\n\n### Enabling\n\n```js\nimport { createChart } from 'emberwick'\nimport { createVolumeProfile } from 'emberwick/profiles'\n\nconst chart = createChart(el)\nconst profile = createVolumeProfile(chart, { data, mode: 'both' })\n\nprofile.on('hover', (bin) => showReadout(bin))   // null when the pointer is over no bin\nprofile.destroy()                                // detach; idempotent\n```\n\nThe profile is a plugin on the [`below` layer](#plugins-experimental): it is\npainted **under** the candles, over the grid, and clipped to the price pane\nabove the volume strip, so it never covers price action, an oscillator pane or\nthe strip's own bars. It claims no gesture. Pan, zoom, drawings, markers and\nthe crosshair behave exactly as they do without it, and a marker over a profile\nbin is still hovered and clicked.\n\n### The data contract\n\n```ts\ninterface ProfileData {\n  version: 1\n  source?: string            // shown in the caption: \"Vol: <source>\"\n  step","readmeFilename":"README.md"}