@chartts/core 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (575) hide show
  1. package/dist/area-type-B3CtuIIP.d.cts +9 -0
  2. package/dist/area-type-DmB6fTVf.d.ts +9 -0
  3. package/dist/area.cjs +34 -0
  4. package/dist/area.cjs.map +1 -0
  5. package/dist/area.d.cts +8 -0
  6. package/dist/area.d.ts +8 -0
  7. package/dist/area.js +13 -0
  8. package/dist/area.js.map +1 -0
  9. package/dist/bar-type-Bne_khsO.d.ts +5 -0
  10. package/dist/bar-type-CkI-kkrC.d.cts +5 -0
  11. package/dist/bar.cjs +34 -0
  12. package/dist/bar.cjs.map +1 -0
  13. package/dist/bar.d.cts +8 -0
  14. package/dist/bar.d.ts +8 -0
  15. package/dist/bar.js +13 -0
  16. package/dist/bar.js.map +1 -0
  17. package/dist/baseline-type-B1O4XHT3.d.ts +25 -0
  18. package/dist/baseline-type-BAPrZJ5W.d.cts +25 -0
  19. package/dist/baseline.cjs +32 -0
  20. package/dist/baseline.cjs.map +1 -0
  21. package/dist/baseline.d.cts +8 -0
  22. package/dist/baseline.d.ts +8 -0
  23. package/dist/baseline.js +11 -0
  24. package/dist/baseline.js.map +1 -0
  25. package/dist/boxplot-type-CEWf7p5X.d.ts +5 -0
  26. package/dist/boxplot-type-Da8_smoe.d.cts +5 -0
  27. package/dist/boxplot.cjs +33 -0
  28. package/dist/boxplot.cjs.map +1 -0
  29. package/dist/boxplot.d.cts +8 -0
  30. package/dist/boxplot.d.ts +8 -0
  31. package/dist/boxplot.js +12 -0
  32. package/dist/boxplot.js.map +1 -0
  33. package/dist/bubble-type-Dxb2JCKv.d.cts +9 -0
  34. package/dist/bubble-type-pru5MgB7.d.ts +9 -0
  35. package/dist/bubble.cjs +32 -0
  36. package/dist/bubble.cjs.map +1 -0
  37. package/dist/bubble.d.cts +8 -0
  38. package/dist/bubble.d.ts +8 -0
  39. package/dist/bubble.js +11 -0
  40. package/dist/bubble.js.map +1 -0
  41. package/dist/bullet-type-CPEYkEvt.d.ts +15 -0
  42. package/dist/bullet-type-khCmwFqH.d.cts +15 -0
  43. package/dist/bullet.cjs +33 -0
  44. package/dist/bullet.cjs.map +1 -0
  45. package/dist/bullet.d.cts +8 -0
  46. package/dist/bullet.d.ts +8 -0
  47. package/dist/bullet.js +12 -0
  48. package/dist/bullet.js.map +1 -0
  49. package/dist/calendar-type-Br5mpdea.d.cts +15 -0
  50. package/dist/calendar-type-yJWPY6qT.d.ts +15 -0
  51. package/dist/calendar.cjs +33 -0
  52. package/dist/calendar.cjs.map +1 -0
  53. package/dist/calendar.d.cts +8 -0
  54. package/dist/calendar.d.ts +8 -0
  55. package/dist/calendar.js +12 -0
  56. package/dist/calendar.js.map +1 -0
  57. package/dist/candlestick-type-CazXUb77.d.cts +22 -0
  58. package/dist/candlestick-type-CtLZy_uC.d.ts +22 -0
  59. package/dist/candlestick.cjs +33 -0
  60. package/dist/candlestick.cjs.map +1 -0
  61. package/dist/candlestick.d.cts +8 -0
  62. package/dist/candlestick.d.ts +8 -0
  63. package/dist/candlestick.js +12 -0
  64. package/dist/candlestick.js.map +1 -0
  65. package/dist/chord-type-ChIZaOZd.d.cts +5 -0
  66. package/dist/chord-type-ruvHboZl.d.ts +5 -0
  67. package/dist/chord.cjs +33 -0
  68. package/dist/chord.cjs.map +1 -0
  69. package/dist/chord.d.cts +8 -0
  70. package/dist/chord.d.ts +8 -0
  71. package/dist/chord.js +12 -0
  72. package/dist/chord.js.map +1 -0
  73. package/dist/chunk-22LR6CFM.js +176 -0
  74. package/dist/chunk-22LR6CFM.js.map +1 -0
  75. package/dist/chunk-2TWYS3BT.cjs +199 -0
  76. package/dist/chunk-2TWYS3BT.cjs.map +1 -0
  77. package/dist/chunk-3BRQGYDX.js +4859 -0
  78. package/dist/chunk-3BRQGYDX.js.map +1 -0
  79. package/dist/chunk-3TTTELGB.cjs +146 -0
  80. package/dist/chunk-3TTTELGB.cjs.map +1 -0
  81. package/dist/chunk-3XVGEBR4.js +17 -0
  82. package/dist/chunk-3XVGEBR4.js.map +1 -0
  83. package/dist/chunk-4HK4RM3X.cjs +128 -0
  84. package/dist/chunk-4HK4RM3X.cjs.map +1 -0
  85. package/dist/chunk-4VG47RLS.js +130 -0
  86. package/dist/chunk-4VG47RLS.js.map +1 -0
  87. package/dist/chunk-4YJPBUX2.cjs +68 -0
  88. package/dist/chunk-4YJPBUX2.cjs.map +1 -0
  89. package/dist/chunk-5QOQR5FE.cjs +19 -0
  90. package/dist/chunk-5QOQR5FE.cjs.map +1 -0
  91. package/dist/chunk-66HSJRRH.js +112 -0
  92. package/dist/chunk-66HSJRRH.js.map +1 -0
  93. package/dist/chunk-6KNBJ4CE.js +144 -0
  94. package/dist/chunk-6KNBJ4CE.js.map +1 -0
  95. package/dist/chunk-6LKN3HRX.js +79 -0
  96. package/dist/chunk-6LKN3HRX.js.map +1 -0
  97. package/dist/chunk-6N66T7VQ.js +103 -0
  98. package/dist/chunk-6N66T7VQ.js.map +1 -0
  99. package/dist/chunk-6YKFTEX4.js +336 -0
  100. package/dist/chunk-6YKFTEX4.js.map +1 -0
  101. package/dist/chunk-7CGXK7KT.js +124 -0
  102. package/dist/chunk-7CGXK7KT.js.map +1 -0
  103. package/dist/chunk-7HDAYWK3.cjs +358 -0
  104. package/dist/chunk-7HDAYWK3.cjs.map +1 -0
  105. package/dist/chunk-7SEHTEMR.js +91 -0
  106. package/dist/chunk-7SEHTEMR.js.map +1 -0
  107. package/dist/chunk-7YV56WPE.js +157 -0
  108. package/dist/chunk-7YV56WPE.js.map +1 -0
  109. package/dist/chunk-B54L2CPW.cjs +165 -0
  110. package/dist/chunk-B54L2CPW.cjs.map +1 -0
  111. package/dist/chunk-BC6KW2OG.js +197 -0
  112. package/dist/chunk-BC6KW2OG.js.map +1 -0
  113. package/dist/chunk-BEYG2HQ4.cjs +178 -0
  114. package/dist/chunk-BEYG2HQ4.cjs.map +1 -0
  115. package/dist/chunk-BR3KTAGW.js +113 -0
  116. package/dist/chunk-BR3KTAGW.js.map +1 -0
  117. package/dist/chunk-BRSHEDTZ.js +30 -0
  118. package/dist/chunk-BRSHEDTZ.js.map +1 -0
  119. package/dist/chunk-BXX2EPFE.cjs +160 -0
  120. package/dist/chunk-BXX2EPFE.cjs.map +1 -0
  121. package/dist/chunk-BYXRFTEI.cjs +114 -0
  122. package/dist/chunk-BYXRFTEI.cjs.map +1 -0
  123. package/dist/chunk-CMEXNS5V.js +158 -0
  124. package/dist/chunk-CMEXNS5V.js.map +1 -0
  125. package/dist/chunk-D2SV6YT3.js +47 -0
  126. package/dist/chunk-D2SV6YT3.js.map +1 -0
  127. package/dist/chunk-DL7P72FA.cjs +273 -0
  128. package/dist/chunk-DL7P72FA.cjs.map +1 -0
  129. package/dist/chunk-DNQ6N3VG.js +208 -0
  130. package/dist/chunk-DNQ6N3VG.js.map +1 -0
  131. package/dist/chunk-E2S7RAT2.js +126 -0
  132. package/dist/chunk-E2S7RAT2.js.map +1 -0
  133. package/dist/chunk-E6PR75X7.js +15 -0
  134. package/dist/chunk-E6PR75X7.js.map +1 -0
  135. package/dist/chunk-EGQ4JCFU.cjs +109 -0
  136. package/dist/chunk-EGQ4JCFU.cjs.map +1 -0
  137. package/dist/chunk-ETPZGEL7.cjs +105 -0
  138. package/dist/chunk-ETPZGEL7.cjs.map +1 -0
  139. package/dist/chunk-FFJ6BVEY.cjs +132 -0
  140. package/dist/chunk-FFJ6BVEY.cjs.map +1 -0
  141. package/dist/chunk-FKYNRMPX.js +133 -0
  142. package/dist/chunk-FKYNRMPX.js.map +1 -0
  143. package/dist/chunk-FRWC6GUR.cjs +126 -0
  144. package/dist/chunk-FRWC6GUR.cjs.map +1 -0
  145. package/dist/chunk-FUZFNUCJ.js +104 -0
  146. package/dist/chunk-FUZFNUCJ.js.map +1 -0
  147. package/dist/chunk-GM3ZO5WV.js +13 -0
  148. package/dist/chunk-GM3ZO5WV.js.map +1 -0
  149. package/dist/chunk-GNRRK7TZ.cjs +149 -0
  150. package/dist/chunk-GNRRK7TZ.cjs.map +1 -0
  151. package/dist/chunk-H2AE7JMU.js +128 -0
  152. package/dist/chunk-H2AE7JMU.js.map +1 -0
  153. package/dist/chunk-H4RNJ7FK.cjs +115 -0
  154. package/dist/chunk-H4RNJ7FK.cjs.map +1 -0
  155. package/dist/chunk-HB4EGHJ7.cjs +153 -0
  156. package/dist/chunk-HB4EGHJ7.cjs.map +1 -0
  157. package/dist/chunk-HDWWUEPD.js +122 -0
  158. package/dist/chunk-HDWWUEPD.js.map +1 -0
  159. package/dist/chunk-HOOOCSU4.js +216 -0
  160. package/dist/chunk-HOOOCSU4.js.map +1 -0
  161. package/dist/chunk-J6NPRKT4.cjs +49 -0
  162. package/dist/chunk-J6NPRKT4.cjs.map +1 -0
  163. package/dist/chunk-JO6U4YR4.js +355 -0
  164. package/dist/chunk-JO6U4YR4.js.map +1 -0
  165. package/dist/chunk-KE7ILTM4.cjs +162 -0
  166. package/dist/chunk-KE7ILTM4.cjs.map +1 -0
  167. package/dist/chunk-KSRROKYC.cjs +135 -0
  168. package/dist/chunk-KSRROKYC.cjs.map +1 -0
  169. package/dist/chunk-KVI6DN3R.js +147 -0
  170. package/dist/chunk-KVI6DN3R.js.map +1 -0
  171. package/dist/chunk-L54BZYAI.cjs +111 -0
  172. package/dist/chunk-L54BZYAI.cjs.map +1 -0
  173. package/dist/chunk-LB4MV5CG.js +109 -0
  174. package/dist/chunk-LB4MV5CG.js.map +1 -0
  175. package/dist/chunk-LEJGLR2P.cjs +106 -0
  176. package/dist/chunk-LEJGLR2P.cjs.map +1 -0
  177. package/dist/chunk-LU35QDPN.cjs +30 -0
  178. package/dist/chunk-LU35QDPN.cjs.map +1 -0
  179. package/dist/chunk-LUTU4WW3.js +151 -0
  180. package/dist/chunk-LUTU4WW3.js.map +1 -0
  181. package/dist/chunk-M4AQD6WX.cjs +220 -0
  182. package/dist/chunk-M4AQD6WX.cjs.map +1 -0
  183. package/dist/chunk-M4UST3UU.cjs +159 -0
  184. package/dist/chunk-M4UST3UU.cjs.map +1 -0
  185. package/dist/chunk-MLD5ZIDO.cjs +359 -0
  186. package/dist/chunk-MLD5ZIDO.cjs.map +1 -0
  187. package/dist/chunk-MLX3EO2C.js +107 -0
  188. package/dist/chunk-MLX3EO2C.js.map +1 -0
  189. package/dist/chunk-MVWERW4G.cjs +28 -0
  190. package/dist/chunk-MVWERW4G.cjs.map +1 -0
  191. package/dist/chunk-MYPCA25Y.cjs +115 -0
  192. package/dist/chunk-MYPCA25Y.cjs.map +1 -0
  193. package/dist/chunk-N6IVODRJ.js +114 -0
  194. package/dist/chunk-N6IVODRJ.js.map +1 -0
  195. package/dist/chunk-NFD6VAVM.js +155 -0
  196. package/dist/chunk-NFD6VAVM.js.map +1 -0
  197. package/dist/chunk-NHGKZMD7.cjs +18 -0
  198. package/dist/chunk-NHGKZMD7.cjs.map +1 -0
  199. package/dist/chunk-NMLDPXOL.js +167 -0
  200. package/dist/chunk-NMLDPXOL.js.map +1 -0
  201. package/dist/chunk-NONU7KUN.cjs +32 -0
  202. package/dist/chunk-NONU7KUN.cjs.map +1 -0
  203. package/dist/chunk-NQSC7CKN.js +130 -0
  204. package/dist/chunk-NQSC7CKN.js.map +1 -0
  205. package/dist/chunk-NYVFC2SF.js +87 -0
  206. package/dist/chunk-NYVFC2SF.js.map +1 -0
  207. package/dist/chunk-O5KGKQSU.js +218 -0
  208. package/dist/chunk-O5KGKQSU.js.map +1 -0
  209. package/dist/chunk-OGSZO22B.js +26 -0
  210. package/dist/chunk-OGSZO22B.js.map +1 -0
  211. package/dist/chunk-Q2BDB5ZA.cjs +218 -0
  212. package/dist/chunk-Q2BDB5ZA.cjs.map +1 -0
  213. package/dist/chunk-Q6U5D2ZB.cjs +210 -0
  214. package/dist/chunk-Q6U5D2ZB.cjs.map +1 -0
  215. package/dist/chunk-QAYX6XN3.js +26 -0
  216. package/dist/chunk-QAYX6XN3.js.map +1 -0
  217. package/dist/chunk-QHJHYV3H.cjs +15 -0
  218. package/dist/chunk-QHJHYV3H.cjs.map +1 -0
  219. package/dist/chunk-QIJZZOX7.js +249 -0
  220. package/dist/chunk-QIJZZOX7.js.map +1 -0
  221. package/dist/chunk-QLRK46YY.cjs +93 -0
  222. package/dist/chunk-QLRK46YY.cjs.map +1 -0
  223. package/dist/chunk-QZ4ZYTP6.js +124 -0
  224. package/dist/chunk-QZ4ZYTP6.js.map +1 -0
  225. package/dist/chunk-RCVRZCCC.cjs +156 -0
  226. package/dist/chunk-RCVRZCCC.cjs.map +1 -0
  227. package/dist/chunk-ROYZ7W4M.cjs +81 -0
  228. package/dist/chunk-ROYZ7W4M.cjs.map +1 -0
  229. package/dist/chunk-SJS4ISBA.js +163 -0
  230. package/dist/chunk-SJS4ISBA.js.map +1 -0
  231. package/dist/chunk-SKVCPG5R.cjs +124 -0
  232. package/dist/chunk-SKVCPG5R.cjs.map +1 -0
  233. package/dist/chunk-SQJAKZ4W.js +113 -0
  234. package/dist/chunk-SQJAKZ4W.js.map +1 -0
  235. package/dist/chunk-SUNC3CPV.js +79 -0
  236. package/dist/chunk-SUNC3CPV.js.map +1 -0
  237. package/dist/chunk-SWYCVF46.js +145 -0
  238. package/dist/chunk-SWYCVF46.js.map +1 -0
  239. package/dist/chunk-SZVK6RRQ.js +98 -0
  240. package/dist/chunk-SZVK6RRQ.js.map +1 -0
  241. package/dist/chunk-TOS2RYHQ.js +154 -0
  242. package/dist/chunk-TOS2RYHQ.js.map +1 -0
  243. package/dist/chunk-TTOX27BZ.cjs +116 -0
  244. package/dist/chunk-TTOX27BZ.cjs.map +1 -0
  245. package/dist/chunk-TW6KPQIS.js +160 -0
  246. package/dist/chunk-TW6KPQIS.js.map +1 -0
  247. package/dist/chunk-UN7K3YQG.cjs +81 -0
  248. package/dist/chunk-UN7K3YQG.cjs.map +1 -0
  249. package/dist/chunk-UQBDGCS6.cjs +89 -0
  250. package/dist/chunk-UQBDGCS6.cjs.map +1 -0
  251. package/dist/chunk-VPI7UGB3.cjs +130 -0
  252. package/dist/chunk-VPI7UGB3.cjs.map +1 -0
  253. package/dist/chunk-X2JNB5UN.js +271 -0
  254. package/dist/chunk-X2JNB5UN.js.map +1 -0
  255. package/dist/chunk-XBIM73HV.cjs +126 -0
  256. package/dist/chunk-XBIM73HV.cjs.map +1 -0
  257. package/dist/chunk-XHQWWR5M.cjs +4892 -0
  258. package/dist/chunk-XHQWWR5M.cjs.map +1 -0
  259. package/dist/chunk-Y2JZHX3P.cjs +169 -0
  260. package/dist/chunk-Y2JZHX3P.cjs.map +1 -0
  261. package/dist/chunk-Y4P4VY7A.cjs +251 -0
  262. package/dist/chunk-Y4P4VY7A.cjs.map +1 -0
  263. package/dist/chunk-Y54XVNXB.cjs +157 -0
  264. package/dist/chunk-Y54XVNXB.cjs.map +1 -0
  265. package/dist/chunk-Z6E3XVP2.cjs +132 -0
  266. package/dist/chunk-Z6E3XVP2.cjs.map +1 -0
  267. package/dist/chunk-ZDYCIP6N.cjs +100 -0
  268. package/dist/chunk-ZDYCIP6N.cjs.map +1 -0
  269. package/dist/chunk-ZDZQG3GH.cjs +148 -0
  270. package/dist/chunk-ZDZQG3GH.cjs.map +1 -0
  271. package/dist/chunk-ZL25X5WW.js +66 -0
  272. package/dist/chunk-ZL25X5WW.js.map +1 -0
  273. package/dist/combo-type-BdSohVyy.d.ts +16 -0
  274. package/dist/combo-type-wodyLq1f.d.cts +16 -0
  275. package/dist/combo.cjs +34 -0
  276. package/dist/combo.cjs.map +1 -0
  277. package/dist/combo.d.cts +8 -0
  278. package/dist/combo.d.ts +8 -0
  279. package/dist/combo.js +13 -0
  280. package/dist/combo.js.map +1 -0
  281. package/dist/custom-type-B6w1n5Ua.d.cts +23 -0
  282. package/dist/custom-type-XFjuPwCr.d.ts +23 -0
  283. package/dist/custom.cjs +33 -0
  284. package/dist/custom.cjs.map +1 -0
  285. package/dist/custom.d.cts +8 -0
  286. package/dist/custom.d.ts +8 -0
  287. package/dist/custom.js +12 -0
  288. package/dist/custom.js.map +1 -0
  289. package/dist/donut.cjs +33 -0
  290. package/dist/donut.cjs.map +1 -0
  291. package/dist/donut.d.cts +8 -0
  292. package/dist/donut.d.ts +8 -0
  293. package/dist/donut.js +12 -0
  294. package/dist/donut.js.map +1 -0
  295. package/dist/dumbbell-type-DPSE0OTg.d.ts +12 -0
  296. package/dist/dumbbell-type-w424KzI2.d.cts +12 -0
  297. package/dist/dumbbell.cjs +34 -0
  298. package/dist/dumbbell.cjs.map +1 -0
  299. package/dist/dumbbell.d.cts +8 -0
  300. package/dist/dumbbell.d.ts +8 -0
  301. package/dist/dumbbell.js +13 -0
  302. package/dist/dumbbell.js.map +1 -0
  303. package/dist/engine-CNukbv7k.d.cts +426 -0
  304. package/dist/engine-CNukbv7k.d.ts +426 -0
  305. package/dist/factory-dbngWV4d.d.cts +8 -0
  306. package/dist/factory-jRzNNxwj.d.ts +8 -0
  307. package/dist/finance.cjs +92 -0
  308. package/dist/finance.cjs.map +1 -0
  309. package/dist/finance.d.cts +192 -0
  310. package/dist/finance.d.ts +192 -0
  311. package/dist/finance.js +3 -0
  312. package/dist/finance.js.map +1 -0
  313. package/dist/funnel-type-BeVl3ohX.d.cts +9 -0
  314. package/dist/funnel-type-CMXGQq4T.d.ts +9 -0
  315. package/dist/funnel.cjs +33 -0
  316. package/dist/funnel.cjs.map +1 -0
  317. package/dist/funnel.d.cts +8 -0
  318. package/dist/funnel.d.ts +8 -0
  319. package/dist/funnel.js +12 -0
  320. package/dist/funnel.js.map +1 -0
  321. package/dist/gauge-type-BpDBwCeD.d.ts +11 -0
  322. package/dist/gauge-type-DmjDdfsY.d.cts +11 -0
  323. package/dist/gauge.cjs +33 -0
  324. package/dist/gauge.cjs.map +1 -0
  325. package/dist/gauge.d.cts +8 -0
  326. package/dist/gauge.d.ts +8 -0
  327. package/dist/gauge.js +12 -0
  328. package/dist/gauge.js.map +1 -0
  329. package/dist/geo.cjs +41 -0
  330. package/dist/geo.cjs.map +1 -0
  331. package/dist/geo.d.cts +8 -0
  332. package/dist/geo.d.ts +8 -0
  333. package/dist/geo.js +12 -0
  334. package/dist/geo.js.map +1 -0
  335. package/dist/graph-type-DkdAB6Vc.d.cts +5 -0
  336. package/dist/graph-type-ul9xwdf5.d.ts +5 -0
  337. package/dist/graph.cjs +33 -0
  338. package/dist/graph.cjs.map +1 -0
  339. package/dist/graph.d.cts +8 -0
  340. package/dist/graph.d.ts +8 -0
  341. package/dist/graph.js +12 -0
  342. package/dist/graph.js.map +1 -0
  343. package/dist/heatmap-type-D0shkxK7.d.cts +12 -0
  344. package/dist/heatmap-type-q6nNhVTr.d.ts +12 -0
  345. package/dist/heatmap.cjs +33 -0
  346. package/dist/heatmap.cjs.map +1 -0
  347. package/dist/heatmap.d.cts +8 -0
  348. package/dist/heatmap.d.ts +8 -0
  349. package/dist/heatmap.js +12 -0
  350. package/dist/heatmap.js.map +1 -0
  351. package/dist/histogram-type-BWil-Rb7.d.cts +13 -0
  352. package/dist/histogram-type-CF593WSp.d.ts +13 -0
  353. package/dist/histogram.cjs +33 -0
  354. package/dist/histogram.cjs.map +1 -0
  355. package/dist/histogram.d.cts +8 -0
  356. package/dist/histogram.d.ts +8 -0
  357. package/dist/histogram.js +12 -0
  358. package/dist/histogram.js.map +1 -0
  359. package/dist/horizontal-bar-type-0mqnyMUR.d.cts +11 -0
  360. package/dist/horizontal-bar-type-DAlrxY0h.d.ts +11 -0
  361. package/dist/horizontal-bar.cjs +34 -0
  362. package/dist/horizontal-bar.cjs.map +1 -0
  363. package/dist/horizontal-bar.d.cts +8 -0
  364. package/dist/horizontal-bar.d.ts +8 -0
  365. package/dist/horizontal-bar.js +13 -0
  366. package/dist/horizontal-bar.js.map +1 -0
  367. package/dist/index.cjs +1604 -0
  368. package/dist/index.cjs.map +1 -0
  369. package/dist/index.d.cts +594 -0
  370. package/dist/index.d.ts +594 -0
  371. package/dist/index.js +1201 -0
  372. package/dist/index.js.map +1 -0
  373. package/dist/kagi-type-Y5XUVm3h.d.ts +26 -0
  374. package/dist/kagi-type-aG-Q1bWk.d.cts +26 -0
  375. package/dist/kagi.cjs +33 -0
  376. package/dist/kagi.cjs.map +1 -0
  377. package/dist/kagi.d.cts +8 -0
  378. package/dist/kagi.d.ts +8 -0
  379. package/dist/kagi.js +12 -0
  380. package/dist/kagi.js.map +1 -0
  381. package/dist/line-type-B8lgTFjb.d.cts +5 -0
  382. package/dist/line-type-Diw0nXj7.d.ts +5 -0
  383. package/dist/line.cjs +33 -0
  384. package/dist/line.cjs.map +1 -0
  385. package/dist/line.d.cts +8 -0
  386. package/dist/line.d.ts +8 -0
  387. package/dist/line.js +12 -0
  388. package/dist/line.js.map +1 -0
  389. package/dist/lines-type-CGrg_mDi.d.cts +31 -0
  390. package/dist/lines-type-V-seVNZ4.d.ts +31 -0
  391. package/dist/lines.cjs +33 -0
  392. package/dist/lines.cjs.map +1 -0
  393. package/dist/lines.d.cts +8 -0
  394. package/dist/lines.d.ts +8 -0
  395. package/dist/lines.js +12 -0
  396. package/dist/lines.js.map +1 -0
  397. package/dist/lollipop-type-CoTzKLSu.d.cts +11 -0
  398. package/dist/lollipop-type-Ygc4rRql.d.ts +11 -0
  399. package/dist/lollipop.cjs +33 -0
  400. package/dist/lollipop.cjs.map +1 -0
  401. package/dist/lollipop.d.cts +8 -0
  402. package/dist/lollipop.d.ts +8 -0
  403. package/dist/lollipop.js +12 -0
  404. package/dist/lollipop.js.map +1 -0
  405. package/dist/matrix-type-Crb_NwUJ.d.cts +26 -0
  406. package/dist/matrix-type-Dag1VLCY.d.ts +26 -0
  407. package/dist/matrix.cjs +33 -0
  408. package/dist/matrix.cjs.map +1 -0
  409. package/dist/matrix.d.cts +8 -0
  410. package/dist/matrix.d.ts +8 -0
  411. package/dist/matrix.js +12 -0
  412. package/dist/matrix.js.map +1 -0
  413. package/dist/ohlc-type-BQBHvVJO.d.cts +28 -0
  414. package/dist/ohlc-type-CGR-vRGL.d.ts +28 -0
  415. package/dist/ohlc.cjs +33 -0
  416. package/dist/ohlc.cjs.map +1 -0
  417. package/dist/ohlc.d.cts +8 -0
  418. package/dist/ohlc.d.ts +8 -0
  419. package/dist/ohlc.js +12 -0
  420. package/dist/ohlc.js.map +1 -0
  421. package/dist/parallel-type-6t6xyHMg.d.ts +14 -0
  422. package/dist/parallel-type-D-S-EqeC.d.cts +14 -0
  423. package/dist/parallel.cjs +33 -0
  424. package/dist/parallel.cjs.map +1 -0
  425. package/dist/parallel.d.cts +8 -0
  426. package/dist/parallel.d.ts +8 -0
  427. package/dist/parallel.js +12 -0
  428. package/dist/parallel.js.map +1 -0
  429. package/dist/pictorialbar-type-A-8mTX1N.d.ts +5 -0
  430. package/dist/pictorialbar-type-CnJEH9GZ.d.cts +5 -0
  431. package/dist/pictorialbar.cjs +33 -0
  432. package/dist/pictorialbar.cjs.map +1 -0
  433. package/dist/pictorialbar.d.cts +8 -0
  434. package/dist/pictorialbar.d.ts +8 -0
  435. package/dist/pictorialbar.js +12 -0
  436. package/dist/pictorialbar.js.map +1 -0
  437. package/dist/pie-type-S7kUKGRS.d.ts +7 -0
  438. package/dist/pie-type-duX5xkfQ.d.cts +7 -0
  439. package/dist/pie.cjs +33 -0
  440. package/dist/pie.cjs.map +1 -0
  441. package/dist/pie.d.cts +8 -0
  442. package/dist/pie.d.ts +8 -0
  443. package/dist/pie.js +12 -0
  444. package/dist/pie.js.map +1 -0
  445. package/dist/polar-type-CI6-I8Yg.d.cts +11 -0
  446. package/dist/polar-type-Dj21GIc9.d.ts +11 -0
  447. package/dist/polar.cjs +33 -0
  448. package/dist/polar.cjs.map +1 -0
  449. package/dist/polar.d.cts +8 -0
  450. package/dist/polar.d.ts +8 -0
  451. package/dist/polar.js +12 -0
  452. package/dist/polar.js.map +1 -0
  453. package/dist/radar-type-CYjZHuKm.d.ts +9 -0
  454. package/dist/radar-type-Dgyr13Zd.d.cts +9 -0
  455. package/dist/radar.cjs +33 -0
  456. package/dist/radar.cjs.map +1 -0
  457. package/dist/radar.d.cts +8 -0
  458. package/dist/radar.d.ts +8 -0
  459. package/dist/radar.js +12 -0
  460. package/dist/radar.js.map +1 -0
  461. package/dist/radialbar-type-CLZ8XgST.d.ts +11 -0
  462. package/dist/radialbar-type-C_SBXoaa.d.cts +11 -0
  463. package/dist/radialbar.cjs +33 -0
  464. package/dist/radialbar.cjs.map +1 -0
  465. package/dist/radialbar.d.cts +8 -0
  466. package/dist/radialbar.d.ts +8 -0
  467. package/dist/radialbar.js +12 -0
  468. package/dist/radialbar.js.map +1 -0
  469. package/dist/range-type-CkriEnLm.d.cts +26 -0
  470. package/dist/range-type-_LbMV4tl.d.ts +26 -0
  471. package/dist/range.cjs +32 -0
  472. package/dist/range.cjs.map +1 -0
  473. package/dist/range.d.cts +8 -0
  474. package/dist/range.d.ts +8 -0
  475. package/dist/range.js +11 -0
  476. package/dist/range.js.map +1 -0
  477. package/dist/renko-type-43OXCtZ3.d.cts +24 -0
  478. package/dist/renko-type-ejoXt2ro.d.ts +24 -0
  479. package/dist/renko.cjs +33 -0
  480. package/dist/renko.cjs.map +1 -0
  481. package/dist/renko.d.cts +8 -0
  482. package/dist/renko.d.ts +8 -0
  483. package/dist/renko.js +12 -0
  484. package/dist/renko.js.map +1 -0
  485. package/dist/sankey-type-CN7PL5MQ.d.ts +5 -0
  486. package/dist/sankey-type-DfkTUnXB.d.cts +5 -0
  487. package/dist/sankey.cjs +33 -0
  488. package/dist/sankey.cjs.map +1 -0
  489. package/dist/sankey.d.cts +8 -0
  490. package/dist/sankey.d.ts +8 -0
  491. package/dist/sankey.js +12 -0
  492. package/dist/sankey.js.map +1 -0
  493. package/dist/scatter-type-CD7X1pZb.d.cts +5 -0
  494. package/dist/scatter-type-D3HdPkZ6.d.ts +5 -0
  495. package/dist/scatter.cjs +32 -0
  496. package/dist/scatter.cjs.map +1 -0
  497. package/dist/scatter.d.cts +8 -0
  498. package/dist/scatter.d.ts +8 -0
  499. package/dist/scatter.js +11 -0
  500. package/dist/scatter.js.map +1 -0
  501. package/dist/sparkline-type-COW3izgF.d.ts +9 -0
  502. package/dist/sparkline-type-qt3yoLs7.d.cts +9 -0
  503. package/dist/sparkline.cjs +33 -0
  504. package/dist/sparkline.cjs.map +1 -0
  505. package/dist/sparkline.d.cts +8 -0
  506. package/dist/sparkline.d.ts +8 -0
  507. package/dist/sparkline.js +12 -0
  508. package/dist/sparkline.js.map +1 -0
  509. package/dist/stacked-bar-type-C-5pmb-D.d.ts +8 -0
  510. package/dist/stacked-bar-type-Ct6HK2A0.d.cts +8 -0
  511. package/dist/stacked-bar.cjs +34 -0
  512. package/dist/stacked-bar.cjs.map +1 -0
  513. package/dist/stacked-bar.d.cts +8 -0
  514. package/dist/stacked-bar.d.ts +8 -0
  515. package/dist/stacked-bar.js +13 -0
  516. package/dist/stacked-bar.js.map +1 -0
  517. package/dist/step-type-BSL-CUny.d.cts +11 -0
  518. package/dist/step-type-Cleoshov.d.ts +11 -0
  519. package/dist/step.cjs +34 -0
  520. package/dist/step.cjs.map +1 -0
  521. package/dist/step.d.cts +8 -0
  522. package/dist/step.d.ts +8 -0
  523. package/dist/step.js +13 -0
  524. package/dist/step.js.map +1 -0
  525. package/dist/sunburst-type-BOztb_Px.d.cts +5 -0
  526. package/dist/sunburst-type-ZFw2w6m8.d.ts +5 -0
  527. package/dist/sunburst.cjs +33 -0
  528. package/dist/sunburst.cjs.map +1 -0
  529. package/dist/sunburst.d.cts +8 -0
  530. package/dist/sunburst.d.ts +8 -0
  531. package/dist/sunburst.js +12 -0
  532. package/dist/sunburst.js.map +1 -0
  533. package/dist/themeriver-type-B5PYChcC.d.ts +15 -0
  534. package/dist/themeriver-type-BnRSsyal.d.cts +15 -0
  535. package/dist/themeriver.cjs +33 -0
  536. package/dist/themeriver.cjs.map +1 -0
  537. package/dist/themeriver.d.cts +8 -0
  538. package/dist/themeriver.d.ts +8 -0
  539. package/dist/themeriver.js +12 -0
  540. package/dist/themeriver.js.map +1 -0
  541. package/dist/tree-type-B-bOSg0l.d.ts +5 -0
  542. package/dist/tree-type-Cz84wHnR.d.cts +5 -0
  543. package/dist/tree.cjs +33 -0
  544. package/dist/tree.cjs.map +1 -0
  545. package/dist/tree.d.cts +8 -0
  546. package/dist/tree.d.ts +8 -0
  547. package/dist/tree.js +12 -0
  548. package/dist/tree.js.map +1 -0
  549. package/dist/treemap-type-DYDj-rWv.d.ts +11 -0
  550. package/dist/treemap-type-OBCGexiK.d.cts +11 -0
  551. package/dist/treemap.cjs +33 -0
  552. package/dist/treemap.cjs.map +1 -0
  553. package/dist/treemap.d.cts +8 -0
  554. package/dist/treemap.d.ts +8 -0
  555. package/dist/treemap.js +12 -0
  556. package/dist/treemap.js.map +1 -0
  557. package/dist/volume-type-C9wRmKR6.d.ts +21 -0
  558. package/dist/volume-type-CfERBN5g.d.cts +21 -0
  559. package/dist/volume.cjs +33 -0
  560. package/dist/volume.cjs.map +1 -0
  561. package/dist/volume.d.cts +8 -0
  562. package/dist/volume.d.ts +8 -0
  563. package/dist/volume.js +12 -0
  564. package/dist/volume.js.map +1 -0
  565. package/dist/waterfall-type-CpdVtBi_.d.ts +10 -0
  566. package/dist/waterfall-type-hm5ylGgW.d.cts +10 -0
  567. package/dist/waterfall.cjs +33 -0
  568. package/dist/waterfall.cjs.map +1 -0
  569. package/dist/waterfall.d.cts +8 -0
  570. package/dist/waterfall.d.ts +8 -0
  571. package/dist/waterfall.js +12 -0
  572. package/dist/waterfall.js.map +1 -0
  573. package/dist/world-regions-Cfvxpbx0.d.ts +50 -0
  574. package/dist/world-regions-cMulhqDW.d.cts +50 -0
  575. package/package.json +262 -0
package/dist/index.cjs ADDED
@@ -0,0 +1,1604 @@
1
+ 'use strict';
2
+
3
+ var chunkMVWERW4G_cjs = require('./chunk-MVWERW4G.cjs');
4
+ var chunkUN7K3YQG_cjs = require('./chunk-UN7K3YQG.cjs');
5
+ var chunkY54XVNXB_cjs = require('./chunk-Y54XVNXB.cjs');
6
+ var chunkB54L2CPW_cjs = require('./chunk-B54L2CPW.cjs');
7
+ var chunkRCVRZCCC_cjs = require('./chunk-RCVRZCCC.cjs');
8
+ var chunkTTOX27BZ_cjs = require('./chunk-TTOX27BZ.cjs');
9
+ var chunk7HDAYWK3_cjs = require('./chunk-7HDAYWK3.cjs');
10
+ var chunkY2JZHX3P_cjs = require('./chunk-Y2JZHX3P.cjs');
11
+ var chunkFFJ6BVEY_cjs = require('./chunk-FFJ6BVEY.cjs');
12
+ var chunkM4AQD6WX_cjs = require('./chunk-M4AQD6WX.cjs');
13
+ var chunkMLD5ZIDO_cjs = require('./chunk-MLD5ZIDO.cjs');
14
+ var chunkBEYG2HQ4_cjs = require('./chunk-BEYG2HQ4.cjs');
15
+ var chunkM4UST3UU_cjs = require('./chunk-M4UST3UU.cjs');
16
+ var chunkJ6NPRKT4_cjs = require('./chunk-J6NPRKT4.cjs');
17
+ var chunkLEJGLR2P_cjs = require('./chunk-LEJGLR2P.cjs');
18
+ var chunkMYPCA25Y_cjs = require('./chunk-MYPCA25Y.cjs');
19
+ var chunkH4RNJ7FK_cjs = require('./chunk-H4RNJ7FK.cjs');
20
+ var chunkKE7ILTM4_cjs = require('./chunk-KE7ILTM4.cjs');
21
+ var chunkY4P4VY7A_cjs = require('./chunk-Y4P4VY7A.cjs');
22
+ var chunkQ2BDB5ZA_cjs = require('./chunk-Q2BDB5ZA.cjs');
23
+ var chunkDL7P72FA_cjs = require('./chunk-DL7P72FA.cjs');
24
+ var chunkQ6U5D2ZB_cjs = require('./chunk-Q6U5D2ZB.cjs');
25
+ var chunkGNRRK7TZ_cjs = require('./chunk-GNRRK7TZ.cjs');
26
+ var chunkFRWC6GUR_cjs = require('./chunk-FRWC6GUR.cjs');
27
+ var chunkZ6E3XVP2_cjs = require('./chunk-Z6E3XVP2.cjs');
28
+ var chunkROYZ7W4M_cjs = require('./chunk-ROYZ7W4M.cjs');
29
+ var chunkHB4EGHJ7_cjs = require('./chunk-HB4EGHJ7.cjs');
30
+ var chunkKSRROKYC_cjs = require('./chunk-KSRROKYC.cjs');
31
+ var chunkSKVCPG5R_cjs = require('./chunk-SKVCPG5R.cjs');
32
+ var chunkUQBDGCS6_cjs = require('./chunk-UQBDGCS6.cjs');
33
+ var chunkBYXRFTEI_cjs = require('./chunk-BYXRFTEI.cjs');
34
+ var chunkQLRK46YY_cjs = require('./chunk-QLRK46YY.cjs');
35
+ var chunkNONU7KUN_cjs = require('./chunk-NONU7KUN.cjs');
36
+ var chunkBXX2EPFE_cjs = require('./chunk-BXX2EPFE.cjs');
37
+ var chunkETPZGEL7_cjs = require('./chunk-ETPZGEL7.cjs');
38
+ var chunkL54BZYAI_cjs = require('./chunk-L54BZYAI.cjs');
39
+ var chunk3TTTELGB_cjs = require('./chunk-3TTTELGB.cjs');
40
+ var chunkXBIM73HV_cjs = require('./chunk-XBIM73HV.cjs');
41
+ var chunkZDYCIP6N_cjs = require('./chunk-ZDYCIP6N.cjs');
42
+ var chunk2TWYS3BT_cjs = require('./chunk-2TWYS3BT.cjs');
43
+ var chunkEGQ4JCFU_cjs = require('./chunk-EGQ4JCFU.cjs');
44
+ var chunk4HK4RM3X_cjs = require('./chunk-4HK4RM3X.cjs');
45
+ var chunkVPI7UGB3_cjs = require('./chunk-VPI7UGB3.cjs');
46
+ require('./chunk-NHGKZMD7.cjs');
47
+ var chunkLU35QDPN_cjs = require('./chunk-LU35QDPN.cjs');
48
+ var chunkZDZQG3GH_cjs = require('./chunk-ZDZQG3GH.cjs');
49
+ require('./chunk-5QOQR5FE.cjs');
50
+ var chunk4YJPBUX2_cjs = require('./chunk-4YJPBUX2.cjs');
51
+ var chunkXHQWWR5M_cjs = require('./chunk-XHQWWR5M.cjs');
52
+
53
+ // src/api/convenience.ts
54
+ function Line(target, config) {
55
+ const { data, ...options } = config;
56
+ return chunkXHQWWR5M_cjs.createChart(target, chunk2TWYS3BT_cjs.lineChartType, data, options);
57
+ }
58
+ function Bar(target, config) {
59
+ const { data, ...options } = config;
60
+ return chunkXHQWWR5M_cjs.createChart(target, chunkEGQ4JCFU_cjs.barChartType, data, options);
61
+ }
62
+ function StackedBar(target, config) {
63
+ const { data, ...options } = config;
64
+ return chunkXHQWWR5M_cjs.createChart(target, chunk4HK4RM3X_cjs.stackedBarChartType, data, options);
65
+ }
66
+ function HorizontalBar(target, config) {
67
+ const { data, ...options } = config;
68
+ return chunkXHQWWR5M_cjs.createChart(target, chunkVPI7UGB3_cjs.horizontalBarChartType, data, options);
69
+ }
70
+ function Pie(target, config) {
71
+ const { data, ...options } = config;
72
+ return chunkXHQWWR5M_cjs.createChart(target, chunkZDZQG3GH_cjs.pieChartType, data, options);
73
+ }
74
+ function Donut(target, config) {
75
+ const { data, ...options } = config;
76
+ return chunkXHQWWR5M_cjs.createChart(target, chunkZDZQG3GH_cjs.donutChartType, data, options);
77
+ }
78
+ function Scatter(target, config) {
79
+ const { data, ...options } = config;
80
+ return chunkXHQWWR5M_cjs.createChart(target, chunk4YJPBUX2_cjs.scatterChartType, data, options);
81
+ }
82
+ function Sparkline(target, config) {
83
+ const { data, ...options } = config;
84
+ return chunkXHQWWR5M_cjs.createChart(target, chunkQLRK46YY_cjs.sparklineChartType, data, options);
85
+ }
86
+ function Area(target, config) {
87
+ const { data, ...options } = config;
88
+ return chunkXHQWWR5M_cjs.createChart(target, chunkNONU7KUN_cjs.areaChartType, data, options);
89
+ }
90
+ function Radar(target, config) {
91
+ const { data, ...options } = config;
92
+ return chunkXHQWWR5M_cjs.createChart(target, chunkBXX2EPFE_cjs.radarChartType, data, options);
93
+ }
94
+ function Bubble(target, config) {
95
+ const { data, ...options } = config;
96
+ return chunkXHQWWR5M_cjs.createChart(target, chunkETPZGEL7_cjs.bubbleChartType, data, options);
97
+ }
98
+ function Candlestick(target, config) {
99
+ const { data, ...options } = config;
100
+ return chunkXHQWWR5M_cjs.createChart(target, chunkL54BZYAI_cjs.candlestickChartType, data, options);
101
+ }
102
+ function Gauge(target, config) {
103
+ const { data, ...options } = config;
104
+ return chunkXHQWWR5M_cjs.createChart(target, chunk3TTTELGB_cjs.gaugeChartType, data, options);
105
+ }
106
+ function Waterfall(target, config) {
107
+ const { data, ...options } = config;
108
+ return chunkXHQWWR5M_cjs.createChart(target, chunkXBIM73HV_cjs.waterfallChartType, data, options);
109
+ }
110
+ function Funnel(target, config) {
111
+ const { data, ...options } = config;
112
+ return chunkXHQWWR5M_cjs.createChart(target, chunkZDYCIP6N_cjs.funnelChartType, data, options);
113
+ }
114
+ function Heatmap(target, config) {
115
+ const { data, ...options } = config;
116
+ return chunkXHQWWR5M_cjs.createChart(target, chunkFRWC6GUR_cjs.heatmapChartType, data, options);
117
+ }
118
+ function Boxplot(target, config) {
119
+ const { data, ...options } = config;
120
+ return chunkXHQWWR5M_cjs.createChart(target, chunkZ6E3XVP2_cjs.boxplotChartType, data, options);
121
+ }
122
+ function Histogram(target, config) {
123
+ const { data, ...options } = config;
124
+ return chunkXHQWWR5M_cjs.createChart(target, chunkROYZ7W4M_cjs.histogramChartType, data, options);
125
+ }
126
+ function Treemap(target, config) {
127
+ const { data, ...options } = config;
128
+ return chunkXHQWWR5M_cjs.createChart(target, chunkHB4EGHJ7_cjs.treemapChartType, data, options);
129
+ }
130
+ function Polar(target, config) {
131
+ const { data, ...options } = config;
132
+ return chunkXHQWWR5M_cjs.createChart(target, chunkKSRROKYC_cjs.polarChartType, data, options);
133
+ }
134
+ function RadialBar(target, config) {
135
+ const { data, ...options } = config;
136
+ return chunkXHQWWR5M_cjs.createChart(target, chunkSKVCPG5R_cjs.radialBarChartType, data, options);
137
+ }
138
+ function Lollipop(target, config) {
139
+ const { data, ...options } = config;
140
+ return chunkXHQWWR5M_cjs.createChart(target, chunkUQBDGCS6_cjs.lollipopChartType, data, options);
141
+ }
142
+ function Bullet(target, config) {
143
+ const { data, ...options } = config;
144
+ return chunkXHQWWR5M_cjs.createChart(target, chunkBYXRFTEI_cjs.bulletChartType, data, options);
145
+ }
146
+ function Dumbbell(target, config) {
147
+ const { data, ...options } = config;
148
+ return chunkXHQWWR5M_cjs.createChart(target, chunkMYPCA25Y_cjs.dumbbellChartType, data, options);
149
+ }
150
+ function Calendar(target, config) {
151
+ const { data, ...options } = config;
152
+ return chunkXHQWWR5M_cjs.createChart(target, chunkH4RNJ7FK_cjs.calendarChartType, data, options);
153
+ }
154
+ function Combo(target, config) {
155
+ const { data, ...options } = config;
156
+ return chunkXHQWWR5M_cjs.createChart(target, chunkKE7ILTM4_cjs.comboChartType, data, options);
157
+ }
158
+ function Sankey(target, config) {
159
+ const { data, ...options } = config;
160
+ return chunkXHQWWR5M_cjs.createChart(target, chunkY4P4VY7A_cjs.sankeyChartType, data, options);
161
+ }
162
+ function Sunburst(target, config) {
163
+ const { data, ...options } = config;
164
+ return chunkXHQWWR5M_cjs.createChart(target, chunkQ2BDB5ZA_cjs.sunburstChartType, data, options);
165
+ }
166
+ function Tree(target, config) {
167
+ const { data, ...options } = config;
168
+ return chunkXHQWWR5M_cjs.createChart(target, chunkDL7P72FA_cjs.treeChartType, data, options);
169
+ }
170
+ function Graph(target, config) {
171
+ const { data, ...options } = config;
172
+ return chunkXHQWWR5M_cjs.createChart(target, chunkQ6U5D2ZB_cjs.graphChartType, data, options);
173
+ }
174
+ function Parallel(target, config) {
175
+ const { data, ...options } = config;
176
+ return chunkXHQWWR5M_cjs.createChart(target, chunkGNRRK7TZ_cjs.parallelChartType, data, options);
177
+ }
178
+ function ThemeRiver(target, config) {
179
+ const { data, ...options } = config;
180
+ return chunkXHQWWR5M_cjs.createChart(target, chunkY2JZHX3P_cjs.themeRiverChartType, data, options);
181
+ }
182
+ function PictorialBar(target, config) {
183
+ const { data, ...options } = config;
184
+ return chunkXHQWWR5M_cjs.createChart(target, chunkFFJ6BVEY_cjs.pictorialBarChartType, data, options);
185
+ }
186
+ function Chord(target, config) {
187
+ const { data, ...options } = config;
188
+ return chunkXHQWWR5M_cjs.createChart(target, chunkM4AQD6WX_cjs.chordChartType, data, options);
189
+ }
190
+ function Geo(target, config) {
191
+ const { data, ...options } = config;
192
+ return chunkXHQWWR5M_cjs.createChart(target, chunkMLD5ZIDO_cjs.geoChartType, data, options);
193
+ }
194
+ function Lines(target, config) {
195
+ const { data, ...options } = config;
196
+ return chunkXHQWWR5M_cjs.createChart(target, chunkBEYG2HQ4_cjs.linesChartType, data, options);
197
+ }
198
+ function Matrix(target, config) {
199
+ const { data, ...options } = config;
200
+ return chunkXHQWWR5M_cjs.createChart(target, chunkM4UST3UU_cjs.matrixChartType, data, options);
201
+ }
202
+ function Custom(target, config) {
203
+ const { data, ...options } = config;
204
+ return chunkXHQWWR5M_cjs.createChart(target, chunkJ6NPRKT4_cjs.customChartType, data, options);
205
+ }
206
+ function OHLC(target, config) {
207
+ const { data, ...options } = config;
208
+ return chunkXHQWWR5M_cjs.createChart(target, chunkLEJGLR2P_cjs.ohlcChartType, data, options);
209
+ }
210
+ function Step(target, config) {
211
+ const { data, ...options } = config;
212
+ return chunkXHQWWR5M_cjs.createChart(target, chunkMVWERW4G_cjs.stepChartType, data, options);
213
+ }
214
+ function Volume(target, config) {
215
+ const { data, ...options } = config;
216
+ return chunkXHQWWR5M_cjs.createChart(target, chunkUN7K3YQG_cjs.volumeChartType, data, options);
217
+ }
218
+ function Range(target, config) {
219
+ const { data, ...options } = config;
220
+ return chunkXHQWWR5M_cjs.createChart(target, chunkY54XVNXB_cjs.rangeChartType, data, options);
221
+ }
222
+ function Baseline(target, config) {
223
+ const { data, ...options } = config;
224
+ return chunkXHQWWR5M_cjs.createChart(target, chunkB54L2CPW_cjs.baselineChartType, data, options);
225
+ }
226
+ function Kagi(target, config) {
227
+ const { data, ...options } = config;
228
+ return chunkXHQWWR5M_cjs.createChart(target, chunkRCVRZCCC_cjs.kagiChartType, data, options);
229
+ }
230
+ function Renko(target, config) {
231
+ const { data, ...options } = config;
232
+ return chunkXHQWWR5M_cjs.createChart(target, chunkTTOX27BZ_cjs.renkoChartType, data, options);
233
+ }
234
+
235
+ // src/interaction/link.ts
236
+ function linkCharts(...charts2) {
237
+ if (charts2.length < 2) return () => {
238
+ };
239
+ let broadcasting = false;
240
+ const unsubs = [];
241
+ for (const chart of charts2) {
242
+ const unsub = chart.on("crosshair:move", (payload) => {
243
+ if (broadcasting) return;
244
+ broadcasting = true;
245
+ const { x, label } = payload;
246
+ for (const other of charts2) {
247
+ if (other === chart) continue;
248
+ other._bus.emit("crosshair:move", { x, label });
249
+ }
250
+ broadcasting = false;
251
+ });
252
+ unsubs.push(unsub);
253
+ const unsubHide = chart.on("crosshair:hide", () => {
254
+ if (broadcasting) return;
255
+ broadcasting = true;
256
+ for (const other of charts2) {
257
+ if (other === chart) continue;
258
+ other._bus.emit("crosshair:hide", void 0);
259
+ }
260
+ broadcasting = false;
261
+ });
262
+ unsubs.push(unsubHide);
263
+ }
264
+ return () => {
265
+ for (const unsub of unsubs) unsub();
266
+ unsubs.length = 0;
267
+ };
268
+ }
269
+
270
+ // src/data/streaming.ts
271
+ function createStreamingChart(chart, config = {}) {
272
+ const windowSize = config.windowSize ?? 100;
273
+ const seriesCount = config.seriesCount ?? 1;
274
+ const maxBuffer = config.maxBufferSize ?? windowSize * 10;
275
+ const throttleMs = config.throttleMs ?? 0;
276
+ const names = config.seriesNames ?? Array.from({ length: seriesCount }, (_, i) => `Series ${i + 1}`);
277
+ const colors = config.seriesColors ?? [];
278
+ const buffers = Array.from({ length: seriesCount }, () => []);
279
+ const labels = [];
280
+ let totalPushed = 0;
281
+ let paused = false;
282
+ let dirty = false;
283
+ let rafId = null;
284
+ let throttleTimer = null;
285
+ function scheduleUpdate() {
286
+ if (paused) {
287
+ dirty = true;
288
+ return;
289
+ }
290
+ if (throttleMs > 0) {
291
+ if (throttleTimer !== null) return;
292
+ throttleTimer = setTimeout(() => {
293
+ throttleTimer = null;
294
+ flush();
295
+ }, throttleMs);
296
+ } else {
297
+ if (rafId !== null) return;
298
+ rafId = requestAnimationFrame(() => {
299
+ rafId = null;
300
+ flush();
301
+ });
302
+ }
303
+ }
304
+ function flush() {
305
+ dirty = false;
306
+ const start = Math.max(0, labels.length - windowSize);
307
+ const windowLabels = labels.slice(start);
308
+ const series = buffers.map((buf, i) => ({
309
+ name: names[i] ?? `Series ${i + 1}`,
310
+ values: buf.slice(start),
311
+ ...colors[i] ? { color: colors[i] } : {}
312
+ }));
313
+ const data = {
314
+ labels: windowLabels,
315
+ series
316
+ };
317
+ chart.setData(data);
318
+ }
319
+ function trimBuffer() {
320
+ if (labels.length <= maxBuffer) return;
321
+ const excess = labels.length - maxBuffer;
322
+ labels.splice(0, excess);
323
+ for (const buf of buffers) {
324
+ buf.splice(0, excess);
325
+ }
326
+ }
327
+ return {
328
+ push(values, label) {
329
+ totalPushed++;
330
+ const lbl = label ?? totalPushed;
331
+ labels.push(lbl);
332
+ for (let i = 0; i < seriesCount; i++) {
333
+ buffers[i].push(values[i] ?? 0);
334
+ }
335
+ trimBuffer();
336
+ scheduleUpdate();
337
+ },
338
+ pushBatch(points) {
339
+ for (const pt of points) {
340
+ totalPushed++;
341
+ const lbl = pt.label ?? totalPushed;
342
+ labels.push(lbl);
343
+ for (let i = 0; i < seriesCount; i++) {
344
+ buffers[i].push(pt.values[i] ?? 0);
345
+ }
346
+ }
347
+ trimBuffer();
348
+ scheduleUpdate();
349
+ },
350
+ pause() {
351
+ paused = true;
352
+ },
353
+ resume() {
354
+ paused = false;
355
+ if (dirty) scheduleUpdate();
356
+ },
357
+ clear() {
358
+ labels.length = 0;
359
+ for (const buf of buffers) buf.length = 0;
360
+ totalPushed = 0;
361
+ dirty = false;
362
+ },
363
+ getBufferSize() {
364
+ return labels.length;
365
+ },
366
+ destroy() {
367
+ if (rafId !== null) cancelAnimationFrame(rafId);
368
+ if (throttleTimer !== null) clearTimeout(throttleTimer);
369
+ labels.length = 0;
370
+ for (const buf of buffers) buf.length = 0;
371
+ }
372
+ };
373
+ }
374
+
375
+ // src/features/dataset.ts
376
+ function getLabels(data) {
377
+ return data.labels ?? [];
378
+ }
379
+ function filterData(data, predicate) {
380
+ const labels = getLabels(data);
381
+ const keepIndices = labels.map(
382
+ (_, i) => data.series.some((s, si) => predicate(s.values[i] ?? 0, i, si)) ? i : -1
383
+ ).filter((i) => i >= 0);
384
+ return {
385
+ ...data,
386
+ series: data.series.map((s, si) => ({
387
+ ...s,
388
+ values: s.values.filter((v, i) => predicate(v, i, si))
389
+ })),
390
+ labels: keepIndices.map((i) => labels[i])
391
+ };
392
+ }
393
+ function filterSeries(data, keep) {
394
+ return {
395
+ ...data,
396
+ series: data.series.filter(
397
+ (s, i) => keep.includes(s.name) || keep.includes(i)
398
+ )
399
+ };
400
+ }
401
+ function filterLabels(data, keep) {
402
+ const labels = getLabels(data);
403
+ const keepSet = new Set(keep.map(String));
404
+ const indices = labels.map((l, i) => keepSet.has(String(l)) ? i : -1).filter((i) => i >= 0);
405
+ return {
406
+ ...data,
407
+ labels: indices.map((i) => labels[i]),
408
+ series: data.series.map((s) => ({
409
+ ...s,
410
+ values: indices.map((i) => s.values[i] ?? 0)
411
+ }))
412
+ };
413
+ }
414
+ function sortData(data, by, direction = "asc") {
415
+ const labels = getLabels(data);
416
+ const indices = labels.map((_, i) => i);
417
+ const dir = direction === "asc" ? 1 : -1;
418
+ if (by === "label") {
419
+ indices.sort((a, b) => dir * String(labels[a]).localeCompare(String(labels[b])));
420
+ } else {
421
+ const series = data.series[by];
422
+ if (series) {
423
+ indices.sort((a, b) => dir * ((series.values[a] ?? 0) - (series.values[b] ?? 0)));
424
+ }
425
+ }
426
+ return {
427
+ ...data,
428
+ labels: indices.map((i) => labels[i]),
429
+ series: data.series.map((s) => ({
430
+ ...s,
431
+ values: indices.map((i) => s.values[i] ?? 0)
432
+ }))
433
+ };
434
+ }
435
+ function aggregateData(data, fn = "sum") {
436
+ const labels = getLabels(data);
437
+ const agg = getAggFn(fn);
438
+ const values = labels.map((_, i) => {
439
+ const vals = data.series.map((s) => s.values[i] ?? 0);
440
+ return agg(vals);
441
+ });
442
+ return {
443
+ ...data,
444
+ series: [{ name: fn, values }]
445
+ };
446
+ }
447
+ function getAggFn(fn) {
448
+ switch (fn) {
449
+ case "sum":
450
+ return (vals) => vals.reduce((a, b) => a + b, 0);
451
+ case "avg":
452
+ return (vals) => vals.length > 0 ? vals.reduce((a, b) => a + b, 0) / vals.length : 0;
453
+ case "min":
454
+ return (vals) => Math.min(...vals);
455
+ case "max":
456
+ return (vals) => Math.max(...vals);
457
+ case "count":
458
+ return (vals) => vals.filter((v) => v !== 0).length;
459
+ }
460
+ }
461
+ function transformData(data, ...transforms) {
462
+ return transforms.reduce((d, fn) => fn(d), data);
463
+ }
464
+ function pivotData(data) {
465
+ const labels = getLabels(data);
466
+ const newLabels = data.series.map((s) => s.name);
467
+ const newSeries = labels.map((label, i) => ({
468
+ name: String(label),
469
+ values: data.series.map((s) => s.values[i] ?? 0)
470
+ }));
471
+ return { labels: newLabels, series: newSeries };
472
+ }
473
+ function sliceData(data, start, end) {
474
+ const labels = getLabels(data);
475
+ return {
476
+ ...data,
477
+ labels: labels.slice(start, end),
478
+ series: data.series.map((s) => ({
479
+ ...s,
480
+ values: s.values.slice(start, end)
481
+ }))
482
+ };
483
+ }
484
+
485
+ // src/features/datazoom.ts
486
+ function createDataZoomState(initial, onChange) {
487
+ const range = {
488
+ start: initial?.start ?? 0,
489
+ end: initial?.end ?? 1
490
+ };
491
+ function clamp() {
492
+ range.start = Math.max(0, Math.min(range.start, 1));
493
+ range.end = Math.max(range.start + 0.01, Math.min(range.end, 1));
494
+ onChange?.(range);
495
+ }
496
+ return {
497
+ range,
498
+ setRange(start, end) {
499
+ range.start = start;
500
+ range.end = end;
501
+ clamp();
502
+ },
503
+ reset() {
504
+ range.start = 0;
505
+ range.end = 1;
506
+ onChange?.(range);
507
+ },
508
+ zoomIn(factor = 0.1) {
509
+ const center = (range.start + range.end) / 2;
510
+ const halfSpan = (range.end - range.start) / 2 * (1 - factor);
511
+ range.start = center - halfSpan;
512
+ range.end = center + halfSpan;
513
+ clamp();
514
+ },
515
+ zoomOut(factor = 0.1) {
516
+ const center = (range.start + range.end) / 2;
517
+ const halfSpan = (range.end - range.start) / 2 * (1 + factor);
518
+ range.start = center - halfSpan;
519
+ range.end = center + halfSpan;
520
+ clamp();
521
+ },
522
+ panLeft(amount = 0.05) {
523
+ const span = range.end - range.start;
524
+ range.start = Math.max(0, range.start - amount);
525
+ range.end = range.start + span;
526
+ clamp();
527
+ },
528
+ panRight(amount = 0.05) {
529
+ const span = range.end - range.start;
530
+ range.end = Math.min(1, range.end + amount);
531
+ range.start = range.end - span;
532
+ clamp();
533
+ }
534
+ };
535
+ }
536
+ function applyDataZoom(data, range) {
537
+ const labels = data.labels ?? [];
538
+ const total = labels.length;
539
+ if (total === 0) return data;
540
+ const startIdx = Math.floor(range.start * total);
541
+ const endIdx = Math.ceil(range.end * total);
542
+ return {
543
+ ...data,
544
+ labels: labels.slice(startIdx, endIdx),
545
+ series: data.series.map((s) => ({
546
+ ...s,
547
+ values: s.values.slice(startIdx, endIdx)
548
+ }))
549
+ };
550
+ }
551
+ function renderDataZoomSlider(data, range, opts) {
552
+ const nodes = [];
553
+ const h = opts.height ?? 30;
554
+ const trackColor = opts.trackColor ?? "#e5e7eb";
555
+ const handleColor = opts.handleColor ?? "#6b7280";
556
+ const selectedColor = opts.selectedColor ?? "rgba(59,130,246,0.2)";
557
+ nodes.push(chunkXHQWWR5M_cjs.rect(opts.x, opts.y, opts.width, h, {
558
+ class: "chartts-datazoom-track",
559
+ fill: trackColor,
560
+ rx: 4,
561
+ ry: 4
562
+ }));
563
+ if (opts.showMinimap !== false && data.series[0]) {
564
+ const values = data.series[0].values;
565
+ const max = Math.max(...values.map(Math.abs), 1);
566
+ const pb = new chunkXHQWWR5M_cjs.PathBuilder();
567
+ for (let i = 0; i < values.length; i++) {
568
+ const x = opts.x + i / Math.max(values.length - 1, 1) * opts.width;
569
+ const y = opts.y + h - Math.abs(values[i]) / max * (h - 4) - 2;
570
+ if (i === 0) pb.moveTo(x, y);
571
+ else pb.lineTo(x, y);
572
+ }
573
+ nodes.push(chunkXHQWWR5M_cjs.path(pb.build(), {
574
+ class: "chartts-datazoom-minimap",
575
+ fill: "none",
576
+ stroke: handleColor,
577
+ strokeWidth: 1,
578
+ strokeOpacity: 0.4
579
+ }));
580
+ }
581
+ const selX = opts.x + range.start * opts.width;
582
+ const selW = (range.end - range.start) * opts.width;
583
+ nodes.push(chunkXHQWWR5M_cjs.rect(selX, opts.y, selW, h, {
584
+ class: "chartts-datazoom-selected",
585
+ fill: selectedColor,
586
+ rx: 2,
587
+ ry: 2
588
+ }));
589
+ nodes.push(chunkXHQWWR5M_cjs.rect(selX - 3, opts.y + 4, 6, h - 8, {
590
+ class: "chartts-datazoom-handle chartts-datazoom-handle-left",
591
+ fill: handleColor,
592
+ rx: 3,
593
+ ry: 3,
594
+ cursor: "ew-resize"
595
+ }));
596
+ nodes.push(chunkXHQWWR5M_cjs.rect(selX + selW - 3, opts.y + 4, 6, h - 8, {
597
+ class: "chartts-datazoom-handle chartts-datazoom-handle-right",
598
+ fill: handleColor,
599
+ rx: 3,
600
+ ry: 3,
601
+ cursor: "ew-resize"
602
+ }));
603
+ const dlabels = data.labels ?? [];
604
+ const total = dlabels.length;
605
+ const startIdx = Math.floor(range.start * total);
606
+ const endIdx = Math.min(Math.ceil(range.end * total) - 1, total - 1);
607
+ if (total > 0) {
608
+ nodes.push(chunkXHQWWR5M_cjs.text(selX, opts.y + h + 12, String(dlabels[startIdx] ?? ""), {
609
+ class: "chartts-datazoom-label",
610
+ fill: handleColor,
611
+ textAnchor: "start",
612
+ fontSize: 9
613
+ }));
614
+ nodes.push(chunkXHQWWR5M_cjs.text(selX + selW, opts.y + h + 12, String(dlabels[endIdx] ?? ""), {
615
+ class: "chartts-datazoom-label",
616
+ fill: handleColor,
617
+ textAnchor: "end",
618
+ fontSize: 9
619
+ }));
620
+ }
621
+ return nodes;
622
+ }
623
+
624
+ // src/features/datazoom-widget.ts
625
+ function createDataZoomWidget(options) {
626
+ const h = options.height ?? 40;
627
+ const trackColor = options.trackColor ?? "#e5e7eb";
628
+ const handleColor = options.handleColor ?? "#6b7280";
629
+ const selectedColor = options.selectedColor ?? "rgba(59,130,246,0.25)";
630
+ const minimapColor = options.minimapColor ?? "#9ca3af";
631
+ let currentData = options.data;
632
+ const state = createDataZoomState(
633
+ options.initialRange,
634
+ (range) => {
635
+ updateLayout();
636
+ options.onChange?.(range);
637
+ }
638
+ );
639
+ const root = document.createElement("div");
640
+ root.className = "chartts-datazoom-widget";
641
+ root.style.cssText = `position:relative;height:${h}px;width:100%;user-select:none;touch-action:none;`;
642
+ const track = document.createElement("div");
643
+ track.className = "chartts-datazoom-track";
644
+ track.style.cssText = `position:absolute;inset:0;background:${trackColor};border-radius:4px;overflow:hidden;`;
645
+ root.appendChild(track);
646
+ const minimap = document.createElement("canvas");
647
+ minimap.className = "chartts-datazoom-minimap";
648
+ minimap.style.cssText = "position:absolute;inset:0;width:100%;height:100%;";
649
+ track.appendChild(minimap);
650
+ const maskLeft = document.createElement("div");
651
+ maskLeft.style.cssText = `position:absolute;top:0;left:0;height:100%;background:rgba(0,0,0,0.15);border-radius:4px 0 0 4px;pointer-events:none;`;
652
+ root.appendChild(maskLeft);
653
+ const maskRight = document.createElement("div");
654
+ maskRight.style.cssText = `position:absolute;top:0;right:0;height:100%;background:rgba(0,0,0,0.15);border-radius:0 4px 4px 0;pointer-events:none;`;
655
+ root.appendChild(maskRight);
656
+ const selected = document.createElement("div");
657
+ selected.className = "chartts-datazoom-selected";
658
+ selected.style.cssText = `position:absolute;top:0;height:100%;background:${selectedColor};cursor:grab;border-top:2px solid ${handleColor};border-bottom:2px solid ${handleColor};`;
659
+ root.appendChild(selected);
660
+ const handleLeft = document.createElement("div");
661
+ handleLeft.className = "chartts-datazoom-handle-left";
662
+ handleLeft.style.cssText = `position:absolute;top:2px;width:8px;height:${h - 4}px;background:${handleColor};border-radius:4px;cursor:ew-resize;z-index:2;transform:translateX(-50%);`;
663
+ root.appendChild(handleLeft);
664
+ const handleRight = document.createElement("div");
665
+ handleRight.className = "chartts-datazoom-handle-right";
666
+ handleRight.style.cssText = `position:absolute;top:2px;width:8px;height:${h - 4}px;background:${handleColor};border-radius:4px;cursor:ew-resize;z-index:2;transform:translateX(-50%);`;
667
+ root.appendChild(handleRight);
668
+ function updateLayout() {
669
+ const w = root.clientWidth || root.offsetWidth || 300;
670
+ const { start, end } = state.range;
671
+ const leftPx = start * w;
672
+ const rightPx = end * w;
673
+ const selWidth = rightPx - leftPx;
674
+ maskLeft.style.width = `${leftPx}px`;
675
+ maskRight.style.width = `${w - rightPx}px`;
676
+ selected.style.left = `${leftPx}px`;
677
+ selected.style.width = `${selWidth}px`;
678
+ handleLeft.style.left = `${leftPx}px`;
679
+ handleRight.style.left = `${rightPx}px`;
680
+ }
681
+ function drawMinimap() {
682
+ const w = root.clientWidth || root.offsetWidth || 300;
683
+ const dpr = window.devicePixelRatio || 1;
684
+ minimap.width = Math.round(w * dpr);
685
+ minimap.height = Math.round(h * dpr);
686
+ minimap.style.width = `${w}px`;
687
+ minimap.style.height = `${h}px`;
688
+ const ctx = minimap.getContext("2d");
689
+ if (!ctx) return;
690
+ ctx.setTransform(dpr, 0, 0, dpr, 0, 0);
691
+ ctx.clearRect(0, 0, w, h);
692
+ const series = currentData.series[0];
693
+ if (!series || series.values.length === 0) return;
694
+ const values = series.values.filter((v) => !isNaN(v));
695
+ if (values.length === 0) return;
696
+ const max = Math.max(...values);
697
+ const min = Math.min(...values);
698
+ const range = max - min || 1;
699
+ const pad2 = 4;
700
+ ctx.beginPath();
701
+ ctx.strokeStyle = minimapColor;
702
+ ctx.lineWidth = 1;
703
+ ctx.globalAlpha = 0.5;
704
+ let started = false;
705
+ for (let i = 0; i < series.values.length; i++) {
706
+ const v = series.values[i];
707
+ if (isNaN(v)) continue;
708
+ const x = i / Math.max(series.values.length - 1, 1) * w;
709
+ const y = h - pad2 - (v - min) / range * (h - pad2 * 2);
710
+ if (!started) {
711
+ ctx.moveTo(x, y);
712
+ started = true;
713
+ } else ctx.lineTo(x, y);
714
+ }
715
+ ctx.stroke();
716
+ if (started) {
717
+ ctx.lineTo(w, h);
718
+ ctx.lineTo(0, h);
719
+ ctx.closePath();
720
+ ctx.fillStyle = minimapColor;
721
+ ctx.globalAlpha = 0.08;
722
+ ctx.fill();
723
+ }
724
+ }
725
+ let dragMode = null;
726
+ let dragStartX = 0;
727
+ let dragStartRange = { start: 0, end: 1 };
728
+ function toNormalized(clientX) {
729
+ const r = root.getBoundingClientRect();
730
+ return Math.max(0, Math.min(1, (clientX - r.left) / r.width));
731
+ }
732
+ function onPointerDown(e) {
733
+ const target = e.target;
734
+ if (target === handleLeft || target.closest(".chartts-datazoom-handle-left")) {
735
+ dragMode = "left";
736
+ } else if (target === handleRight || target.closest(".chartts-datazoom-handle-right")) {
737
+ dragMode = "right";
738
+ } else if (target === selected || target.closest(".chartts-datazoom-selected")) {
739
+ dragMode = "pan";
740
+ selected.style.cursor = "grabbing";
741
+ } else {
742
+ const pos = toNormalized(e.clientX);
743
+ const span = state.range.end - state.range.start;
744
+ state.setRange(pos - span / 2, pos + span / 2);
745
+ return;
746
+ }
747
+ dragStartX = e.clientX;
748
+ dragStartRange = { ...state.range };
749
+ root.setPointerCapture(e.pointerId);
750
+ e.preventDefault();
751
+ }
752
+ function onPointerMove(e) {
753
+ if (!dragMode) return;
754
+ const dx = e.clientX - dragStartX;
755
+ const w = root.clientWidth || root.offsetWidth || 300;
756
+ const delta = dx / w;
757
+ if (dragMode === "left") {
758
+ state.setRange(
759
+ Math.min(dragStartRange.start + delta, state.range.end - 0.02),
760
+ state.range.end
761
+ );
762
+ } else if (dragMode === "right") {
763
+ state.setRange(
764
+ state.range.start,
765
+ Math.max(dragStartRange.end + delta, state.range.start + 0.02)
766
+ );
767
+ } else if (dragMode === "pan") {
768
+ const span = dragStartRange.end - dragStartRange.start;
769
+ let newStart = dragStartRange.start + delta;
770
+ let newEnd = dragStartRange.end + delta;
771
+ if (newStart < 0) {
772
+ newStart = 0;
773
+ newEnd = span;
774
+ }
775
+ if (newEnd > 1) {
776
+ newEnd = 1;
777
+ newStart = 1 - span;
778
+ }
779
+ state.setRange(newStart, newEnd);
780
+ }
781
+ }
782
+ function onPointerUp(_e) {
783
+ dragMode = null;
784
+ selected.style.cursor = "grab";
785
+ }
786
+ function onDblClick() {
787
+ state.reset();
788
+ }
789
+ root.addEventListener("pointerdown", onPointerDown);
790
+ root.addEventListener("pointermove", onPointerMove);
791
+ root.addEventListener("pointerup", onPointerUp);
792
+ root.addEventListener("dblclick", onDblClick);
793
+ let resizeObserver = null;
794
+ if (typeof ResizeObserver !== "undefined") {
795
+ resizeObserver = new ResizeObserver(() => {
796
+ updateLayout();
797
+ drawMinimap();
798
+ });
799
+ resizeObserver.observe(root);
800
+ }
801
+ requestAnimationFrame(() => {
802
+ updateLayout();
803
+ drawMinimap();
804
+ });
805
+ return {
806
+ element: root,
807
+ state,
808
+ setData(data) {
809
+ currentData = data;
810
+ drawMinimap();
811
+ },
812
+ destroy() {
813
+ resizeObserver?.disconnect();
814
+ root.removeEventListener("pointerdown", onPointerDown);
815
+ root.removeEventListener("pointermove", onPointerMove);
816
+ root.removeEventListener("pointerup", onPointerUp);
817
+ root.removeEventListener("dblclick", onDblClick);
818
+ root.remove();
819
+ }
820
+ };
821
+ }
822
+
823
+ // src/features/graphic.ts
824
+ function createGraphicElements(elements, area) {
825
+ return elements.map((el) => resolveElement(el, area)).filter(Boolean);
826
+ }
827
+ function resolveElement(el, area) {
828
+ const resolve = (v, dim) => {
829
+ if (v === void 0) return 0;
830
+ if (el.position === "relative" && area) {
831
+ return dim === "x" ? area.x + v * area.width : area.y + v * area.height;
832
+ }
833
+ return v;
834
+ };
835
+ const resolveSize = (v, dim) => {
836
+ if (v === void 0) return 0;
837
+ if (el.position === "relative" && area) {
838
+ return dim === "w" ? v * area.width : v * area.height;
839
+ }
840
+ return v;
841
+ };
842
+ const attrs = {
843
+ class: "chartts-graphic",
844
+ ...el.attrs
845
+ };
846
+ switch (el.type) {
847
+ case "rect":
848
+ return chunkXHQWWR5M_cjs.rect(
849
+ resolve(el.x, "x"),
850
+ resolve(el.y, "y"),
851
+ resolveSize(el.width, "w"),
852
+ resolveSize(el.height, "h"),
853
+ attrs
854
+ );
855
+ case "circle":
856
+ return chunkXHQWWR5M_cjs.circle(
857
+ resolve(el.x, "x"),
858
+ resolve(el.y, "y"),
859
+ el.r ?? 10,
860
+ attrs
861
+ );
862
+ case "path":
863
+ return el.d ? chunkXHQWWR5M_cjs.path(el.d, attrs) : null;
864
+ case "text":
865
+ return chunkXHQWWR5M_cjs.text(
866
+ resolve(el.x, "x"),
867
+ resolve(el.y, "y"),
868
+ el.content ?? "",
869
+ attrs
870
+ );
871
+ case "line":
872
+ return chunkXHQWWR5M_cjs.line(
873
+ resolve(el.x, "x"),
874
+ resolve(el.y, "y"),
875
+ resolve(el.x2, "x"),
876
+ resolve(el.y2, "y"),
877
+ attrs
878
+ );
879
+ case "group": {
880
+ const children = (el.children ?? []).map((c) => resolveElement(c, area)).filter(Boolean);
881
+ return chunkXHQWWR5M_cjs.group(children, attrs);
882
+ }
883
+ case "image":
884
+ return {
885
+ type: "image",
886
+ attrs: {
887
+ ...attrs,
888
+ href: el.src ?? "",
889
+ x: resolve(el.x, "x"),
890
+ y: resolve(el.y, "y"),
891
+ width: resolveSize(el.width, "w"),
892
+ height: resolveSize(el.height, "h")
893
+ }
894
+ };
895
+ default:
896
+ return null;
897
+ }
898
+ }
899
+ function horizontalLine(y, area, attrs) {
900
+ return chunkXHQWWR5M_cjs.line(area.x, y, area.x + area.width, y, {
901
+ class: "chartts-graphic-guideline",
902
+ stroke: "#6b7280",
903
+ strokeWidth: 1,
904
+ strokeDasharray: "4,3",
905
+ ...attrs
906
+ });
907
+ }
908
+ function verticalLine(x, area, attrs) {
909
+ return chunkXHQWWR5M_cjs.line(x, area.y, x, area.y + area.height, {
910
+ class: "chartts-graphic-guideline",
911
+ stroke: "#6b7280",
912
+ strokeWidth: 1,
913
+ strokeDasharray: "4,3",
914
+ ...attrs
915
+ });
916
+ }
917
+ function annotation(x, y, content, attrs) {
918
+ return chunkXHQWWR5M_cjs.text(x, y, content, {
919
+ class: "chartts-graphic-annotation",
920
+ fill: "#374151",
921
+ fontSize: 11,
922
+ textAnchor: "middle",
923
+ dominantBaseline: "auto",
924
+ ...attrs
925
+ });
926
+ }
927
+
928
+ // src/features/richtext.ts
929
+ function parseRichText(input, options = {}) {
930
+ const spans = parse(input, options.defaults ?? {}, options.styles ?? {});
931
+ const tspans = spans.map((span) => ({
932
+ type: "tspan",
933
+ attrs: {
934
+ ...span.style.fontWeight ? { fontWeight: span.style.fontWeight } : {},
935
+ ...span.style.fontStyle ? { fontStyle: span.style.fontStyle } : {},
936
+ ...span.style.fill ? { fill: span.style.fill } : {},
937
+ ...span.style.fontSize ? { fontSize: span.style.fontSize } : {},
938
+ ...span.style.fontFamily ? { fontFamily: span.style.fontFamily } : {},
939
+ ...span.style.textDecoration ? { textDecoration: span.style.textDecoration } : {}
940
+ },
941
+ children: [],
942
+ text: span.text
943
+ }));
944
+ return {
945
+ type: "text",
946
+ x: options.x ?? 0,
947
+ y: options.y ?? 0,
948
+ text: "",
949
+ attrs: {
950
+ class: "chartts-richtext",
951
+ ...options.attrs
952
+ },
953
+ children: tspans
954
+ };
955
+ }
956
+ function richLabel(label, value, opts) {
957
+ const color = opts?.valueColor ?? "#3b82f6";
958
+ const weight = opts?.valueWeight ?? "";
959
+ const valueStr = typeof value === "number" ? formatNum(value) : value;
960
+ const weightTag = weight ? `{b}${valueStr}{/b}` : valueStr;
961
+ return `{b}${label}{/b}: {color:${color}}${weightTag}{/color}`;
962
+ }
963
+ function parse(input, defaults, namedStyles) {
964
+ const spans = [];
965
+ const styleStack = [{ ...defaults }];
966
+ const regex = /\{(b|\/b|i|\/i|color:([^}]+)|\/color|size:([^}]+)|\/size|style:([^}]+)|\/style)\}|\*\*(.+?)\*\*|\*(.+?)\*/g;
967
+ let lastIndex = 0;
968
+ let match;
969
+ while ((match = regex.exec(input)) !== null) {
970
+ if (match.index > lastIndex) {
971
+ spans.push({ text: input.slice(lastIndex, match.index), style: currentStyle(styleStack) });
972
+ }
973
+ const tag = match[1];
974
+ const boldShorthand = match[5];
975
+ const italicShorthand = match[6];
976
+ if (boldShorthand) {
977
+ spans.push({ text: boldShorthand, style: { ...currentStyle(styleStack), fontWeight: 700 } });
978
+ } else if (italicShorthand) {
979
+ spans.push({ text: italicShorthand, style: { ...currentStyle(styleStack), fontStyle: "italic" } });
980
+ } else if (tag === "b") {
981
+ styleStack.push({ ...currentStyle(styleStack), fontWeight: 700 });
982
+ } else if (tag === "/b") {
983
+ popStyle(styleStack);
984
+ } else if (tag === "i") {
985
+ styleStack.push({ ...currentStyle(styleStack), fontStyle: "italic" });
986
+ } else if (tag === "/i") {
987
+ popStyle(styleStack);
988
+ } else if (tag?.startsWith("color:")) {
989
+ styleStack.push({ ...currentStyle(styleStack), fill: match[2] });
990
+ } else if (tag === "/color") {
991
+ popStyle(styleStack);
992
+ } else if (tag?.startsWith("size:")) {
993
+ styleStack.push({ ...currentStyle(styleStack), fontSize: parseFloat(match[3]) || 12 });
994
+ } else if (tag === "/size") {
995
+ popStyle(styleStack);
996
+ } else if (tag?.startsWith("style:")) {
997
+ const named = namedStyles[match[4]];
998
+ if (named) {
999
+ styleStack.push({ ...currentStyle(styleStack), ...named });
1000
+ }
1001
+ } else if (tag === "/style") {
1002
+ popStyle(styleStack);
1003
+ }
1004
+ lastIndex = match.index + match[0].length;
1005
+ }
1006
+ if (lastIndex < input.length) {
1007
+ spans.push({ text: input.slice(lastIndex), style: currentStyle(styleStack) });
1008
+ }
1009
+ return spans;
1010
+ }
1011
+ function currentStyle(stack) {
1012
+ return { ...stack[stack.length - 1] };
1013
+ }
1014
+ function popStyle(stack) {
1015
+ if (stack.length > 1) stack.pop();
1016
+ }
1017
+ function formatNum(n) {
1018
+ return n.toLocaleString();
1019
+ }
1020
+
1021
+ // src/registry/registry.ts
1022
+ var charts = /* @__PURE__ */ new Map();
1023
+ var scales = /* @__PURE__ */ new Map();
1024
+ function registerChart(plugin) {
1025
+ if (charts.has(plugin.type)) {
1026
+ throw new Error(`[chartts] Chart type "${plugin.type}" already registered.`);
1027
+ }
1028
+ charts.set(plugin.type, plugin);
1029
+ }
1030
+ function getChart(type) {
1031
+ const plugin = charts.get(type);
1032
+ if (!plugin) {
1033
+ const available = Array.from(charts.keys()).join(", ") || "none";
1034
+ throw new Error(`[chartts] Unknown chart type "${type}". Registered: ${available}`);
1035
+ }
1036
+ return plugin;
1037
+ }
1038
+ function registerScale(type, factory) {
1039
+ scales.set(type, factory);
1040
+ }
1041
+ function getScaleFactory(type) {
1042
+ const factory = scales.get(type);
1043
+ if (!factory) {
1044
+ throw new Error(`[chartts] Unknown scale type "${type}".`);
1045
+ }
1046
+ return factory;
1047
+ }
1048
+ function clearRegistry() {
1049
+ charts.clear();
1050
+ scales.clear();
1051
+ }
1052
+
1053
+ // src/scales/time.ts
1054
+ var S = 1e3;
1055
+ var M = 60 * S;
1056
+ var H = 60 * M;
1057
+ var D = 24 * H;
1058
+ var W = 7 * D;
1059
+ var MO = 30 * D;
1060
+ var Y = 365 * D;
1061
+ var INTERVALS = [
1062
+ { ms: S, fmt: fmtTime },
1063
+ { ms: 5 * S, fmt: fmtTime },
1064
+ { ms: 15 * S, fmt: fmtTime },
1065
+ { ms: 30 * S, fmt: fmtTime },
1066
+ { ms: M, fmt: fmtTime },
1067
+ { ms: 5 * M, fmt: fmtTime },
1068
+ { ms: 15 * M, fmt: fmtTime },
1069
+ { ms: H, fmt: fmtTime },
1070
+ { ms: 3 * H, fmt: fmtTime },
1071
+ { ms: 6 * H, fmt: fmtTime },
1072
+ { ms: 12 * H, fmt: fmtTime },
1073
+ { ms: D, fmt: fmtDate },
1074
+ { ms: W, fmt: fmtDate },
1075
+ { ms: MO, fmt: fmtMonthYear },
1076
+ { ms: 3 * MO, fmt: fmtMonthYear },
1077
+ { ms: 6 * MO, fmt: fmtMonthYear },
1078
+ { ms: Y, fmt: fmtYear },
1079
+ { ms: 5 * Y, fmt: fmtYear },
1080
+ { ms: 10 * Y, fmt: fmtYear }
1081
+ ];
1082
+ function createTimeScale(opts) {
1083
+ let dMin = ts(opts?.domain?.[0] ?? 0);
1084
+ let dMax = ts(opts?.domain?.[1] ?? Date.now());
1085
+ let rMin = opts?.range?.[0] ?? 0;
1086
+ let rMax = opts?.range?.[1] ?? 1;
1087
+ const customFmt = opts?.format;
1088
+ function map(value) {
1089
+ const v = ts(value);
1090
+ const span = dMax - dMin;
1091
+ if (span === 0) return (rMin + rMax) / 2;
1092
+ return rMin + (v - dMin) / span * (rMax - rMin);
1093
+ }
1094
+ function invert(px) {
1095
+ const span = rMax - rMin;
1096
+ if (span === 0) return (dMin + dMax) / 2;
1097
+ return dMin + (px - rMin) / span * (dMax - dMin);
1098
+ }
1099
+ function ticks(count = 6) {
1100
+ const span = dMax - dMin;
1101
+ if (span <= 0) return [];
1102
+ const target = span / count;
1103
+ const interval = INTERVALS.find((i) => i.ms >= target) ?? INTERVALS[INTERVALS.length - 1];
1104
+ const fmt = customFmt ?? interval.fmt;
1105
+ const result = [];
1106
+ const start = Math.ceil(dMin / interval.ms) * interval.ms;
1107
+ for (let t = start; t <= dMax; t += interval.ms) {
1108
+ const d = new Date(t);
1109
+ result.push({ value: d, position: map(t), label: fmt(d) });
1110
+ }
1111
+ return result;
1112
+ }
1113
+ return {
1114
+ map,
1115
+ invert,
1116
+ ticks,
1117
+ setDomain(min, max) {
1118
+ dMin = ts(min);
1119
+ dMax = ts(max);
1120
+ },
1121
+ setRange(min, max) {
1122
+ rMin = min;
1123
+ rMax = max;
1124
+ },
1125
+ getDomain() {
1126
+ return [new Date(dMin), new Date(dMax)];
1127
+ },
1128
+ getRange() {
1129
+ return [rMin, rMax];
1130
+ },
1131
+ bandwidth() {
1132
+ return 0;
1133
+ }
1134
+ };
1135
+ }
1136
+ function ts(v) {
1137
+ return v instanceof Date ? v.getTime() : typeof v === "string" ? new Date(v).getTime() : v;
1138
+ }
1139
+ var MONTHS = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
1140
+ function pad(n) {
1141
+ return n < 10 ? `0${n}` : String(n);
1142
+ }
1143
+ function fmtTime(d) {
1144
+ return `${pad(d.getHours())}:${pad(d.getMinutes())}`;
1145
+ }
1146
+ function fmtDate(d) {
1147
+ return `${MONTHS[d.getMonth()]} ${d.getDate()}`;
1148
+ }
1149
+ function fmtMonthYear(d) {
1150
+ return `${MONTHS[d.getMonth()]} ${d.getFullYear()}`;
1151
+ }
1152
+ function fmtYear(d) {
1153
+ return String(d.getFullYear());
1154
+ }
1155
+
1156
+ Object.defineProperty(exports, "stepChartType", {
1157
+ enumerable: true,
1158
+ get: function () { return chunkMVWERW4G_cjs.stepChartType; }
1159
+ });
1160
+ Object.defineProperty(exports, "volumeChartType", {
1161
+ enumerable: true,
1162
+ get: function () { return chunkUN7K3YQG_cjs.volumeChartType; }
1163
+ });
1164
+ Object.defineProperty(exports, "rangeChartType", {
1165
+ enumerable: true,
1166
+ get: function () { return chunkY54XVNXB_cjs.rangeChartType; }
1167
+ });
1168
+ Object.defineProperty(exports, "baselineChartType", {
1169
+ enumerable: true,
1170
+ get: function () { return chunkB54L2CPW_cjs.baselineChartType; }
1171
+ });
1172
+ Object.defineProperty(exports, "kagiChartType", {
1173
+ enumerable: true,
1174
+ get: function () { return chunkRCVRZCCC_cjs.kagiChartType; }
1175
+ });
1176
+ Object.defineProperty(exports, "renkoChartType", {
1177
+ enumerable: true,
1178
+ get: function () { return chunkTTOX27BZ_cjs.renkoChartType; }
1179
+ });
1180
+ Object.defineProperty(exports, "atr", {
1181
+ enumerable: true,
1182
+ get: function () { return chunk7HDAYWK3_cjs.atr; }
1183
+ });
1184
+ Object.defineProperty(exports, "bollingerBands", {
1185
+ enumerable: true,
1186
+ get: function () { return chunk7HDAYWK3_cjs.bollingerBands; }
1187
+ });
1188
+ Object.defineProperty(exports, "cumulativeReturns", {
1189
+ enumerable: true,
1190
+ get: function () { return chunk7HDAYWK3_cjs.cumulativeReturns; }
1191
+ });
1192
+ Object.defineProperty(exports, "drawdown", {
1193
+ enumerable: true,
1194
+ get: function () { return chunk7HDAYWK3_cjs.drawdown; }
1195
+ });
1196
+ Object.defineProperty(exports, "ema", {
1197
+ enumerable: true,
1198
+ get: function () { return chunk7HDAYWK3_cjs.ema; }
1199
+ });
1200
+ Object.defineProperty(exports, "logReturns", {
1201
+ enumerable: true,
1202
+ get: function () { return chunk7HDAYWK3_cjs.logReturns; }
1203
+ });
1204
+ Object.defineProperty(exports, "macd", {
1205
+ enumerable: true,
1206
+ get: function () { return chunk7HDAYWK3_cjs.macd; }
1207
+ });
1208
+ Object.defineProperty(exports, "maxDrawdown", {
1209
+ enumerable: true,
1210
+ get: function () { return chunk7HDAYWK3_cjs.maxDrawdown; }
1211
+ });
1212
+ Object.defineProperty(exports, "obv", {
1213
+ enumerable: true,
1214
+ get: function () { return chunk7HDAYWK3_cjs.obv; }
1215
+ });
1216
+ Object.defineProperty(exports, "rsi", {
1217
+ enumerable: true,
1218
+ get: function () { return chunk7HDAYWK3_cjs.rsi; }
1219
+ });
1220
+ Object.defineProperty(exports, "sharpeRatio", {
1221
+ enumerable: true,
1222
+ get: function () { return chunk7HDAYWK3_cjs.sharpeRatio; }
1223
+ });
1224
+ Object.defineProperty(exports, "simpleReturns", {
1225
+ enumerable: true,
1226
+ get: function () { return chunk7HDAYWK3_cjs.simpleReturns; }
1227
+ });
1228
+ Object.defineProperty(exports, "sma", {
1229
+ enumerable: true,
1230
+ get: function () { return chunk7HDAYWK3_cjs.sma; }
1231
+ });
1232
+ Object.defineProperty(exports, "stochastic", {
1233
+ enumerable: true,
1234
+ get: function () { return chunk7HDAYWK3_cjs.stochastic; }
1235
+ });
1236
+ Object.defineProperty(exports, "toBollingerData", {
1237
+ enumerable: true,
1238
+ get: function () { return chunk7HDAYWK3_cjs.toBollingerData; }
1239
+ });
1240
+ Object.defineProperty(exports, "toMACDData", {
1241
+ enumerable: true,
1242
+ get: function () { return chunk7HDAYWK3_cjs.toMACDData; }
1243
+ });
1244
+ Object.defineProperty(exports, "toOHLC", {
1245
+ enumerable: true,
1246
+ get: function () { return chunk7HDAYWK3_cjs.toOHLC; }
1247
+ });
1248
+ Object.defineProperty(exports, "volatility", {
1249
+ enumerable: true,
1250
+ get: function () { return chunk7HDAYWK3_cjs.volatility; }
1251
+ });
1252
+ Object.defineProperty(exports, "volumeDirections", {
1253
+ enumerable: true,
1254
+ get: function () { return chunk7HDAYWK3_cjs.volumeDirections; }
1255
+ });
1256
+ Object.defineProperty(exports, "vwap", {
1257
+ enumerable: true,
1258
+ get: function () { return chunk7HDAYWK3_cjs.vwap; }
1259
+ });
1260
+ Object.defineProperty(exports, "wma", {
1261
+ enumerable: true,
1262
+ get: function () { return chunk7HDAYWK3_cjs.wma; }
1263
+ });
1264
+ Object.defineProperty(exports, "themeRiverChartType", {
1265
+ enumerable: true,
1266
+ get: function () { return chunkY2JZHX3P_cjs.themeRiverChartType; }
1267
+ });
1268
+ Object.defineProperty(exports, "pictorialBarChartType", {
1269
+ enumerable: true,
1270
+ get: function () { return chunkFFJ6BVEY_cjs.pictorialBarChartType; }
1271
+ });
1272
+ Object.defineProperty(exports, "chordChartType", {
1273
+ enumerable: true,
1274
+ get: function () { return chunkM4AQD6WX_cjs.chordChartType; }
1275
+ });
1276
+ Object.defineProperty(exports, "WORLD_REGIONS", {
1277
+ enumerable: true,
1278
+ get: function () { return chunkMLD5ZIDO_cjs.WORLD_REGIONS; }
1279
+ });
1280
+ Object.defineProperty(exports, "WORLD_SIMPLE", {
1281
+ enumerable: true,
1282
+ get: function () { return chunkMLD5ZIDO_cjs.WORLD_SIMPLE; }
1283
+ });
1284
+ Object.defineProperty(exports, "geoChartType", {
1285
+ enumerable: true,
1286
+ get: function () { return chunkMLD5ZIDO_cjs.geoChartType; }
1287
+ });
1288
+ Object.defineProperty(exports, "linesChartType", {
1289
+ enumerable: true,
1290
+ get: function () { return chunkBEYG2HQ4_cjs.linesChartType; }
1291
+ });
1292
+ Object.defineProperty(exports, "matrixChartType", {
1293
+ enumerable: true,
1294
+ get: function () { return chunkM4UST3UU_cjs.matrixChartType; }
1295
+ });
1296
+ Object.defineProperty(exports, "customChartType", {
1297
+ enumerable: true,
1298
+ get: function () { return chunkJ6NPRKT4_cjs.customChartType; }
1299
+ });
1300
+ Object.defineProperty(exports, "ohlcChartType", {
1301
+ enumerable: true,
1302
+ get: function () { return chunkLEJGLR2P_cjs.ohlcChartType; }
1303
+ });
1304
+ Object.defineProperty(exports, "dumbbellChartType", {
1305
+ enumerable: true,
1306
+ get: function () { return chunkMYPCA25Y_cjs.dumbbellChartType; }
1307
+ });
1308
+ Object.defineProperty(exports, "calendarChartType", {
1309
+ enumerable: true,
1310
+ get: function () { return chunkH4RNJ7FK_cjs.calendarChartType; }
1311
+ });
1312
+ Object.defineProperty(exports, "comboChartType", {
1313
+ enumerable: true,
1314
+ get: function () { return chunkKE7ILTM4_cjs.comboChartType; }
1315
+ });
1316
+ Object.defineProperty(exports, "sankeyChartType", {
1317
+ enumerable: true,
1318
+ get: function () { return chunkY4P4VY7A_cjs.sankeyChartType; }
1319
+ });
1320
+ Object.defineProperty(exports, "sunburstChartType", {
1321
+ enumerable: true,
1322
+ get: function () { return chunkQ2BDB5ZA_cjs.sunburstChartType; }
1323
+ });
1324
+ Object.defineProperty(exports, "treeChartType", {
1325
+ enumerable: true,
1326
+ get: function () { return chunkDL7P72FA_cjs.treeChartType; }
1327
+ });
1328
+ Object.defineProperty(exports, "graphChartType", {
1329
+ enumerable: true,
1330
+ get: function () { return chunkQ6U5D2ZB_cjs.graphChartType; }
1331
+ });
1332
+ Object.defineProperty(exports, "parallelChartType", {
1333
+ enumerable: true,
1334
+ get: function () { return chunkGNRRK7TZ_cjs.parallelChartType; }
1335
+ });
1336
+ Object.defineProperty(exports, "heatmapChartType", {
1337
+ enumerable: true,
1338
+ get: function () { return chunkFRWC6GUR_cjs.heatmapChartType; }
1339
+ });
1340
+ Object.defineProperty(exports, "boxplotChartType", {
1341
+ enumerable: true,
1342
+ get: function () { return chunkZ6E3XVP2_cjs.boxplotChartType; }
1343
+ });
1344
+ Object.defineProperty(exports, "histogramChartType", {
1345
+ enumerable: true,
1346
+ get: function () { return chunkROYZ7W4M_cjs.histogramChartType; }
1347
+ });
1348
+ Object.defineProperty(exports, "treemapChartType", {
1349
+ enumerable: true,
1350
+ get: function () { return chunkHB4EGHJ7_cjs.treemapChartType; }
1351
+ });
1352
+ Object.defineProperty(exports, "polarChartType", {
1353
+ enumerable: true,
1354
+ get: function () { return chunkKSRROKYC_cjs.polarChartType; }
1355
+ });
1356
+ Object.defineProperty(exports, "radialBarChartType", {
1357
+ enumerable: true,
1358
+ get: function () { return chunkSKVCPG5R_cjs.radialBarChartType; }
1359
+ });
1360
+ Object.defineProperty(exports, "lollipopChartType", {
1361
+ enumerable: true,
1362
+ get: function () { return chunkUQBDGCS6_cjs.lollipopChartType; }
1363
+ });
1364
+ Object.defineProperty(exports, "bulletChartType", {
1365
+ enumerable: true,
1366
+ get: function () { return chunkBYXRFTEI_cjs.bulletChartType; }
1367
+ });
1368
+ Object.defineProperty(exports, "sparklineChartType", {
1369
+ enumerable: true,
1370
+ get: function () { return chunkQLRK46YY_cjs.sparklineChartType; }
1371
+ });
1372
+ Object.defineProperty(exports, "areaChartType", {
1373
+ enumerable: true,
1374
+ get: function () { return chunkNONU7KUN_cjs.areaChartType; }
1375
+ });
1376
+ Object.defineProperty(exports, "radarChartType", {
1377
+ enumerable: true,
1378
+ get: function () { return chunkBXX2EPFE_cjs.radarChartType; }
1379
+ });
1380
+ Object.defineProperty(exports, "bubbleChartType", {
1381
+ enumerable: true,
1382
+ get: function () { return chunkETPZGEL7_cjs.bubbleChartType; }
1383
+ });
1384
+ Object.defineProperty(exports, "candlestickChartType", {
1385
+ enumerable: true,
1386
+ get: function () { return chunkL54BZYAI_cjs.candlestickChartType; }
1387
+ });
1388
+ Object.defineProperty(exports, "gaugeChartType", {
1389
+ enumerable: true,
1390
+ get: function () { return chunk3TTTELGB_cjs.gaugeChartType; }
1391
+ });
1392
+ Object.defineProperty(exports, "waterfallChartType", {
1393
+ enumerable: true,
1394
+ get: function () { return chunkXBIM73HV_cjs.waterfallChartType; }
1395
+ });
1396
+ Object.defineProperty(exports, "funnelChartType", {
1397
+ enumerable: true,
1398
+ get: function () { return chunkZDYCIP6N_cjs.funnelChartType; }
1399
+ });
1400
+ Object.defineProperty(exports, "lineChartType", {
1401
+ enumerable: true,
1402
+ get: function () { return chunk2TWYS3BT_cjs.lineChartType; }
1403
+ });
1404
+ Object.defineProperty(exports, "barChartType", {
1405
+ enumerable: true,
1406
+ get: function () { return chunkEGQ4JCFU_cjs.barChartType; }
1407
+ });
1408
+ Object.defineProperty(exports, "stackedBarChartType", {
1409
+ enumerable: true,
1410
+ get: function () { return chunk4HK4RM3X_cjs.stackedBarChartType; }
1411
+ });
1412
+ Object.defineProperty(exports, "horizontalBarChartType", {
1413
+ enumerable: true,
1414
+ get: function () { return chunkVPI7UGB3_cjs.horizontalBarChartType; }
1415
+ });
1416
+ Object.defineProperty(exports, "formatPercent", {
1417
+ enumerable: true,
1418
+ get: function () { return chunkLU35QDPN_cjs.formatPercent; }
1419
+ });
1420
+ Object.defineProperty(exports, "formatValue", {
1421
+ enumerable: true,
1422
+ get: function () { return chunkLU35QDPN_cjs.formatValue; }
1423
+ });
1424
+ Object.defineProperty(exports, "donutChartType", {
1425
+ enumerable: true,
1426
+ get: function () { return chunkZDZQG3GH_cjs.donutChartType; }
1427
+ });
1428
+ Object.defineProperty(exports, "pieChartType", {
1429
+ enumerable: true,
1430
+ get: function () { return chunkZDZQG3GH_cjs.pieChartType; }
1431
+ });
1432
+ Object.defineProperty(exports, "scatterChartType", {
1433
+ enumerable: true,
1434
+ get: function () { return chunk4YJPBUX2_cjs.scatterChartType; }
1435
+ });
1436
+ Object.defineProperty(exports, "CORPORATE_THEME", {
1437
+ enumerable: true,
1438
+ get: function () { return chunkXHQWWR5M_cjs.CORPORATE_THEME; }
1439
+ });
1440
+ Object.defineProperty(exports, "CSS_PREFIX", {
1441
+ enumerable: true,
1442
+ get: function () { return chunkXHQWWR5M_cjs.CSS_PREFIX; }
1443
+ });
1444
+ Object.defineProperty(exports, "DARK_THEME", {
1445
+ enumerable: true,
1446
+ get: function () { return chunkXHQWWR5M_cjs.DARK_THEME; }
1447
+ });
1448
+ Object.defineProperty(exports, "EDITORIAL_THEME", {
1449
+ enumerable: true,
1450
+ get: function () { return chunkXHQWWR5M_cjs.EDITORIAL_THEME; }
1451
+ });
1452
+ Object.defineProperty(exports, "LIGHT_THEME", {
1453
+ enumerable: true,
1454
+ get: function () { return chunkXHQWWR5M_cjs.LIGHT_THEME; }
1455
+ });
1456
+ Object.defineProperty(exports, "OCEAN_THEME", {
1457
+ enumerable: true,
1458
+ get: function () { return chunkXHQWWR5M_cjs.OCEAN_THEME; }
1459
+ });
1460
+ Object.defineProperty(exports, "PALETTE", {
1461
+ enumerable: true,
1462
+ get: function () { return chunkXHQWWR5M_cjs.PALETTE; }
1463
+ });
1464
+ Object.defineProperty(exports, "SAAS_THEME", {
1465
+ enumerable: true,
1466
+ get: function () { return chunkXHQWWR5M_cjs.SAAS_THEME; }
1467
+ });
1468
+ Object.defineProperty(exports, "STARTUP_THEME", {
1469
+ enumerable: true,
1470
+ get: function () { return chunkXHQWWR5M_cjs.STARTUP_THEME; }
1471
+ });
1472
+ Object.defineProperty(exports, "THEME_PRESETS", {
1473
+ enumerable: true,
1474
+ get: function () { return chunkXHQWWR5M_cjs.THEME_PRESETS; }
1475
+ });
1476
+ Object.defineProperty(exports, "applyTheme", {
1477
+ enumerable: true,
1478
+ get: function () { return chunkXHQWWR5M_cjs.applyTheme; }
1479
+ });
1480
+ Object.defineProperty(exports, "createBrush", {
1481
+ enumerable: true,
1482
+ get: function () { return chunkXHQWWR5M_cjs.createBrush; }
1483
+ });
1484
+ Object.defineProperty(exports, "createCanvasRenderer", {
1485
+ enumerable: true,
1486
+ get: function () { return chunkXHQWWR5M_cjs.createCanvasRenderer; }
1487
+ });
1488
+ Object.defineProperty(exports, "createCategoricalScale", {
1489
+ enumerable: true,
1490
+ get: function () { return chunkXHQWWR5M_cjs.createCategoricalScale; }
1491
+ });
1492
+ Object.defineProperty(exports, "createChart", {
1493
+ enumerable: true,
1494
+ get: function () { return chunkXHQWWR5M_cjs.createChart; }
1495
+ });
1496
+ Object.defineProperty(exports, "createDebugPanel", {
1497
+ enumerable: true,
1498
+ get: function () { return chunkXHQWWR5M_cjs.createDebugPanel; }
1499
+ });
1500
+ Object.defineProperty(exports, "createEventBus", {
1501
+ enumerable: true,
1502
+ get: function () { return chunkXHQWWR5M_cjs.createEventBus; }
1503
+ });
1504
+ Object.defineProperty(exports, "createLinearScale", {
1505
+ enumerable: true,
1506
+ get: function () { return chunkXHQWWR5M_cjs.createLinearScale; }
1507
+ });
1508
+ Object.defineProperty(exports, "createSVGRenderer", {
1509
+ enumerable: true,
1510
+ get: function () { return chunkXHQWWR5M_cjs.createSVGRenderer; }
1511
+ });
1512
+ Object.defineProperty(exports, "createWebGLRenderer", {
1513
+ enumerable: true,
1514
+ get: function () { return chunkXHQWWR5M_cjs.createWebGLRenderer; }
1515
+ });
1516
+ Object.defineProperty(exports, "createZoomPan", {
1517
+ enumerable: true,
1518
+ get: function () { return chunkXHQWWR5M_cjs.createZoomPan; }
1519
+ });
1520
+ Object.defineProperty(exports, "decimateData", {
1521
+ enumerable: true,
1522
+ get: function () { return chunkXHQWWR5M_cjs.decimateData; }
1523
+ });
1524
+ Object.defineProperty(exports, "renderToString", {
1525
+ enumerable: true,
1526
+ get: function () { return chunkXHQWWR5M_cjs.renderToString; }
1527
+ });
1528
+ Object.defineProperty(exports, "resolveTheme", {
1529
+ enumerable: true,
1530
+ get: function () { return chunkXHQWWR5M_cjs.resolveTheme; }
1531
+ });
1532
+ exports.Area = Area;
1533
+ exports.Bar = Bar;
1534
+ exports.Baseline = Baseline;
1535
+ exports.Boxplot = Boxplot;
1536
+ exports.Bubble = Bubble;
1537
+ exports.Bullet = Bullet;
1538
+ exports.Calendar = Calendar;
1539
+ exports.Candlestick = Candlestick;
1540
+ exports.Chord = Chord;
1541
+ exports.Combo = Combo;
1542
+ exports.Custom = Custom;
1543
+ exports.Donut = Donut;
1544
+ exports.Dumbbell = Dumbbell;
1545
+ exports.Funnel = Funnel;
1546
+ exports.Gauge = Gauge;
1547
+ exports.Geo = Geo;
1548
+ exports.Graph = Graph;
1549
+ exports.Heatmap = Heatmap;
1550
+ exports.Histogram = Histogram;
1551
+ exports.HorizontalBar = HorizontalBar;
1552
+ exports.Kagi = Kagi;
1553
+ exports.Line = Line;
1554
+ exports.Lines = Lines;
1555
+ exports.Lollipop = Lollipop;
1556
+ exports.Matrix = Matrix;
1557
+ exports.OHLC = OHLC;
1558
+ exports.Parallel = Parallel;
1559
+ exports.PictorialBar = PictorialBar;
1560
+ exports.Pie = Pie;
1561
+ exports.Polar = Polar;
1562
+ exports.Radar = Radar;
1563
+ exports.RadialBar = RadialBar;
1564
+ exports.Range = Range;
1565
+ exports.Renko = Renko;
1566
+ exports.Sankey = Sankey;
1567
+ exports.Scatter = Scatter;
1568
+ exports.Sparkline = Sparkline;
1569
+ exports.StackedBar = StackedBar;
1570
+ exports.Step = Step;
1571
+ exports.Sunburst = Sunburst;
1572
+ exports.ThemeRiver = ThemeRiver;
1573
+ exports.Tree = Tree;
1574
+ exports.Treemap = Treemap;
1575
+ exports.Volume = Volume;
1576
+ exports.Waterfall = Waterfall;
1577
+ exports.aggregateData = aggregateData;
1578
+ exports.annotation = annotation;
1579
+ exports.applyDataZoom = applyDataZoom;
1580
+ exports.clearRegistry = clearRegistry;
1581
+ exports.createDataZoomState = createDataZoomState;
1582
+ exports.createDataZoomWidget = createDataZoomWidget;
1583
+ exports.createGraphicElements = createGraphicElements;
1584
+ exports.createStreamingChart = createStreamingChart;
1585
+ exports.createTimeScale = createTimeScale;
1586
+ exports.filterData = filterData;
1587
+ exports.filterLabels = filterLabels;
1588
+ exports.filterSeries = filterSeries;
1589
+ exports.getChart = getChart;
1590
+ exports.getScaleFactory = getScaleFactory;
1591
+ exports.horizontalLine = horizontalLine;
1592
+ exports.linkCharts = linkCharts;
1593
+ exports.parseRichText = parseRichText;
1594
+ exports.pivotData = pivotData;
1595
+ exports.registerChart = registerChart;
1596
+ exports.registerScale = registerScale;
1597
+ exports.renderDataZoomSlider = renderDataZoomSlider;
1598
+ exports.richLabel = richLabel;
1599
+ exports.sliceData = sliceData;
1600
+ exports.sortData = sortData;
1601
+ exports.transformData = transformData;
1602
+ exports.verticalLine = verticalLine;
1603
+ //# sourceMappingURL=index.cjs.map
1604
+ //# sourceMappingURL=index.cjs.map