react-native-wagmi-charts 1.6.0 → 2.0.1

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 (596) hide show
  1. package/.DS_Store +0 -0
  2. package/README.md +353 -181
  3. package/example/.DS_Store +0 -0
  4. package/example/.expo/packager-info.json +2 -2
  5. package/example/.expo/web/cache/development/babel-loader/0048eab7a1937596c83f7a0a8669a057.json +1 -0
  6. package/example/.expo/web/cache/development/babel-loader/00e78539c92f01b2990b35cc56404077.json +1 -0
  7. package/example/.expo/web/cache/development/babel-loader/01548be34380766518c44d302f0da833.json +1 -0
  8. package/example/.expo/web/cache/development/babel-loader/01dc8e11259412b46f72a16b6f6f989a.json +1 -0
  9. package/example/.expo/web/cache/development/babel-loader/022bc27c62f111b60de1d9cf31798db5.json +1 -0
  10. package/example/.expo/web/cache/development/babel-loader/02341c3581c9b4661b5deec14d244183.json +1 -0
  11. package/example/.expo/web/cache/development/babel-loader/029e21747cfcaf8be0db65a531a13e45.json +1 -0
  12. package/example/.expo/web/cache/development/babel-loader/02cacb7980022332144135d930ecea11.json +1 -0
  13. package/example/.expo/web/cache/development/babel-loader/030b07a0a05e98460988fcc5b21543fd.json +1 -0
  14. package/example/.expo/web/cache/development/babel-loader/03e0f78352a5cc290e9a694dfa0457b2.json +1 -0
  15. package/example/.expo/web/cache/development/babel-loader/03f273e96dda522f2f1ffb0c11d9cb41.json +1 -0
  16. package/example/.expo/web/cache/development/babel-loader/040ef89e9083432c9c572aecfb055253.json +1 -0
  17. package/example/.expo/web/cache/development/babel-loader/053109a5af2f50846dbff99c9ddaa08b.json +1 -0
  18. package/example/.expo/web/cache/development/babel-loader/05c8ee51599e49b8df4c2aea1c61f9bd.json +1 -0
  19. package/example/.expo/web/cache/development/babel-loader/061e5f7ad7d0922480d8aa5ec61bb646.json +1 -0
  20. package/example/.expo/web/cache/development/babel-loader/062a149ffbda2b47d4a754da17f0ed89.json +1 -0
  21. package/example/.expo/web/cache/development/babel-loader/06c9aabc7c8dc32a774403b9acd1d9e3.json +1 -0
  22. package/example/.expo/web/cache/development/babel-loader/06de2f6698410c68adcc5a227728a923.json +1 -0
  23. package/example/.expo/web/cache/development/babel-loader/078d39387ece388cb409a9de98417dd7.json +1 -0
  24. package/example/.expo/web/cache/development/babel-loader/08ae8c107c10803a4fd1dcd9bb77631b.json +1 -0
  25. package/example/.expo/web/cache/development/babel-loader/0b71299ddceefa8034f07d7bd25f7132.json +1 -0
  26. package/example/.expo/web/cache/development/babel-loader/0ba484ac7ba0d1abe8d566757740b901.json +1 -0
  27. package/example/.expo/web/cache/development/babel-loader/0bdbd4da7c535a6cfa3d301a2e03cdb3.json +1 -0
  28. package/example/.expo/web/cache/development/babel-loader/0ca19fcabd7879d8a09389c265186c73.json +1 -0
  29. package/example/.expo/web/cache/development/babel-loader/0dba3b74d1f9e83e7e1be547f59f9b0d.json +1 -0
  30. package/example/.expo/web/cache/development/babel-loader/0dda8bfcef9ddb34113838e01d884c94.json +1 -0
  31. package/example/.expo/web/cache/development/babel-loader/0fed877538eec4c0fe6fc59a7fba1884.json +1 -0
  32. package/example/.expo/web/cache/development/babel-loader/10c42328cedbca0b7c02e292cbf7e819.json +1 -0
  33. package/example/.expo/web/cache/development/babel-loader/11e5e2a288b722ed1a72951da903668f.json +1 -0
  34. package/example/.expo/web/cache/development/babel-loader/124b86bda7fafdb400a04e42fb06d241.json +1 -0
  35. package/example/.expo/web/cache/development/babel-loader/12ddb38f86b223c6168a22c3c441d23c.json +1 -0
  36. package/example/.expo/web/cache/development/babel-loader/12f8b90d6b32fd8d434f74ec0a1cc5de.json +1 -0
  37. package/example/.expo/web/cache/development/babel-loader/14896ac3a706173aa66f99f5ac81de25.json +1 -0
  38. package/example/.expo/web/cache/development/babel-loader/155b2897eaa205c153dc174759391596.json +1 -0
  39. package/example/.expo/web/cache/development/babel-loader/159bcfbc06914dc0fa53d932ecdeb3a8.json +1 -0
  40. package/example/.expo/web/cache/development/babel-loader/15adfc2176211fd1b1f1e26ffac54860.json +1 -0
  41. package/example/.expo/web/cache/development/babel-loader/16bf97aa1df29d051e75cdcfe30258ca.json +1 -0
  42. package/example/.expo/web/cache/development/babel-loader/173757cc1e741e39f50c821a347ca6a7.json +1 -0
  43. package/example/.expo/web/cache/development/babel-loader/17539008e1af521bbd4be8772219d502.json +1 -0
  44. package/example/.expo/web/cache/development/babel-loader/178a06574c91fc5f7d66bb5c1087d694.json +1 -0
  45. package/example/.expo/web/cache/development/babel-loader/17f33cd1288f2d81431bd2cc3594a889.json +1 -0
  46. package/example/.expo/web/cache/development/babel-loader/1ae598529609953300b8831809806773.json +1 -0
  47. package/example/.expo/web/cache/development/babel-loader/1bf72c5e82adfae4cd9fb7d062f43c7b.json +1 -0
  48. package/example/.expo/web/cache/development/babel-loader/1e954e44cae79871d604d778ed2b019b.json +1 -0
  49. package/example/.expo/web/cache/development/babel-loader/1f3db19af6a4daad8ac653aef9a17b3e.json +1 -0
  50. package/example/.expo/web/cache/development/babel-loader/1fa8d4f7956d15e5d2301b5bc0ea5cda.json +1 -0
  51. package/example/.expo/web/cache/development/babel-loader/20143c2ba144a977d78c7b106120350d.json +1 -0
  52. package/example/.expo/web/cache/development/babel-loader/201eb696584a8e8ed6ccc7f1c94bea83.json +1 -0
  53. package/example/.expo/web/cache/development/babel-loader/208778a4ee646ee0555ed1e67b562757.json +1 -0
  54. package/example/.expo/web/cache/development/babel-loader/219c2137c40f30853f1c0da86e6195ae.json +1 -0
  55. package/example/.expo/web/cache/development/babel-loader/224ade2bbe8e0b2388eb1c55bff3f264.json +1 -0
  56. package/example/.expo/web/cache/development/babel-loader/22eb55b287473e3a78908381441cfcb4.json +1 -0
  57. package/example/.expo/web/cache/development/babel-loader/240cb3678995c4254ed6e5c7582952ba.json +1 -0
  58. package/example/.expo/web/cache/development/babel-loader/2530791779144ffab597cad5be52c226.json +1 -0
  59. package/example/.expo/web/cache/development/babel-loader/2596af2ade89538878b6d544100f3399.json +1 -0
  60. package/example/.expo/web/cache/development/babel-loader/25ba14deb6adaac77b56e2c781b4f065.json +1 -0
  61. package/example/.expo/web/cache/development/babel-loader/26d2d37f205cec86abab8af6ff0ebc64.json +1 -0
  62. package/example/.expo/web/cache/development/babel-loader/283e292d5ceb581a50e9755ac42601a2.json +1 -0
  63. package/example/.expo/web/cache/development/babel-loader/28d1872152a5070e160a78864dac71c9.json +1 -0
  64. package/example/.expo/web/cache/development/babel-loader/29518ab58c8aacdb2e5e164fc13d872b.json +1 -0
  65. package/example/.expo/web/cache/development/babel-loader/29d79f626f6ad6bfe79bbbf010acedf3.json +1 -0
  66. package/example/.expo/web/cache/development/babel-loader/2aa749a94f4df8b760e8acfdb25028ff.json +1 -0
  67. package/example/.expo/web/cache/development/babel-loader/2b64d55ee11f0015681db4ce68a395d2.json +1 -0
  68. package/example/.expo/web/cache/development/babel-loader/2cccd0ecb5914d7b91a0e2a0fbd995c9.json +1 -0
  69. package/example/.expo/web/cache/development/babel-loader/2dbbd507ae02c5249d7088f625312a95.json +1 -0
  70. package/example/.expo/web/cache/development/babel-loader/2dce9894a2affe7bfe287cd3e27b4efd.json +1 -0
  71. package/example/.expo/web/cache/development/babel-loader/2e27f8a130af009b492bc9f13a3bb578.json +1 -0
  72. package/example/.expo/web/cache/development/babel-loader/2f57f3c72b3b460c5d299bcf081b429b.json +1 -0
  73. package/example/.expo/web/cache/development/babel-loader/2f63db06dec4ae0f934cbe269ca78b7c.json +1 -0
  74. package/example/.expo/web/cache/development/babel-loader/3146ea18d415deb6177ac03e1355688e.json +1 -0
  75. package/example/.expo/web/cache/development/babel-loader/319feb766afa0b6ef1fd0f61a79d8306.json +1 -0
  76. package/example/.expo/web/cache/development/babel-loader/35c0fe0f3af5e5bb30c862ab2f0352fe.json +1 -0
  77. package/example/.expo/web/cache/development/babel-loader/35e42e8dca6b3242a869b68dd19c9320.json +1 -0
  78. package/example/.expo/web/cache/development/babel-loader/3683ce1bd7ea848ec955de2738873cfb.json +1 -0
  79. package/example/.expo/web/cache/development/babel-loader/368688165f40c4cfc59238bacf69d131.json +1 -0
  80. package/example/.expo/web/cache/development/babel-loader/36e75d47020ead36881558873b7ed051.json +1 -0
  81. package/example/.expo/web/cache/development/babel-loader/38146d6afeec03b463523c4710274e9a.json +1 -0
  82. package/example/.expo/web/cache/development/babel-loader/394f45d48a9648d70c4b5b64076be031.json +1 -0
  83. package/example/.expo/web/cache/development/babel-loader/3972208eae9b5b632b17b21baa8bf208.json +1 -0
  84. package/example/.expo/web/cache/development/babel-loader/39f743b81b60417ab847556a7179e22a.json +1 -0
  85. package/example/.expo/web/cache/development/babel-loader/3b7135501e404451314cdcc9fe0600b8.json +1 -0
  86. package/example/.expo/web/cache/development/babel-loader/3c20b6d457837e0ac87f3e648e6eca00.json +1 -0
  87. package/example/.expo/web/cache/development/babel-loader/3c5f38af9e2ec3a91de4f1b4fec17b0a.json +1 -0
  88. package/example/.expo/web/cache/development/babel-loader/3e1698f99f9fc08d49f7b34982fa5ff9.json +1 -0
  89. package/example/.expo/web/cache/development/babel-loader/3e2d35c9bbfe5423a7d98376bcd56e6b.json +1 -0
  90. package/example/.expo/web/cache/development/babel-loader/3e7a2e7fe4f726704b568371689534ae.json +1 -0
  91. package/example/.expo/web/cache/development/babel-loader/3f86d59727c3e03e54652149a8f8d3b6.json +1 -0
  92. package/example/.expo/web/cache/development/babel-loader/40402ff33d7840c2ef429fb4b123038d.json +1 -0
  93. package/example/.expo/web/cache/development/babel-loader/4088615ef9d57b3f7fe4190660ba6ddc.json +1 -0
  94. package/example/.expo/web/cache/development/babel-loader/40c4fde14ef2e0ea53a7432cd848ff2b.json +1 -0
  95. package/example/.expo/web/cache/development/babel-loader/42c2f18b8307bc0d3ea5d84373a5d67f.json +1 -0
  96. package/example/.expo/web/cache/development/babel-loader/437dd685561b93a81742ac2ecbeb7d41.json +1 -0
  97. package/example/.expo/web/cache/development/babel-loader/44dc1996d592f2e6f37bad3a90765f47.json +1 -0
  98. package/example/.expo/web/cache/development/babel-loader/45873f55ae22e035954bc06cc50b2173.json +1 -0
  99. package/example/.expo/web/cache/development/babel-loader/46679e2a6fceee1389fc81e63b21348f.json +1 -0
  100. package/example/.expo/web/cache/development/babel-loader/4861470a02020675a1ee3db81cf82013.json +1 -0
  101. package/example/.expo/web/cache/development/babel-loader/4864be71b0d3193e0c759b91a9548cce.json +1 -0
  102. package/example/.expo/web/cache/development/babel-loader/487488e8e5ae8ef9217e3c56a43ad05a.json +1 -0
  103. package/example/.expo/web/cache/development/babel-loader/49f4c364b909987eb06dde9e5e191155.json +1 -0
  104. package/example/.expo/web/cache/development/babel-loader/4b81b318c8d202092e5f11c893ba60ca.json +1 -0
  105. package/example/.expo/web/cache/development/babel-loader/4b929b061248038485fe18a4000f0dc7.json +1 -0
  106. package/example/.expo/web/cache/development/babel-loader/4bb899e66458fe70451b960feb748cca.json +1 -0
  107. package/example/.expo/web/cache/development/babel-loader/4bf2841cd4d191e4fcd069fc2defa95d.json +1 -0
  108. package/example/.expo/web/cache/development/babel-loader/4bfdf05b16115a8f6be82091518c35be.json +1 -0
  109. package/example/.expo/web/cache/development/babel-loader/4c14d7bff7de294fd991c68522f97ee4.json +1 -0
  110. package/example/.expo/web/cache/development/babel-loader/4c723644cc0a1300f119db91b3a4e1d8.json +1 -0
  111. package/example/.expo/web/cache/development/babel-loader/4c912e44b450dfff1f0d609c6fcf770c.json +1 -0
  112. package/example/.expo/web/cache/development/babel-loader/4c91a10b38720099ce4af9a3b12902e3.json +1 -0
  113. package/example/.expo/web/cache/development/babel-loader/4d466fa65871bcbc64956934ceb7b82f.json +1 -0
  114. package/example/.expo/web/cache/development/babel-loader/4e225e240a0c5e5724f9d92ab2c2a5c7.json +1 -0
  115. package/example/.expo/web/cache/development/babel-loader/4e741f92fbbd92b96334530f6ad10846.json +1 -0
  116. package/example/.expo/web/cache/development/babel-loader/4f17a38ef723d2f2f88ab36229447848.json +1 -0
  117. package/example/.expo/web/cache/development/babel-loader/5126e93c01ee93124a5e74d11303b9c8.json +1 -0
  118. package/example/.expo/web/cache/development/babel-loader/519238552f7ca486b938192b9cbcceae.json +1 -0
  119. package/example/.expo/web/cache/development/babel-loader/523038c6dc8ac0e76ef7a23d3eed51ec.json +1 -0
  120. package/example/.expo/web/cache/development/babel-loader/532fa6c08d38d3c6de9df3cbc1e6a903.json +1 -0
  121. package/example/.expo/web/cache/development/babel-loader/53bf8f177165c6b0e75a631aa4519d41.json +1 -0
  122. package/example/.expo/web/cache/development/babel-loader/53ea8a26aeb6e2759a7f1f5f4f56b6fb.json +1 -0
  123. package/example/.expo/web/cache/development/babel-loader/542e618262a94895f81236112129bd3e.json +1 -0
  124. package/example/.expo/web/cache/development/babel-loader/546891698aff03b72ed2f6ceb6e7fa89.json +1 -0
  125. package/example/.expo/web/cache/development/babel-loader/5471a749a6e8af27964d87af251c688a.json +1 -0
  126. package/example/.expo/web/cache/development/babel-loader/547a11a6bdd8bda252dfd4614f815fbb.json +1 -0
  127. package/example/.expo/web/cache/development/babel-loader/549d7a1c3d15fdb39d9bffcf267e3f56.json +1 -0
  128. package/example/.expo/web/cache/development/babel-loader/55add2461e97c93eb8aac04bb6999d6f.json +1 -0
  129. package/example/.expo/web/cache/development/babel-loader/566edd7dfdc185ef467beb97fcd9e08c.json +1 -0
  130. package/example/.expo/web/cache/development/babel-loader/567acdadac00f4c65b037849683131b6.json +1 -0
  131. package/example/.expo/web/cache/development/babel-loader/57892340c5b232df0a75f1339c9e68ce.json +1 -0
  132. package/example/.expo/web/cache/development/babel-loader/586d05cc2c149bd7435298a982b57d60.json +1 -0
  133. package/example/.expo/web/cache/development/babel-loader/5954d33f838e7e341ebe043096ac7fe5.json +1 -0
  134. package/example/.expo/web/cache/development/babel-loader/5a07d6d40bd575c25f45538b187acd8a.json +1 -0
  135. package/example/.expo/web/cache/development/babel-loader/5a27a1760bd4f6407b1fea26715a87bc.json +1 -0
  136. package/example/.expo/web/cache/development/babel-loader/5b36330631e46bbf63f870970b2122f7.json +1 -0
  137. package/example/.expo/web/cache/development/babel-loader/5b9bc4b234aa59e34135748fd93507b6.json +1 -0
  138. package/example/.expo/web/cache/development/babel-loader/5c0087a9595888025264a9904d1b8eef.json +1 -0
  139. package/example/.expo/web/cache/development/babel-loader/5d16233202c82021ddec174b9bb58863.json +1 -0
  140. package/example/.expo/web/cache/development/babel-loader/5d569557de3b7d5fa8afc576ac512a04.json +1 -0
  141. package/example/.expo/web/cache/development/babel-loader/5d646ca9aa7f759e829259ce504269e2.json +1 -0
  142. package/example/.expo/web/cache/development/babel-loader/5eef44eed8ccb290fe3456e2fe6bf8ed.json +1 -0
  143. package/example/.expo/web/cache/development/babel-loader/6024b3f768564aaeb1361263b0202a14.json +1 -0
  144. package/example/.expo/web/cache/development/babel-loader/61cfc5a0e7335e0b9a219b1cbe277614.json +1 -0
  145. package/example/.expo/web/cache/development/babel-loader/620f55f17382101002e5e9426ce3e366.json +1 -0
  146. package/example/.expo/web/cache/development/babel-loader/62676c7e580c2e05b3597d53b1cec852.json +1 -0
  147. package/example/.expo/web/cache/development/babel-loader/62f012bfa58863dc3ea69f00f9b90a77.json +1 -0
  148. package/example/.expo/web/cache/development/babel-loader/6320f4e69400d39312489472d7f26d50.json +1 -0
  149. package/example/.expo/web/cache/development/babel-loader/63a9473d63154c31603b1ec1c728c8ab.json +1 -0
  150. package/example/.expo/web/cache/development/babel-loader/63bae7aa325e3c82ba555ac19c0912fa.json +1 -0
  151. package/example/.expo/web/cache/development/babel-loader/63c7331c32b247560f7318cb076a7c40.json +1 -0
  152. package/example/.expo/web/cache/development/babel-loader/645eaa3c12cea785d12fed54225c1bad.json +1 -0
  153. package/example/.expo/web/cache/development/babel-loader/64f7c8f31e295eee69738bfe05c5bff5.json +1 -0
  154. package/example/.expo/web/cache/development/babel-loader/68189da0029a30976a2484255a17ce79.json +1 -0
  155. package/example/.expo/web/cache/development/babel-loader/696a6f2f23efafc28fc3c6d5b5ffaeac.json +1 -0
  156. package/example/.expo/web/cache/development/babel-loader/6991b1cd9f19326a94f92ef5b1b842a8.json +1 -0
  157. package/example/.expo/web/cache/development/babel-loader/6b97a59c5465397dba921f389acaafdd.json +1 -0
  158. package/example/.expo/web/cache/development/babel-loader/6c2f82c0db7403ccd4f19071f91173e4.json +1 -0
  159. package/example/.expo/web/cache/development/babel-loader/6c8a2848fe0f787148c2fb6de4264155.json +1 -0
  160. package/example/.expo/web/cache/development/babel-loader/6d6f8b41da6a4ba792c39f671105e620.json +1 -0
  161. package/example/.expo/web/cache/development/babel-loader/6e1b109f621c0d54775303f058483115.json +1 -0
  162. package/example/.expo/web/cache/development/babel-loader/6f12c17d739331ecffc1403342ba41da.json +1 -0
  163. package/example/.expo/web/cache/development/babel-loader/6fd1661af13dedb5e44522d491a1caf6.json +1 -0
  164. package/example/.expo/web/cache/development/babel-loader/70011f5e5361437bcf72ec2b53fad9f0.json +1 -0
  165. package/example/.expo/web/cache/development/babel-loader/71c89114f87eec2560a35accc6fb21d7.json +1 -0
  166. package/example/.expo/web/cache/development/babel-loader/71f17bedd745f584f7abc4f4d51c7ad4.json +1 -0
  167. package/example/.expo/web/cache/development/babel-loader/72b944856e68e4a8a0ed8e4c2413070a.json +1 -0
  168. package/example/.expo/web/cache/development/babel-loader/740b2f1ab937b3d8fae7d547e9118390.json +1 -0
  169. package/example/.expo/web/cache/development/babel-loader/748a994e95eb1d1311d08dae70ff213a.json +1 -0
  170. package/example/.expo/web/cache/development/babel-loader/74b3b0d02f286a48fe045bb68c2a4650.json +1 -0
  171. package/example/.expo/web/cache/development/babel-loader/74d8aca04393d958004db6c2ef850b15.json +1 -0
  172. package/example/.expo/web/cache/development/babel-loader/765c63eb89770f11615c740460d8a605.json +1 -0
  173. package/example/.expo/web/cache/development/babel-loader/7695443a011b53044155a45950f64551.json +1 -0
  174. package/example/.expo/web/cache/development/babel-loader/77348d41c4a630ac871ec1662d753572.json +1 -0
  175. package/example/.expo/web/cache/development/babel-loader/77a4283c1f4aa52a3ec7489dfcb4fd3c.json +1 -0
  176. package/example/.expo/web/cache/development/babel-loader/77c1d4c9c2134086a760c84c8dbb0767.json +1 -0
  177. package/example/.expo/web/cache/development/babel-loader/7856391ec0a27839d3fa6acbeb9aadda.json +1 -0
  178. package/example/.expo/web/cache/development/babel-loader/78d3d5bbf14c6f41859897e37d770fcf.json +1 -0
  179. package/example/.expo/web/cache/development/babel-loader/79c9840acdf1d5058d1dd9a3ee4c26a1.json +1 -0
  180. package/example/.expo/web/cache/development/babel-loader/79d14c794bf695a8710614f2650caadc.json +1 -0
  181. package/example/.expo/web/cache/development/babel-loader/79d484d4cd279cefd19f3ae34fbabc47.json +1 -0
  182. package/example/.expo/web/cache/development/babel-loader/7ac59aadbbeb87bbaa689455f49462e7.json +1 -0
  183. package/example/.expo/web/cache/development/babel-loader/7addb7eb6bdec7308191a341bbe4f418.json +1 -0
  184. package/example/.expo/web/cache/development/babel-loader/7c6b46cf1a8d27fbf10098fc7b3147d4.json +1 -0
  185. package/example/.expo/web/cache/development/babel-loader/7e073695c8dd0edfff43941d69ed768f.json +1 -0
  186. package/example/.expo/web/cache/development/babel-loader/7ea547e52608eb3d07287f91483f92d0.json +1 -0
  187. package/example/.expo/web/cache/development/babel-loader/80b2a7b63d2968f55ad413f37a77625e.json +1 -0
  188. package/example/.expo/web/cache/development/babel-loader/81da8afb512f1fe3dc5283eed7693dc3.json +1 -0
  189. package/example/.expo/web/cache/development/babel-loader/83ce5beb699584197b95c23e16070359.json +1 -0
  190. package/example/.expo/web/cache/development/babel-loader/84cbca54aad0ba7ad9155efbe50994e6.json +1 -0
  191. package/example/.expo/web/cache/development/babel-loader/86aa7c8020aadae1b6047e779a070006.json +1 -0
  192. package/example/.expo/web/cache/development/babel-loader/873f17ead5c8a3a89f8c307d3fc3d749.json +1 -0
  193. package/example/.expo/web/cache/development/babel-loader/88fd90442a3cd6528e4248e448007e21.json +1 -0
  194. package/example/.expo/web/cache/development/babel-loader/8947ed6ed81ae1ed2f0d1a5f7a21d4bd.json +1 -0
  195. package/example/.expo/web/cache/development/babel-loader/8b0fa6466bfbb43efbc8a796bb0a058f.json +1 -0
  196. package/example/.expo/web/cache/development/babel-loader/8bcdd0d74f6bf06c96dc636553f1ada8.json +1 -0
  197. package/example/.expo/web/cache/development/babel-loader/8bfd7063b443cb17646e674300dd862b.json +1 -0
  198. package/example/.expo/web/cache/development/babel-loader/8d06501d3b127619583bc480630ad389.json +1 -0
  199. package/example/.expo/web/cache/development/babel-loader/8d9e770602734e0d230feafb37171ca8.json +1 -0
  200. package/example/.expo/web/cache/development/babel-loader/8dbfb280c88ee5948b0a3cc84074bd43.json +1 -0
  201. package/example/.expo/web/cache/development/babel-loader/8df99953a7fe26875c55c9bc1e71ca29.json +1 -0
  202. package/example/.expo/web/cache/development/babel-loader/8e7ea386f4f497f8c5e0a4a9b80b093a.json +1 -0
  203. package/example/.expo/web/cache/development/babel-loader/8efad0218d4db05da11e8e21002ac55e.json +1 -0
  204. package/example/.expo/web/cache/development/babel-loader/8f6e1de5d12755c13e6c50a07e2d0778.json +1 -0
  205. package/example/.expo/web/cache/development/babel-loader/91ed31500f942f97aec1be73e89a7af8.json +1 -0
  206. package/example/.expo/web/cache/development/babel-loader/9252abf85af8c03f427a2e2117a1ad62.json +1 -0
  207. package/example/.expo/web/cache/development/babel-loader/92b72e3964caccd73a132a988edcfae7.json +1 -0
  208. package/example/.expo/web/cache/development/babel-loader/93945109a64716fc3d15a12d81598ef8.json +1 -0
  209. package/example/.expo/web/cache/development/babel-loader/93ee4950a9326c046f9fa65c13dac411.json +1 -0
  210. package/example/.expo/web/cache/development/babel-loader/93fe9632bb5db4ded992478e2af27d5f.json +1 -0
  211. package/example/.expo/web/cache/development/babel-loader/942ff966d1b2f375164a20370f75739c.json +1 -0
  212. package/example/.expo/web/cache/development/babel-loader/954ad5b7f72730fad3a93e8333b0da09.json +1 -0
  213. package/example/.expo/web/cache/development/babel-loader/957bea32dcc83e0fc7f2fd8795a8f818.json +1 -0
  214. package/example/.expo/web/cache/development/babel-loader/964cb097c867a1ded7eb7446f5548c22.json +1 -0
  215. package/example/.expo/web/cache/development/babel-loader/98e4f7e158718137c26f2fe60b84369d.json +1 -0
  216. package/example/.expo/web/cache/development/babel-loader/9ae989e87da92329c1f285a30c2be6f5.json +1 -0
  217. package/example/.expo/web/cache/development/babel-loader/9ba4ab6ad62c186c10cc4440ed5f54a7.json +1 -0
  218. package/example/.expo/web/cache/development/babel-loader/9ce0ea8540198d071a57d36dae227cbc.json +1 -0
  219. package/example/.expo/web/cache/development/babel-loader/9d2bab4aa3187dee265f1d9c8ce6f0f6.json +1 -0
  220. package/example/.expo/web/cache/development/babel-loader/9e653ee142610f0516609ca3fb386739.json +1 -0
  221. package/example/.expo/web/cache/development/babel-loader/9e75ea79fea0209053c68ef4989b4a3a.json +1 -0
  222. package/example/.expo/web/cache/development/babel-loader/9f2f6a11de269026061831c947435758.json +1 -0
  223. package/example/.expo/web/cache/development/babel-loader/9f3fd9ca3231e3002df99db9d9616aa0.json +1 -0
  224. package/example/.expo/web/cache/development/babel-loader/a076afeae19d4e15321e5d81cf41364a.json +1 -0
  225. package/example/.expo/web/cache/development/babel-loader/a261d7c057c570a5d74c5c84cc08e7f9.json +1 -0
  226. package/example/.expo/web/cache/development/babel-loader/a3611e076e067e7397bd47a9ebe95cf1.json +1 -0
  227. package/example/.expo/web/cache/development/babel-loader/a375a3eadad6ab2ce64ed38759b31415.json +1 -0
  228. package/example/.expo/web/cache/development/babel-loader/a3b99e0ec7f17e098c6b02a04282d805.json +1 -0
  229. package/example/.expo/web/cache/development/babel-loader/a3bde08c6c572203f93bcfa1170d4790.json +1 -0
  230. package/example/.expo/web/cache/development/babel-loader/a3bf51a1af912c42396b784cf9851941.json +1 -0
  231. package/example/.expo/web/cache/development/babel-loader/a48b6217b860aab3e81b366a7306ee03.json +1 -0
  232. package/example/.expo/web/cache/development/babel-loader/a4d591b829ddddd57e666af1737b9d34.json +1 -0
  233. package/example/.expo/web/cache/development/babel-loader/a5439975918b87c11694b33af83dab36.json +1 -0
  234. package/example/.expo/web/cache/development/babel-loader/a5813eb247e0c87dcc99934f4b49ae48.json +1 -0
  235. package/example/.expo/web/cache/development/babel-loader/a584b9a0fe744b07e9054b7aa6e79f77.json +1 -0
  236. package/example/.expo/web/cache/development/babel-loader/a689718c369fcd0f651d9089f15f507e.json +1 -0
  237. package/example/.expo/web/cache/development/babel-loader/a78dc48e202b1f3be61ef3bc64699d14.json +1 -0
  238. package/example/.expo/web/cache/development/babel-loader/a79a096843947a83012402bb34b93567.json +1 -0
  239. package/example/.expo/web/cache/development/babel-loader/aa0e6e0aa152ebcb49584ecc82533c72.json +1 -0
  240. package/example/.expo/web/cache/development/babel-loader/abfc16406c69f7727d3e40be1f492f11.json +1 -0
  241. package/example/.expo/web/cache/development/babel-loader/ac5ac27f40cd535964ff8a0f4a7ee169.json +1 -0
  242. package/example/.expo/web/cache/development/babel-loader/ac5c7f32acb8bbc71777904317929782.json +1 -0
  243. package/example/.expo/web/cache/development/babel-loader/acc343298b9d93f37fea5d0160a6e4ba.json +1 -0
  244. package/example/.expo/web/cache/development/babel-loader/b0a4e8cf7a76d3009a62200ed32812d9.json +1 -0
  245. package/example/.expo/web/cache/development/babel-loader/b1661b3c840f0f1de996ba1d52a39764.json +1 -0
  246. package/example/.expo/web/cache/development/babel-loader/b18b69c1c5e4f8cf7c4ded4ea78be1b5.json +1 -0
  247. package/example/.expo/web/cache/development/babel-loader/b265f89f5ab4c2ac5fe0a4efeb01770f.json +1 -0
  248. package/example/.expo/web/cache/development/babel-loader/b32b03cd1b812594924db2f0dadb2f56.json +1 -0
  249. package/example/.expo/web/cache/development/babel-loader/b36ad3720ed8bc69cd40bacd30394013.json +1 -0
  250. package/example/.expo/web/cache/development/babel-loader/b5d4cbb6bcdc394e0d5535f5bbf695e3.json +1 -0
  251. package/example/.expo/web/cache/development/babel-loader/b64b0b9559bbba155f24caa6cf08f433.json +1 -0
  252. package/example/.expo/web/cache/development/babel-loader/bbfb771df3000d27f236c2f6538e6d31.json +1 -0
  253. package/example/.expo/web/cache/development/babel-loader/bcd08666cb6eeb4d7141e38e753e5e5c.json +1 -0
  254. package/example/.expo/web/cache/development/babel-loader/beef69cc65e73363978524809c84094f.json +1 -0
  255. package/example/.expo/web/cache/development/babel-loader/bf018174df7cdbed5ae77cf03c266fee.json +1 -0
  256. package/example/.expo/web/cache/development/babel-loader/bf53ba81ac3956a07f41a09fa6c4fa7e.json +1 -0
  257. package/example/.expo/web/cache/development/babel-loader/c15cb7604e78e9a4f0cc5e4b79a227c2.json +1 -0
  258. package/example/.expo/web/cache/development/babel-loader/c20807f969171763f83e5286ffb7183c.json +1 -0
  259. package/example/.expo/web/cache/development/babel-loader/c309e4999a3ca5404709ed911ec9fdda.json +1 -0
  260. package/example/.expo/web/cache/development/babel-loader/c37b2427c54ed0b731d9413ea475f338.json +1 -0
  261. package/example/.expo/web/cache/development/babel-loader/c43017273abd7760afa188cb903bfa5d.json +1 -0
  262. package/example/.expo/web/cache/development/babel-loader/c5134c3fb7b800b1c9b34655b8e97e4f.json +1 -0
  263. package/example/.expo/web/cache/development/babel-loader/c62552ef04c76cdb7a94ba2f041360ac.json +1 -0
  264. package/example/.expo/web/cache/development/babel-loader/c69144c50f8f0d981b66c62204aaae74.json +1 -0
  265. package/example/.expo/web/cache/development/babel-loader/c733b561ef63b80564242d9b6f4954ec.json +1 -0
  266. package/example/.expo/web/cache/development/babel-loader/c78a01224ddb57513f9dc1603e721184.json +1 -0
  267. package/example/.expo/web/cache/development/babel-loader/c800cb1a4eccf4cc18e1408cf178b86d.json +1 -0
  268. package/example/.expo/web/cache/development/babel-loader/c8c61768113386918420fa8baaa34704.json +1 -0
  269. package/example/.expo/web/cache/development/babel-loader/ca0c207f9e3ba434db8f3775513736e6.json +1 -0
  270. package/example/.expo/web/cache/development/babel-loader/ca4498d52ea6fed7e01c9ed5c26fcf95.json +1 -0
  271. package/example/.expo/web/cache/development/babel-loader/cba71c3eea31dc8ca85b9ced8f7b1720.json +1 -0
  272. package/example/.expo/web/cache/development/babel-loader/cc2ae312a6441a2fedd76ee22ac87d51.json +1 -0
  273. package/example/.expo/web/cache/development/babel-loader/cc37b4c4f23da7c9d04d8693a5bbaaab.json +1 -0
  274. package/example/.expo/web/cache/development/babel-loader/cced66a0b48653e5bfa98910a88f9fba.json +1 -0
  275. package/example/.expo/web/cache/development/babel-loader/cd0e23910d814598adda82d05396be53.json +1 -0
  276. package/example/.expo/web/cache/development/babel-loader/cd55e478acd924f5c082f02840ed8bbb.json +1 -0
  277. package/example/.expo/web/cache/development/babel-loader/cd8b6c6cd6a24fa61739c4d22dda95f8.json +1 -0
  278. package/example/.expo/web/cache/development/babel-loader/cdf6fa5dcab6f3a13fa07e89fe985423.json +1 -0
  279. package/example/.expo/web/cache/development/babel-loader/ceccb76ea280ae97ededa88718ed0c3b.json +1 -0
  280. package/example/.expo/web/cache/development/babel-loader/cfc467109de81a77ce3d683966f4b354.json +1 -0
  281. package/example/.expo/web/cache/development/babel-loader/d0c3cb818782b9a81bfc30385f72b89b.json +1 -0
  282. package/example/.expo/web/cache/development/babel-loader/d0fcdc8e889d972bbb4337e548164f40.json +1 -0
  283. package/example/.expo/web/cache/development/babel-loader/d168cd3939b990979e911bb032f8577b.json +1 -0
  284. package/example/.expo/web/cache/development/babel-loader/d2fc7ecda4f6641f8d52e406be776196.json +1 -0
  285. package/example/.expo/web/cache/development/babel-loader/d358f00c23a45360cbb79dabdb721cd1.json +1 -0
  286. package/example/.expo/web/cache/development/babel-loader/d45d41c244dad2c3ea03ba49a46a0423.json +1 -0
  287. package/example/.expo/web/cache/development/babel-loader/d4f6275737ee0b15864d1784084ec4e9.json +1 -0
  288. package/example/.expo/web/cache/development/babel-loader/d5420905583aa27006ceaa13da6b662a.json +1 -0
  289. package/example/.expo/web/cache/development/babel-loader/d5552d7ee552fec6e21e0b398feb3ddb.json +1 -0
  290. package/example/.expo/web/cache/development/babel-loader/d5cec4c149045421487b8541b94a68b3.json +1 -0
  291. package/example/.expo/web/cache/development/babel-loader/d72ee3cf688a67b27f18b05bef74d879.json +1 -0
  292. package/example/.expo/web/cache/development/babel-loader/d797775538f909e9de0d644bcf0389e4.json +1 -0
  293. package/example/.expo/web/cache/development/babel-loader/d7cfda25d1654f23b9938352b3e5f0fd.json +1 -0
  294. package/example/.expo/web/cache/development/babel-loader/d7f22047db03832a0314db9bb7c9e4e8.json +1 -0
  295. package/example/.expo/web/cache/development/babel-loader/d92da9ccd71edac1d6d7f1b72554205f.json +1 -0
  296. package/example/.expo/web/cache/development/babel-loader/dae925659703faa3496df0985e30eb46.json +1 -0
  297. package/example/.expo/web/cache/development/babel-loader/db2362a80925087fd6dfea2ecf5d1527.json +1 -0
  298. package/example/.expo/web/cache/development/babel-loader/db44721b3956bd3b7617e773f566987b.json +1 -0
  299. package/example/.expo/web/cache/development/babel-loader/dd2e7e9f0700b6295764b0357f97fbd1.json +1 -0
  300. package/example/.expo/web/cache/development/babel-loader/dee3d7eeaa9d088adee455787ecfdbba.json +1 -0
  301. package/example/.expo/web/cache/development/babel-loader/df177e28e870b3f9ed04286275590e05.json +1 -0
  302. package/example/.expo/web/cache/development/babel-loader/df8cca84735630b31c89ab8c4525d586.json +1 -0
  303. package/example/.expo/web/cache/development/babel-loader/dffc3d3b5387634869406f7b262b0334.json +1 -0
  304. package/example/.expo/web/cache/development/babel-loader/e00a687de4af483a065036c6b80fa9f9.json +1 -0
  305. package/example/.expo/web/cache/development/babel-loader/e0bc2b67f28f7d20625141635fb72278.json +1 -0
  306. package/example/.expo/web/cache/development/babel-loader/e12513c015e82fb05ce94ecc8be7102a.json +1 -0
  307. package/example/.expo/web/cache/development/babel-loader/e13d64c5b0cbfdf147e8b47baa112969.json +1 -0
  308. package/example/.expo/web/cache/development/babel-loader/e1630fcfbaff568bf2f669a3e388c026.json +1 -0
  309. package/example/.expo/web/cache/development/babel-loader/e1962858e3fc18c71d271c6eaa3a943d.json +1 -0
  310. package/example/.expo/web/cache/development/babel-loader/e1a0963978b2cb66dec1b5d8a5a2c753.json +1 -0
  311. package/example/.expo/web/cache/development/babel-loader/e21dcee29960dda3812a8e73f9b0fcbc.json +1 -0
  312. package/example/.expo/web/cache/development/babel-loader/e2faafd77df6c4f281c0c99a9e458e54.json +1 -0
  313. package/example/.expo/web/cache/development/babel-loader/e30c76c9a2d4f8d448441c1cb652eb01.json +1 -0
  314. package/example/.expo/web/cache/development/babel-loader/e3e477529ed5548f8e901ee83d7395ef.json +1 -0
  315. package/example/.expo/web/cache/development/babel-loader/e40e88a5ee7080ae8c27b8b8b14fbe3b.json +1 -0
  316. package/example/.expo/web/cache/development/babel-loader/e4815f1b8edf5002fdece1b55fbc36bb.json +1 -0
  317. package/example/.expo/web/cache/development/babel-loader/e656bc77be79a05f8054e227f7f79d12.json +1 -0
  318. package/example/.expo/web/cache/development/babel-loader/e6f55b8bb2f55bff9c7239707407e38b.json +1 -0
  319. package/example/.expo/web/cache/development/babel-loader/e71b020cacbbe302bb14d7910742ec2d.json +1 -0
  320. package/example/.expo/web/cache/development/babel-loader/e7472dd2c104082f95c6920e14b1ebf1.json +1 -0
  321. package/example/.expo/web/cache/development/babel-loader/e7b42d4997a3a0970f307de97b93e04a.json +1 -0
  322. package/example/.expo/web/cache/development/babel-loader/e958dca390e4e96d3ffd3fd3e668de5a.json +1 -0
  323. package/example/.expo/web/cache/development/babel-loader/e9ee1fc9a9a662fdf210526a05895585.json +1 -0
  324. package/example/.expo/web/cache/development/babel-loader/ea69e12059df73da64e057bade5f4ba1.json +1 -0
  325. package/example/.expo/web/cache/development/babel-loader/eae09ceb3f4483977f405539fff299a4.json +1 -0
  326. package/example/.expo/web/cache/development/babel-loader/eaffd3d95bf68dd8a7419e53498b4640.json +1 -0
  327. package/example/.expo/web/cache/development/babel-loader/ec22a1721004d1dffd715720d5c2bda5.json +1 -0
  328. package/example/.expo/web/cache/development/babel-loader/ee15d7496b6f14edc02d2cd58a7353f9.json +1 -0
  329. package/example/.expo/web/cache/development/babel-loader/ee8e3abcff9f49ec89705c0e083bc14e.json +1 -0
  330. package/example/.expo/web/cache/development/babel-loader/ef79cc0b13fea249ac3b074f0a0de8eb.json +1 -0
  331. package/example/.expo/web/cache/development/babel-loader/efdf5fb16bfb6755d38d6afaec705dcc.json +1 -0
  332. package/example/.expo/web/cache/development/babel-loader/f114b6650124f4aa114c8641a8fb2e95.json +1 -0
  333. package/example/.expo/web/cache/development/babel-loader/f26a2ea3fe78d43644601e71fefe7a1e.json +1 -0
  334. package/example/.expo/web/cache/development/babel-loader/f2df4e0da01cdba6223f5bbe6b36ff68.json +1 -0
  335. package/example/.expo/web/cache/development/babel-loader/f3060f14259d3179812abd59791780a5.json +1 -0
  336. package/example/.expo/web/cache/development/babel-loader/f3beb518b54ed38f03ac6db8f54e60ff.json +1 -0
  337. package/example/.expo/web/cache/development/babel-loader/f3c616fbd126299d1e806d6ecc1ec318.json +1 -0
  338. package/example/.expo/web/cache/development/babel-loader/f42e9bcb2c70b941d26c869beae57ebd.json +1 -0
  339. package/example/.expo/web/cache/development/babel-loader/f4a9921d6e837efff4d9a9df358e594f.json +1 -0
  340. package/example/.expo/web/cache/development/babel-loader/f4c95c91f375005a143433586f729253.json +1 -0
  341. package/example/.expo/web/cache/development/babel-loader/f557735276807fa1f2857d869fcf3f24.json +1 -0
  342. package/example/.expo/web/cache/development/babel-loader/f7747a8774208f97feee323659c8fd9c.json +1 -0
  343. package/example/.expo/web/cache/development/babel-loader/f78eccb875790b4d905e542a961bf15d.json +1 -0
  344. package/example/.expo/web/cache/development/babel-loader/f79a20eb5fe07a41699a4082250176ee.json +1 -0
  345. package/example/.expo/web/cache/development/babel-loader/f8161007e70676aff950dd230d92b913.json +1 -0
  346. package/example/.expo/web/cache/development/babel-loader/f89bed9b99073eb34bdcfe509a9eef7b.json +1 -0
  347. package/example/.expo/web/cache/development/babel-loader/f8da7cfcc868c4561939eb69b187852b.json +1 -0
  348. package/example/.expo/web/cache/development/babel-loader/f9a453849a2adca3c8d16c288ee63674.json +1 -0
  349. package/example/.expo/web/cache/development/babel-loader/f9c8751528f50853c93bccaef3665cb2.json +1 -0
  350. package/example/.expo/web/cache/development/babel-loader/fa1cac776862e25b801ccd74fe04dedb.json +1 -0
  351. package/example/.expo/web/cache/development/babel-loader/fa7135f62c5758217dd521fe11e4f3be.json +1 -0
  352. package/example/.expo/web/cache/development/babel-loader/fb1afe2167ecb0e405e51371bc59a75e.json +1 -0
  353. package/example/.expo/web/cache/development/babel-loader/fc02f1af2a9db4facfa4f4fc290432fe.json +1 -0
  354. package/example/.expo/web/cache/development/babel-loader/fc62eb1057700a3ed46569b3ca6ae7b8.json +1 -0
  355. package/example/.expo/web/cache/development/babel-loader/fc941b53721fd7910cde57ec192fe407.json +1 -0
  356. package/example/.expo/web/cache/development/babel-loader/fd143c0566e976f3b69413de3ca79ebf.json +1 -0
  357. package/example/.expo/web/cache/development/babel-loader/fd655c3e164d6c50e7affcee01046566.json +1 -0
  358. package/example/.expo/web/cache/development/babel-loader/fdada169c1988ef70eea3e2b77f7b727.json +1 -0
  359. package/example/.expo/web/cache/development/babel-loader/fe0a5f0e6f28f358efb1ed12c10b3240.json +1 -0
  360. package/example/.expo/web/cache/development/babel-loader/ff9a6e20e331b715609602c9bca399e9.json +1 -0
  361. package/example/src/CandlestickChart.tsx +4 -1
  362. package/example/src/LineChart.tsx +121 -60
  363. package/example/src/data/line-data.json +20 -20
  364. package/lib/commonjs/charts/candle/utils/getDomain.js +19 -0
  365. package/lib/commonjs/charts/candle/utils/getDomain.js.map +1 -0
  366. package/lib/commonjs/charts/candle/utils/getHeight.js +19 -0
  367. package/lib/commonjs/charts/candle/utils/getHeight.js.map +1 -0
  368. package/lib/commonjs/charts/candle/utils/getPrice.js +20 -0
  369. package/lib/commonjs/charts/candle/utils/getPrice.js.map +1 -0
  370. package/lib/commonjs/charts/candle/utils/getY.js +19 -0
  371. package/lib/commonjs/charts/candle/utils/getY.js.map +1 -0
  372. package/lib/commonjs/charts/candle/utils/index.js +58 -0
  373. package/lib/commonjs/charts/candle/utils/index.js.map +1 -0
  374. package/lib/commonjs/charts/line/Chart.js +52 -14
  375. package/lib/commonjs/charts/line/Chart.js.map +1 -1
  376. package/lib/commonjs/charts/line/ChartPath.js +78 -21
  377. package/lib/commonjs/charts/line/ChartPath.js.map +1 -1
  378. package/lib/commonjs/charts/line/Context.js +26 -20
  379. package/lib/commonjs/charts/line/Context.js.map +1 -1
  380. package/lib/commonjs/charts/line/Cursor.js +3 -4
  381. package/lib/commonjs/charts/line/Cursor.js.map +1 -1
  382. package/lib/commonjs/charts/line/CursorCrosshair.js +12 -3
  383. package/lib/commonjs/charts/line/CursorCrosshair.js.map +1 -1
  384. package/lib/commonjs/charts/line/CursorLine.js +6 -6
  385. package/lib/commonjs/charts/line/CursorLine.js.map +1 -1
  386. package/lib/commonjs/charts/line/Data.js +87 -0
  387. package/lib/commonjs/charts/line/Data.js.map +1 -0
  388. package/lib/commonjs/charts/line/DatetimeText.js +2 -0
  389. package/lib/commonjs/charts/line/DatetimeText.js.map +1 -1
  390. package/lib/commonjs/charts/line/Dot.js +126 -0
  391. package/lib/commonjs/charts/line/Dot.js.map +1 -0
  392. package/lib/commonjs/charts/line/Gradient.js +8 -25
  393. package/lib/commonjs/charts/line/Gradient.js.map +1 -1
  394. package/lib/commonjs/charts/line/Group.js +42 -0
  395. package/lib/commonjs/charts/line/Group.js.map +1 -0
  396. package/lib/commonjs/charts/line/Highlight.js +92 -0
  397. package/lib/commonjs/charts/line/Highlight.js.map +1 -0
  398. package/lib/commonjs/charts/line/HorizontalLine.js +6 -6
  399. package/lib/commonjs/charts/line/HorizontalLine.js.map +1 -1
  400. package/lib/commonjs/charts/line/Path.js +19 -30
  401. package/lib/commonjs/charts/line/Path.js.map +1 -1
  402. package/lib/commonjs/charts/line/PriceText.js +2 -0
  403. package/lib/commonjs/charts/line/PriceText.js.map +1 -1
  404. package/lib/commonjs/charts/line/Tooltip.js +2 -0
  405. package/lib/commonjs/charts/line/Tooltip.js.map +1 -1
  406. package/lib/commonjs/charts/line/index.js +46 -13
  407. package/lib/commonjs/charts/line/index.js.map +1 -1
  408. package/lib/commonjs/charts/line/useAnimatedPath.js +44 -0
  409. package/lib/commonjs/charts/line/useAnimatedPath.js.map +1 -0
  410. package/lib/commonjs/charts/line/useCurrentY.js +37 -0
  411. package/lib/commonjs/charts/line/useCurrentY.js.map +1 -0
  412. package/lib/commonjs/charts/line/useLineChart.js +14 -1
  413. package/lib/commonjs/charts/line/useLineChart.js.map +1 -1
  414. package/lib/commonjs/charts/line/{utils.js → utils/getArea.js} +2 -28
  415. package/lib/commonjs/charts/line/utils/getArea.js.map +1 -0
  416. package/lib/commonjs/charts/line/utils/getDomain.js +16 -0
  417. package/lib/commonjs/charts/line/utils/getDomain.js.map +1 -0
  418. package/lib/commonjs/charts/line/utils/getPath.js +34 -0
  419. package/lib/commonjs/charts/line/utils/getPath.js.map +1 -0
  420. package/lib/commonjs/charts/line/utils/index.js +71 -0
  421. package/lib/commonjs/charts/line/utils/index.js.map +1 -0
  422. package/lib/commonjs/charts/line/{interpolatePath.js → utils/interpolatePath.js} +1 -1
  423. package/lib/commonjs/charts/line/{interpolatePath.js.map → utils/interpolatePath.js.map} +1 -1
  424. package/lib/commonjs/charts/line/utils/lineChartDataPropToArray.js +27 -0
  425. package/lib/commonjs/charts/line/utils/lineChartDataPropToArray.js.map +1 -0
  426. package/lib/commonjs/components/AnimatedText.js +25 -11
  427. package/lib/commonjs/components/AnimatedText.js.map +1 -1
  428. package/lib/commonjs/index.js +8 -8
  429. package/lib/commonjs/index.js.map +1 -1
  430. package/lib/commonjs/utils/formatDatetime.js +21 -0
  431. package/lib/commonjs/utils/formatDatetime.js.map +1 -0
  432. package/lib/commonjs/utils/formatPrice.js +46 -0
  433. package/lib/commonjs/utils/formatPrice.js.map +1 -0
  434. package/lib/commonjs/utils/index.js +45 -0
  435. package/lib/commonjs/utils/index.js.map +1 -0
  436. package/lib/commonjs/{utils.js → utils/usePrevious.js} +1 -57
  437. package/lib/commonjs/utils/usePrevious.js.map +1 -0
  438. package/lib/module/charts/candle/utils/getDomain.js +12 -0
  439. package/lib/module/charts/candle/utils/getDomain.js.map +1 -0
  440. package/lib/module/charts/candle/utils/getHeight.js +11 -0
  441. package/lib/module/charts/candle/utils/getHeight.js.map +1 -0
  442. package/lib/module/charts/candle/utils/getPrice.js +12 -0
  443. package/lib/module/charts/candle/utils/getPrice.js.map +1 -0
  444. package/lib/module/charts/candle/utils/getY.js +11 -0
  445. package/lib/module/charts/candle/utils/getY.js.map +1 -0
  446. package/lib/module/charts/candle/utils/index.js +5 -0
  447. package/lib/module/charts/candle/utils/index.js.map +1 -0
  448. package/lib/module/charts/line/Chart.js +51 -16
  449. package/lib/module/charts/line/Chart.js.map +1 -1
  450. package/lib/module/charts/line/ChartPath.js +74 -21
  451. package/lib/module/charts/line/ChartPath.js.map +1 -1
  452. package/lib/module/charts/line/Context.js +27 -22
  453. package/lib/module/charts/line/Context.js.map +1 -1
  454. package/lib/module/charts/line/Cursor.js +4 -5
  455. package/lib/module/charts/line/Cursor.js.map +1 -1
  456. package/lib/module/charts/line/CursorCrosshair.js +12 -4
  457. package/lib/module/charts/line/CursorCrosshair.js.map +1 -1
  458. package/lib/module/charts/line/CursorLine.js +4 -3
  459. package/lib/module/charts/line/CursorLine.js.map +1 -1
  460. package/lib/module/charts/line/Data.js +64 -0
  461. package/lib/module/charts/line/Data.js.map +1 -0
  462. package/lib/module/charts/line/DatetimeText.js +1 -0
  463. package/lib/module/charts/line/DatetimeText.js.map +1 -1
  464. package/lib/module/charts/line/Dot.js +105 -0
  465. package/lib/module/charts/line/Dot.js.map +1 -0
  466. package/lib/module/charts/line/Gradient.js +8 -24
  467. package/lib/module/charts/line/Gradient.js.map +1 -1
  468. package/lib/module/charts/line/Group.js +24 -0
  469. package/lib/module/charts/line/Group.js.map +1 -0
  470. package/lib/module/charts/line/Highlight.js +69 -0
  471. package/lib/module/charts/line/Highlight.js.map +1 -0
  472. package/lib/module/charts/line/HorizontalLine.js +4 -3
  473. package/lib/module/charts/line/HorizontalLine.js.map +1 -1
  474. package/lib/module/charts/line/Path.js +17 -29
  475. package/lib/module/charts/line/Path.js.map +1 -1
  476. package/lib/module/charts/line/PriceText.js +1 -0
  477. package/lib/module/charts/line/PriceText.js.map +1 -1
  478. package/lib/module/charts/line/Tooltip.js +1 -0
  479. package/lib/module/charts/line/Tooltip.js.map +1 -1
  480. package/lib/module/charts/line/index.js +11 -3
  481. package/lib/module/charts/line/index.js.map +1 -1
  482. package/lib/module/charts/line/useAnimatedPath.js +34 -0
  483. package/lib/module/charts/line/useAnimatedPath.js.map +1 -0
  484. package/lib/module/charts/line/useCurrentY.js +25 -0
  485. package/lib/module/charts/line/useCurrentY.js.map +1 -0
  486. package/lib/module/charts/line/useLineChart.js +12 -1
  487. package/lib/module/charts/line/useLineChart.js.map +1 -1
  488. package/lib/module/charts/line/utils/getArea.js +19 -0
  489. package/lib/module/charts/line/utils/getArea.js.map +1 -0
  490. package/lib/module/charts/line/utils/getDomain.js +9 -0
  491. package/lib/module/charts/line/utils/getDomain.js.map +1 -0
  492. package/lib/module/charts/line/utils/getPath.js +21 -0
  493. package/lib/module/charts/line/utils/getPath.js.map +1 -0
  494. package/lib/module/charts/line/utils/index.js +6 -0
  495. package/lib/module/charts/line/utils/index.js.map +1 -0
  496. package/lib/module/charts/line/{interpolatePath.js → utils/interpolatePath.js} +1 -1
  497. package/lib/module/charts/line/{interpolatePath.js.map → utils/interpolatePath.js.map} +1 -1
  498. package/lib/module/charts/line/utils/lineChartDataPropToArray.js +20 -0
  499. package/lib/module/charts/line/utils/lineChartDataPropToArray.js.map +1 -0
  500. package/lib/module/components/AnimatedText.js +26 -12
  501. package/lib/module/components/AnimatedText.js.map +1 -1
  502. package/lib/module/index.js +1 -1
  503. package/lib/module/index.js.map +1 -1
  504. package/lib/module/utils/formatDatetime.js +14 -0
  505. package/lib/module/utils/formatDatetime.js.map +1 -0
  506. package/lib/module/{utils.js → utils/formatPrice.js} +1 -29
  507. package/lib/module/utils/formatPrice.js.map +1 -0
  508. package/lib/module/utils/index.js +4 -0
  509. package/lib/module/utils/index.js.map +1 -0
  510. package/lib/module/utils/usePrevious.js +14 -0
  511. package/lib/module/utils/usePrevious.js.map +1 -0
  512. package/lib/typescript/src/charts/candle/utils/getDomain.d.ts +2 -0
  513. package/lib/typescript/src/charts/candle/utils/getHeight.d.ts +6 -0
  514. package/lib/typescript/src/charts/candle/utils/getPrice.d.ts +6 -0
  515. package/lib/typescript/src/charts/candle/utils/getY.d.ts +6 -0
  516. package/lib/typescript/src/charts/candle/utils/index.d.ts +4 -0
  517. package/lib/typescript/src/charts/line/Chart.d.ts +12 -2
  518. package/lib/typescript/src/charts/line/ChartPath.d.ts +10 -1
  519. package/lib/typescript/src/charts/line/Context.d.ts +9 -3
  520. package/lib/typescript/src/charts/line/Cursor.d.ts +3 -0
  521. package/lib/typescript/src/charts/line/CursorCrosshair.d.ts +4 -1
  522. package/lib/typescript/src/charts/line/CursorLine.d.ts +4 -1
  523. package/lib/typescript/src/charts/line/Data.d.ts +22 -0
  524. package/lib/typescript/src/charts/line/DatetimeText.d.ts +3 -0
  525. package/lib/typescript/src/charts/line/Dot.d.ts +31 -0
  526. package/lib/typescript/src/charts/line/Gradient.d.ts +3 -0
  527. package/lib/typescript/src/charts/line/Group.d.ts +7 -0
  528. package/lib/typescript/src/charts/line/Highlight.d.ts +15 -0
  529. package/lib/typescript/src/charts/line/HorizontalLine.d.ts +4 -1
  530. package/lib/typescript/src/charts/line/Path.d.ts +5 -1
  531. package/lib/typescript/src/charts/line/PriceText.d.ts +3 -0
  532. package/lib/typescript/src/charts/line/Tooltip.d.ts +3 -0
  533. package/lib/typescript/src/charts/line/index.d.ts +15 -21
  534. package/lib/typescript/src/charts/line/types.d.ts +4 -2
  535. package/lib/typescript/src/charts/line/useAnimatedPath.d.ts +8 -0
  536. package/lib/typescript/src/charts/line/useCurrentY.d.ts +3 -0
  537. package/lib/typescript/src/charts/line/useLineChart.d.ts +18 -1
  538. package/lib/typescript/src/charts/line/utils/getArea.d.ts +9 -0
  539. package/lib/typescript/src/charts/line/utils/getDomain.d.ts +2 -0
  540. package/lib/typescript/src/charts/line/utils/getPath.d.ts +11 -0
  541. package/lib/typescript/src/charts/line/utils/index.d.ts +5 -0
  542. package/lib/typescript/src/charts/line/{interpolatePath.d.ts → utils/interpolatePath.d.ts} +1 -1
  543. package/lib/typescript/src/charts/line/utils/lineChartDataPropToArray.d.ts +2 -0
  544. package/lib/typescript/src/index.d.ts +1 -1
  545. package/lib/typescript/src/utils/formatDatetime.d.ts +8 -0
  546. package/lib/typescript/src/utils/formatPrice.d.ts +8 -0
  547. package/lib/typescript/src/utils/index.d.ts +3 -0
  548. package/lib/typescript/src/utils/usePrevious.d.ts +1 -0
  549. package/package.json +5 -3
  550. package/src/charts/candle/utils/getDomain.ts +9 -0
  551. package/src/charts/candle/utils/getHeight.ts +21 -0
  552. package/src/charts/candle/utils/getPrice.ts +17 -0
  553. package/src/charts/candle/utils/getY.ts +16 -0
  554. package/src/charts/candle/utils/index.ts +4 -0
  555. package/src/charts/line/Chart.tsx +50 -13
  556. package/src/charts/line/ChartPath.tsx +113 -35
  557. package/src/charts/line/Context.tsx +53 -28
  558. package/src/charts/line/Cursor.tsx +7 -4
  559. package/src/charts/line/CursorCrosshair.tsx +22 -5
  560. package/src/charts/line/CursorLine.tsx +5 -3
  561. package/src/charts/line/Data.tsx +105 -0
  562. package/src/charts/line/DatetimeText.tsx +2 -0
  563. package/src/charts/line/Dot.tsx +175 -0
  564. package/src/charts/line/Gradient.tsx +7 -34
  565. package/src/charts/line/Group.tsx +29 -0
  566. package/src/charts/line/Highlight.tsx +78 -0
  567. package/src/charts/line/HorizontalLine.tsx +5 -3
  568. package/src/charts/line/Path.tsx +14 -38
  569. package/src/charts/line/PriceText.tsx +2 -0
  570. package/src/charts/line/Tooltip.tsx +2 -0
  571. package/src/charts/line/index.ts +11 -3
  572. package/src/charts/line/types.ts +6 -2
  573. package/src/charts/line/useAnimatedPath.ts +47 -0
  574. package/src/charts/line/useCurrentY.ts +21 -0
  575. package/src/charts/line/useLineChart.ts +13 -1
  576. package/src/charts/line/utils/getArea.ts +38 -0
  577. package/src/charts/line/utils/getDomain.ts +7 -0
  578. package/src/charts/line/utils/getPath.ts +48 -0
  579. package/src/charts/line/utils/index.ts +5 -0
  580. package/src/charts/line/{interpolatePath.ts → utils/interpolatePath.ts} +1 -1
  581. package/src/charts/line/utils/lineChartDataPropToArray.ts +25 -0
  582. package/src/components/AnimatedText.tsx +28 -14
  583. package/src/index.ts +1 -1
  584. package/src/utils/formatDatetime.ts +16 -0
  585. package/src/{utils.ts → utils/formatPrice.ts} +0 -31
  586. package/src/utils/index.ts +3 -0
  587. package/src/utils/usePrevious.ts +13 -0
  588. package/yarn.lock +12 -5
  589. package/lib/commonjs/charts/line/utils.js.map +0 -1
  590. package/lib/commonjs/utils.js.map +0 -1
  591. package/lib/module/charts/line/utils.js +0 -41
  592. package/lib/module/charts/line/utils.js.map +0 -1
  593. package/lib/module/utils.js.map +0 -1
  594. package/lib/typescript/src/charts/line/utils.d.ts +0 -18
  595. package/lib/typescript/src/utils.d.ts +0 -17
  596. package/src/charts/line/utils.ts +0 -75
package/README.md CHANGED
@@ -31,23 +31,34 @@ A sweet & simple chart library for React Native that will make us feel like **W*
31
31
  - [Basic Usage](#basic-usage)
32
32
  - [Line chart](#line-chart)
33
33
  - [Candlestick chart](#candlestick-chart)
34
- - [Guides](#guides)
34
+ - [Line Chart Guides](#line-chart-guides)
35
35
  - [Interactive cursors](#interactive-cursors)
36
36
  - [Interactive labels](#interactive-labels)
37
37
  - [Interactive tooltips](#interactive-tooltips)
38
38
  - [Haptic feedback](#haptic-feedback)
39
39
  - [Colors](#colors)
40
40
  - [Gradients](#gradients)
41
+ - [Dots](#dots)
42
+ - [Horizontal lines](#horizontal-lines)
41
43
  - [Customizing size](#customizing-size)
42
44
  - [Customizing labels](#customizing-labels)
43
45
  - [Customizing tooltips](#customizing-tooltips)
46
+ - [Candlestick Chart Guides](#candlestick-chart-guides)
47
+ - [Interactive cursors](#interactive-cursors-1)
48
+ - [Interactive labels](#interactive-labels-1)
49
+ - [Interactive tooltips](#interactive-tooltips-1)
50
+ - [Haptic feedback](#haptic-feedback-1)
51
+ - [Colors](#colors-1)
52
+ - [Customizing labels](#customizing-labels-1)
44
53
  - [Component APIs](#component-apis)
45
54
  - [LineChart.Provider](#linechartprovider)
46
55
  - [LineChart](#linechart)
47
56
  - [LineChart.Path](#linechartpath)
48
57
  - [LineChart.CursorCrosshair](#linechartcursorcrosshair-1)
49
58
  - [LineChart.CursorLine](#linechartcursorline-1)
50
- - [LineChart.HorizontalLine](#linecharthorizontalline-1)
59
+ - [LineChart.Dot](#linechartdot)
60
+ - [LineChart.Highlight](#linechartdot)
61
+ - [LineChart.HorizontalLine](#linecharthorizontalline)
51
62
  - [LineChart.Gradient](#linechartgradient)
52
63
  - [LineChart.Tooltip](#linecharttooltip)
53
64
  - [LineChart.PriceText](#linechartpricetext)
@@ -55,7 +66,7 @@ A sweet & simple chart library for React Native that will make us feel like **W*
55
66
  - [CandlestickChart.Provider](#candlestickchartprovider)
56
67
  - [CandlestickChart](#candlestickchart)
57
68
  - [CandlestickChart.Candles](#candlestickchartcandles)
58
- - [CandlestickChart.Crosshair](#candlestickchartcrosshair-1)
69
+ - [CandlestickChart.Crosshair](#candlestickchartcrosshair)
59
70
  - [CandlestickChart.Tooltip](#candlestickcharttooltip)
60
71
  - [CandlestickChart.PriceText](#candlestickchartpricetext)
61
72
  - [CandlestickChart.DatetimeText](#candlestickchartdatetimetext)
@@ -67,9 +78,7 @@ A sweet & simple chart library for React Native that will make us feel like **W*
67
78
  - [CandlestickChart.useCandleData](#candlestickchartusecandledata)
68
79
  - [CandlestickChart.useDatetime](#candlestickchartusedatetime)
69
80
  - [CandlestickChart.usePrice](#candlestickchartuseprice)
70
- - [Web Support (Experimental)](#web-support)
71
- - [Disable Transitions](#disable-transitions)
72
- - [Reanimated Version](#reanimated-version)
81
+ - [Web Support](#web-support)
73
82
  - [Credits](#credits)
74
83
 
75
84
  ## Install
@@ -184,14 +193,12 @@ function Example() {
184
193
  }
185
194
  ```
186
195
 
187
- ## Guides
196
+ ## Line Chart Guides
188
197
 
189
- Below are some guides to help you make your charts suit your brand. Hopefully a combination of the below will enable you to make a great chart! :-)
198
+ Below are some line chart guides to help you make your charts suit your brand. Hopefully a combination of the below will enable you to make a great chart! :-)
190
199
 
191
200
  ### Interactive cursors
192
201
 
193
- #### Line chart
194
-
195
202
  To render an interactive cursor on your line chart, you can include either the `LineChart.CursorCrosshair` or `LineChart.CursorLine` components:
196
203
 
197
204
  ##### `LineChart.CursorCrosshair`
@@ -220,53 +227,8 @@ To render an interactive cursor on your line chart, you can include either the `
220
227
 
221
228
  <img src="https://user-images.githubusercontent.com/7336481/133027471-1c620ece-a95e-46b7-bd92-50f33757ce92.gif" width="200px" />
222
229
 
223
- ##### `LineChart.HorizontalLine`
224
-
225
- It's a static horizontal line which moves whenever your data change. It's located on height of point which is on `at` position of provided data.
226
-
227
- ```jsx
228
- <LineChart.Provider data={data}>
229
- <LineChart>
230
- <LineChart.Path>
231
- <LineChart.HorizontalLine at={{ index: 0 }} />
232
- </LineChart.Path>
233
- </LineChart>
234
- </LineChart.Provider>
235
- ```
236
-
237
- To pass a Y value to your `HorizontalLine` instead, you can use `value`:
238
-
239
- ```jsx
240
- <LineChart.Provider data={data}>
241
- <LineChart>
242
- <LineChart.Path>
243
- <LineChart.HorizontalLine at={{ value: 3027.84 }} />
244
- </LineChart.Path>
245
- </LineChart>
246
- </LineChart.Provider>
247
- ```
248
-
249
- #### Candlestick chart
250
-
251
- To render an interactive cursor on your candlestick chart, you can include the `CandlestickChart.Crosshair` component:
252
-
253
- ##### `CandlestickChart.Crosshair`
254
-
255
- ```jsx
256
- <CandlestickChart.Provider data={data}>
257
- <CandlestickChart>
258
- <CandlestickChart.Candles />
259
- <CandlestickChart.Crosshair />
260
- </CandlestickChart>
261
- </CandlestickChart.Provider>
262
- ```
263
-
264
- <img src="https://user-images.githubusercontent.com/7336481/133027656-a877b248-77c1-4bf3-822f-a05dee4efa20.gif" width="200px" />
265
-
266
230
  ### Interactive labels
267
231
 
268
- #### Line chart
269
-
270
232
  To render an interactive label on your line chart as your cursor moves along the graph, you can use the `PriceText` or `DatetimeText` components:
271
233
 
272
234
  > Note: These components **must** be within the `LineChart.Provider` component.
@@ -284,32 +246,8 @@ To render an interactive label on your line chart as your cursor moves along the
284
246
 
285
247
  <img src="https://user-images.githubusercontent.com/7336481/133028134-a0b65499-9edf-4535-9fcc-fcf8c1e4e0c4.gif" width="200px" />
286
248
 
287
- #### Candlestick chart
288
-
289
- To render an interactive label on your candlestick chart, you can use the `PriceText` or `DatetimeText` components:
290
-
291
- > Note: These components **must** be within the `CandlestickChart.Provider` component.
292
-
293
- ```jsx
294
- <CandlestickChart.Provider data={data}>
295
- <CandlestickChart>
296
- <CandlestickChart.Candles />
297
- <CandlestickChart.Crosshair />
298
- </CandlestickChart>
299
- <CandlestickChart.PriceText type="open" />
300
- <CandlestickChart.PriceText type="high" />
301
- <CandlestickChart.PriceText type="low" />
302
- <CandlestickChart.PriceText type="close" />
303
- <CandlestickChart.DatetimeText />
304
- </LineChart.Provider>
305
- ```
306
-
307
- <img src="https://user-images.githubusercontent.com/7336481/133034935-faea61e6-09c2-4dba-a1ab-555d1ebee880.gif" width="200px" />
308
-
309
249
  ### Interactive tooltips
310
250
 
311
- #### Line charts
312
-
313
251
  To render an interactive tooltip that follows your cursor, you can use the `Tooltip` component.
314
252
 
315
253
  ```jsx
@@ -343,29 +281,10 @@ You can even add another tooltip to show something like date/time:
343
281
 
344
282
  <img src="https://user-images.githubusercontent.com/7336481/133036011-8a9b4865-10dd-4e88-9fd1-1e109435a73c.gif" width="200px" />
345
283
 
346
- #### Candlestick charts
347
-
348
- To render an interactive tooltip that follows your crosshair, you can use the `Tooltip` component.
349
-
350
- ```jsx
351
- <CandlestickChart.Provider data={data}>
352
- <CandlestickChart>
353
- <CandlestickChart.Candles />
354
- <CandlestickChart.Crosshair>
355
- <CandlestickChart.Tooltip />
356
- </CandlestickChart.Crosshair>
357
- </CandlestickChart>
358
- </CandlestickChart.Provider>
359
- ```
360
-
361
- <img src="https://user-images.githubusercontent.com/7336481/133036451-e1f2f12b-9e96-4a0f-8c69-4f630bb8ded3.gif" width="200px" />
362
-
363
284
  ### Haptic feedback
364
285
 
365
286
  By making use of the chart event handlers, you are able to integrate haptic feedback into your charts.
366
287
 
367
- #### Line charts
368
-
369
288
  We can utilise the `onActivated` and `onEnded` events to create haptic feedback on our line chart.
370
289
 
371
290
  ```jsx
@@ -391,11 +310,9 @@ function Example() {
391
310
  }
392
311
  ```
393
312
 
394
- #### Candlestick charts
395
-
396
- We can utilise the `onCurrentXChange` event to create haptic feedback on our candlestick chart.
313
+ We can also use the `onCurrentIndexChange` callback, passed to `LineChart.Provider`:
397
314
 
398
- ```jsx
315
+ ```tsx
399
316
  import * as haptics from 'expo-haptics';
400
317
 
401
318
  const data = [...];
@@ -405,15 +322,19 @@ function invokeHaptic() {
405
322
  }
406
323
 
407
324
  function Example() {
325
+ const onCurrentIndexChange = useCallback((index: number) => {
326
+ // ...
327
+ }, [])
328
+
408
329
  return (
409
- <CandlestickChart.Provider data={data}>
410
- <CandlestickChart>
411
- <CandlestickChart.Candles />
412
- <CandlestickChart.Crosshair onCurrentXChange={invokeHaptic}>
413
- <CandlestickChart.Tooltip />
414
- </CandlestickChart.Crosshair>
415
- </CandlestickChart>
416
- </CandlestickChart.Provider>
330
+ <LineChart.Provider data={data} onCurrentIndexChange={onCurrentIndexChange}>
331
+ <LineChart>
332
+ <LineChart.Path />
333
+ <LineChart.CursorCrosshair onActivated={invokeHaptic} onEnded={invokeHaptic}>
334
+ <LineChart.Tooltip />
335
+ </LineChart.CursorCrosshair>
336
+ </LineChart>
337
+ </LineChart.Provider>
417
338
  )
418
339
  }
419
340
  ```
@@ -422,9 +343,7 @@ function Example() {
422
343
 
423
344
  By default, the charts come with default colors out-of-the-box... But you probably will want to change these to suit your brand.
424
345
 
425
- #### Line charts
426
-
427
- ##### Coloring the path
346
+ #### Coloring the path
428
347
 
429
348
  To customise the color of the line chart path, supply a `color` prop to `LineChart.Path`. This can be any valid React Native `StyleSheet` compatible color.
430
349
 
@@ -438,7 +357,7 @@ To customise the color of the line chart path, supply a `color` prop to `LineCha
438
357
 
439
358
  <img src="https://user-images.githubusercontent.com/7336481/133037040-ce13ba5b-6ee5-45a2-ba14-18bf12e13746.png" width="200px" />
440
359
 
441
- ##### Coloring the cursor
360
+ #### Coloring the cursor
442
361
 
443
362
  To customise the color of the line chart cursor, supply a `color` prop to `LineChart.CursorCrosshair`. This can be any valid React Native `StyleSheet` compatible color.
444
363
 
@@ -455,66 +374,109 @@ To customise the color of the line chart cursor, supply a `color` prop to `LineC
455
374
 
456
375
  <img width="200px" alt="Screen Shot 2021-09-13 at 4 53 46 pm" src="https://user-images.githubusercontent.com/7336481/133037333-6b1345e5-a98b-459c-b3b1-6e5b08143f33.png">
457
376
 
458
- #### Candlestick charts
377
+ ### Gradients
459
378
 
460
- ##### Coloring the candles
379
+ By using the `LineChart.Gradient` component, you can apply a gradient to the area underneath your path.
461
380
 
462
- To customise the color of the candlestick chart candles, supply a `negativeColor` and a `positiveColor` to `CandlestickChart.Candles`. This can be any valid React Native `StyleSheet` compatible color.
381
+ ```jsx
382
+ <LineChart.Provider data={data}>
383
+ <LineChart>
384
+ <LineChart.Path color="red">
385
+ <LineChart.Gradient />
386
+ <LineChart.Path>
387
+ </LineChart>
388
+ </LineChart.Provider>
389
+ ```
390
+
391
+ <img width="346" alt="Screen Shot 2021-10-25 at 8 32 07 pm" src="https://user-images.githubusercontent.com/7336481/138672128-c691036e-404f-4148-8a3b-00ea2f7df27f.png">
392
+
393
+ The gradient will inherit your path's color by default, however, you can provide a color prop to `LineChart.Gradient`:
463
394
 
464
395
  ```jsx
465
- <CandlestickChart.Provider data={data}>
466
- <CandlestickChart>
467
- <CandlestickChart.Candles positiveColor="hotpink" negativeColor="black" />
468
- </CandlestickChart>
469
- </CandlestickChart.Provider>
396
+ <LineChart.Provider data={data}>
397
+ <LineChart>
398
+ <LineChart.Path color="red">
399
+ <LineChart.Gradient color="black" />
400
+ <LineChart.Path>
401
+ </LineChart>
402
+ </LineChart.Provider>
470
403
  ```
471
404
 
472
- <img width="200px" alt="Screen Shot 2021-09-13 at 4 58 52 pm" src="https://user-images.githubusercontent.com/7336481/133037949-aba76daa-20bb-4d4e-b05e-b0cff42b69a6.png">
405
+ <img width="345" alt="Screen Shot 2021-10-25 at 8 32 26 pm" src="https://user-images.githubusercontent.com/7336481/138672153-9ba11b02-b750-4ab0-a2e2-c18a9af4635f.png">
473
406
 
474
- ##### Coloring the crosshair
407
+ ### Dots
475
408
 
476
- To customise the color of the line chart cursor, supply a `color` prop to `CandlestickChart.Crosshair`. This can be any valid React Native `StyleSheet` compatible color.
409
+ You can render dots on your line chart with `LineChart.Dot`.
477
410
 
478
411
  ```jsx
479
- <CandlestickChart.Provider data={data}>
480
- <CandlestickChart>
481
- <CandlestickChart.Candles positiveColor="hotpink" negativeColor="black" />
482
- <CandlestickChart.Crosshair color="hotpink" />
483
- </CandlestickChart>
484
- </CandlestickChart.Provider>
412
+ <LineChart.Provider data={data}>
413
+ <LineChart>
414
+ <LineChart.Path>
415
+ <LineChart.Dot color="red" at={10} />
416
+ </LineChart.Path>
417
+ </LineChart>
418
+ </LineChart.Provider>
485
419
  ```
486
420
 
487
- <img width="200px" alt="Screen Shot 2021-09-13 at 4 58 52 pm" src="https://user-images.githubusercontent.com/7336481/133038181-33ee91bf-a5e2-4124-ab7b-df745a5ba804.gif">
421
+ <img width="153" alt="Screen Shot 2021-11-23 at 11 15 23 am" src="https://user-images.githubusercontent.com/7336481/143009734-04aa3be6-8737-4dae-8202-98ac738f127b.png">
488
422
 
489
- ### Gradients
423
+ Your dot can also have an animated pulse by passing the `hasPulse` prop.
490
424
 
491
- By using the `LineChart.Gradient` component, you can apply a gradient to the area underneath your path.
425
+ ```jsx
426
+ <LineChart.Provider data={data}>
427
+ <LineChart>
428
+ <LineChart.Path>
429
+ <LineChart.Dot color="red" at={10} hasPulse />
430
+ </LineChart.Path>
431
+ </LineChart>
432
+ </LineChart.Provider>
433
+ ```
434
+
435
+ ![Kapture 2021-11-23 at 11 50 54](https://user-images.githubusercontent.com/7336481/143009802-981160fe-a997-4346-8bdd-b4b80a4cfd30.gif)
436
+
437
+ ### Path highlighting
438
+
439
+ You can highlight a section of your path with `LineChart.Highlight`.
492
440
 
493
441
  ```jsx
494
442
  <LineChart.Provider data={data}>
495
443
  <LineChart>
496
- <LineChart.Path color="red">
497
- <LineChart.Gradient />
498
444
  <LineChart.Path>
445
+ <LineChart.Highlight color="red" from={10} to={15} />
446
+ </LineChart.Path>
499
447
  </LineChart>
500
448
  </LineChart.Provider>
501
449
  ```
502
450
 
503
- <img width="346" alt="Screen Shot 2021-10-25 at 8 32 07 pm" src="https://user-images.githubusercontent.com/7336481/138672128-c691036e-404f-4148-8a3b-00ea2f7df27f.png">
451
+ <img width="345" alt="Screen Shot 2021-11-23 at 11 54 02 am" src="https://user-images.githubusercontent.com/7336481/143009637-03b227e4-c36b-43d8-bdc0-8b73a15b126b.png">
504
452
 
505
- The gradient will inherit your path's color by default, however, you can provide a color prop to `LineChart.Gradient`:
453
+ ### Horizontal lines
454
+
455
+ You can render a static horizontal line on your line chart which moves whenever your data change. It's located on height of point which is on `at` position of provided data.
506
456
 
507
457
  ```jsx
508
458
  <LineChart.Provider data={data}>
509
459
  <LineChart>
510
- <LineChart.Path color="red">
511
- <LineChart.Gradient color="black" />
512
460
  <LineChart.Path>
461
+ <LineChart.HorizontalLine at={{ index: 0 }} />
462
+ </LineChart.Path>
513
463
  </LineChart>
514
464
  </LineChart.Provider>
515
465
  ```
516
466
 
517
- <img width="345" alt="Screen Shot 2021-10-25 at 8 32 26 pm" src="https://user-images.githubusercontent.com/7336481/138672153-9ba11b02-b750-4ab0-a2e2-c18a9af4635f.png">
467
+ <img width="345" alt="Screen Shot 2021-11-23 at 11 51 45 am" src="https://user-images.githubusercontent.com/7336481/143009672-54dac2c7-7de1-4299-a96f-7cc380e82b46.png">
468
+
469
+ You can also pass a (y) value to `HorizontalLine` with the `value` attribute:
470
+
471
+ ```jsx
472
+ <LineChart.Provider data={data}>
473
+ <LineChart>
474
+ <LineChart.Path>
475
+ <LineChart.HorizontalLine at={{ value: 3027.84 }} />
476
+ </LineChart.Path>
477
+ </LineChart>
478
+ </LineChart.Provider>
479
+ ```
518
480
 
519
481
  ### Customizing size
520
482
 
@@ -538,7 +500,6 @@ By default, the price labels have a precision of `2`, meaning that the prices wi
538
500
 
539
501
  ```jsx
540
502
  <LineChart.PriceText precision={4} />
541
- <CandlestickChart.PriceText precision={4} />
542
503
  ```
543
504
 
544
505
  ##### Custom formatting
@@ -627,6 +588,188 @@ You can customize the gutters of the tooltip by providing `cursorGutter`, `xGutt
627
588
 
628
589
  <img src="https://user-images.githubusercontent.com/7336481/133054393-28d542c1-c9fc-4ba6-b4a0-86cf096ebcda.gif" width="200px" />
629
590
 
591
+ ## Candlestick Chart Guides
592
+
593
+ ### Interactive cursors
594
+
595
+ To render an interactive cursor on your candlestick chart, you can include the `CandlestickChart.Crosshair` component:
596
+
597
+ ```jsx
598
+ <CandlestickChart.Provider data={data}>
599
+ <CandlestickChart>
600
+ <CandlestickChart.Candles />
601
+ <CandlestickChart.Crosshair />
602
+ </CandlestickChart>
603
+ </CandlestickChart.Provider>
604
+ ```
605
+
606
+ <img src="https://user-images.githubusercontent.com/7336481/133027656-a877b248-77c1-4bf3-822f-a05dee4efa20.gif" width="200px" />
607
+
608
+ ### Interactive labels
609
+
610
+ To render an interactive label on your candlestick chart, you can use the `PriceText` or `DatetimeText` components:
611
+
612
+ > Note: These components **must** be within the `CandlestickChart.Provider` component.
613
+
614
+ ```jsx
615
+ <CandlestickChart.Provider data={data}>
616
+ <CandlestickChart>
617
+ <CandlestickChart.Candles />
618
+ <CandlestickChart.Crosshair />
619
+ </CandlestickChart>
620
+ <CandlestickChart.PriceText type="open" />
621
+ <CandlestickChart.PriceText type="high" />
622
+ <CandlestickChart.PriceText type="low" />
623
+ <CandlestickChart.PriceText type="close" />
624
+ <CandlestickChart.DatetimeText />
625
+ </LineChart.Provider>
626
+ ```
627
+
628
+ <img src="https://user-images.githubusercontent.com/7336481/133034935-faea61e6-09c2-4dba-a1ab-555d1ebee880.gif" width="200px" />
629
+
630
+ ### Interactive tooltips
631
+
632
+ To render an interactive tooltip that follows your crosshair, you can use the `Tooltip` component.
633
+
634
+ ```jsx
635
+ <CandlestickChart.Provider data={data}>
636
+ <CandlestickChart>
637
+ <CandlestickChart.Candles />
638
+ <CandlestickChart.Crosshair>
639
+ <CandlestickChart.Tooltip />
640
+ </CandlestickChart.Crosshair>
641
+ </CandlestickChart>
642
+ </CandlestickChart.Provider>
643
+ ```
644
+
645
+ <img src="https://user-images.githubusercontent.com/7336481/133036451-e1f2f12b-9e96-4a0f-8c69-4f630bb8ded3.gif" width="200px" />
646
+
647
+ ### Haptic feedback
648
+
649
+ By making use of the chart event handlers, you are able to integrate haptic feedback into your charts.
650
+
651
+ We can utilise the `onCurrentXChange` event to create haptic feedback on our candlestick chart.
652
+
653
+ ```jsx
654
+ import * as haptics from 'expo-haptics';
655
+
656
+ const data = [...];
657
+
658
+ function invokeHaptic() {
659
+ haptics.impactAsync(haptics.ImpactFeedbackStyle.Light);
660
+ }
661
+
662
+ function Example() {
663
+ return (
664
+ <CandlestickChart.Provider data={data}>
665
+ <CandlestickChart>
666
+ <CandlestickChart.Candles />
667
+ <CandlestickChart.Crosshair onCurrentXChange={invokeHaptic}>
668
+ <CandlestickChart.Tooltip />
669
+ </CandlestickChart.Crosshair>
670
+ </CandlestickChart>
671
+ </CandlestickChart.Provider>
672
+ )
673
+ }
674
+ ```
675
+
676
+ ### Colors
677
+
678
+ By default, the charts come with default colors out-of-the-box... But you probably will want to change these to suit your brand.
679
+
680
+ #### Coloring the candles
681
+
682
+ To customise the color of the candlestick chart candles, supply a `negativeColor` and a `positiveColor` to `CandlestickChart.Candles`. This can be any valid React Native `StyleSheet` compatible color.
683
+
684
+ ```jsx
685
+ <CandlestickChart.Provider data={data}>
686
+ <CandlestickChart>
687
+ <CandlestickChart.Candles positiveColor="hotpink" negativeColor="black" />
688
+ </CandlestickChart>
689
+ </CandlestickChart.Provider>
690
+ ```
691
+
692
+ <img width="200px" alt="Screen Shot 2021-09-13 at 4 58 52 pm" src="https://user-images.githubusercontent.com/7336481/133037949-aba76daa-20bb-4d4e-b05e-b0cff42b69a6.png">
693
+
694
+ #### Coloring the crosshair
695
+
696
+ To customise the color of the line chart cursor, supply a `color` prop to `CandlestickChart.Crosshair`. This can be any valid React Native `StyleSheet` compatible color.
697
+
698
+ ```jsx
699
+ <CandlestickChart.Provider data={data}>
700
+ <CandlestickChart>
701
+ <CandlestickChart.Candles positiveColor="hotpink" negativeColor="black" />
702
+ <CandlestickChart.Crosshair color="hotpink" />
703
+ </CandlestickChart>
704
+ </CandlestickChart.Provider>
705
+ ```
706
+
707
+ <img width="200px" alt="Screen Shot 2021-09-13 at 4 58 52 pm" src="https://user-images.githubusercontent.com/7336481/133038181-33ee91bf-a5e2-4124-ab7b-df745a5ba804.gif">
708
+
709
+ ### Customizing labels
710
+
711
+ #### Price labels
712
+
713
+ ##### Precision
714
+
715
+ By default, the price labels have a precision of `2`, meaning that the prices will always be to 2 decimal places. However, you can customize this with the `precision` prop:
716
+
717
+ ```jsx
718
+ <CandlestickChart.PriceText precision={4} />
719
+ ```
720
+
721
+ ##### Custom formatting
722
+
723
+ To customize the formatting of the price text, you can supply a `format` function in the form of a [reanimated worklet](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/worklets):
724
+
725
+ > Note: due to the nature of reanimated worklets, you cannot define functions that run on the React Native JS thread. [Read more here](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/worklets)
726
+
727
+ ```jsx
728
+ <CandlestickChart.PriceText
729
+ format={({ value }) => {
730
+ 'worklet';
731
+ const formattedPrice = yourOwnFormatValueFn(value);
732
+ return `$${formattedPrice} AUD`;
733
+ }}
734
+ />
735
+ ```
736
+
737
+ #### Datetime labels
738
+
739
+ ##### Date/time options
740
+
741
+ Internally, WAGMI charts uses [`Date.prototype.toLocaleString()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleString) to generate the date/time label. You can customise it's options like so:
742
+
743
+ ```jsx
744
+ <CandlestickChart.DatetimeText
745
+ locale="en-AU"
746
+ options={{
747
+ year: 'numeric',
748
+ month: 'numeric',
749
+ day: 'numeric',
750
+ hour: 'numeric',
751
+ minute: 'numeric',
752
+ second: 'numeric',
753
+ }}
754
+ />
755
+ ```
756
+
757
+ ##### Custom formatting
758
+
759
+ To customize the formatting of the date/time text, you can supply a `format` function in the form of a [reanimated worklet](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/worklets):
760
+
761
+ > Note: due to the nature of reanimated worklets, you cannot define functions that run on the React Native JS thread. [Read more here](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/worklets)
762
+
763
+ ```jsx
764
+ <CandlestickChart.DatetimeText
765
+ format={({ value }) => {
766
+ 'worklet';
767
+ const formattedDate = yourOwnFormatValueFn(value);
768
+ return formattedDate;
769
+ }}
770
+ />
771
+ ```
772
+
630
773
  ## Component APIs
631
774
 
632
775
  ### LineChart.Provider
@@ -673,13 +816,42 @@ You can customize the gutters of the tooltip by providing `cursorGutter`, `xGutt
673
816
  | `color` | `string` | `"gray"` | Color of the cursor line |
674
817
  | `lineProps` | `LineProps` | | Props of the cursor line. Takes React Native SVG's `Line` props. |
675
818
 
819
+ ### LineChart.Dot
820
+
821
+ | Prop | Type | Default | Description |
822
+ | ------------------- | -------------------------------- | ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
823
+ | `at` | `number` | | Index of followed `data` item. |
824
+ | `color` | `string` | `"black"` | Color of the dot |
825
+ | `size` | `number` | `4` | Size of the dot. |
826
+ | `inactiveColor` | `string` | | Color of the dot when the chart is inactive. |
827
+ | `showInactiveColor` | `boolean` | `true` | Whether or not to show the inactive dot when the chart is inactive. |
828
+ | `hasOuterDot` | `boolean` | `false` | Whether or not the dot has an outer circle. |
829
+ | `hasPulse` | `boolean` | `false` | Whether or not the dot has an animated pulse. |
830
+ | `outerSize` | `number` | `16` | Size of the outer dot. |
831
+ | `pulseBehaviour` | `"while-inactive"` or `"always"` | `"while-inactive"` | Behaviour of the pulse. If `always`, the outer dot will still animate when interaction is active. If `while-inactive`, the outer dot will animate only when the interaction is inactive. |
832
+ | `pulseDurationMs` | `number` | `800` | Duration in ms of the pulse animation. |
833
+ | `dotProps` | `CircleProps` | | Props of the dot (accepts React Native SVG's `Circle` props). |
834
+ | `outerDotProps` | `CircleProps` | | Props of the outer dot (accepts React Native SVG's `Circle` props). |
835
+
836
+ ### LineChart.Highlight
837
+
838
+ | Prop | Type | Default | Description |
839
+ | ------------------- | --------- | --------- | ------------------------------------------------------------------------- |
840
+ | `from` | `number` | | Data index of where to start the highlight. |
841
+ | `to` | `number` | | Data index of where to end the highlight. |
842
+ | `color` | `string` | `"black"` | Color of the highlighted path. |
843
+ | `inactiveColor` | `string` | | Color of the highlight when the chart is inactive. |
844
+ | `showInactiveColor` | `boolean` | `true` | Whether or not to show the inactive highlight when the chart is inactive. |
845
+ | `width` | `number` | `3` | Width of the highlight stroke. |
846
+
847
+
676
848
  ### LineChart.HorizontalLine
677
849
 
678
- | Prop | Type | Default | Description |
679
- | ----------- | ----------- | ----------------- | ---------------------------------------------------------------- | --- | ---------------------------------------------------------------------------------------------------------- |
680
- | `color` | `string` | `"gray"` | Color of the cursor line |
681
- | `lineProps` | `LineProps` | | Props of the cursor line. Takes React Native SVG's `Line` props. |
682
- | `at` | `number | { index: number } | { value: number }` | `0` | Index of followed `data` item. You can alternatively pass `{ value: number }`, corresponding to a y value. |
850
+ | Prop | Type | Default | Description |
851
+ | ----------- | ------------------------------------------------------ | -------- | ---------------------------------------------------------------------------------------------------------- |
852
+ | `color` | `string` | `"gray"` | Color of the cursor line |
853
+ | `lineProps` | `LineProps` | | Props of the cursor line. Takes React Native SVG's `Line` props. |
854
+ | `at` | `number` or `{ index: number }` or `{ value: number }` | `0` | Index of followed `data` item. You can alternatively pass `{ value: number }`, corresponding to a y value. |
683
855
 
684
856
  ### LineChart.Gradient
685
857
 
@@ -690,31 +862,31 @@ You can customize the gutters of the tooltip by providing `cursorGutter`, `xGutt
690
862
 
691
863
  ### LineChart.Tooltip
692
864
 
693
- | Prop | Type | Default | Description |
694
- | ---- | ---- | ------- | ----------- ||
695
- | `xGutter` | `number` | `8` | X axis gutter in which the tooltip will not pass. |
696
- | `yGutter` | `number` | `8` | Y axis gutter in which the tooltip will not pass. |
697
- | `cursorGutter` | `number` | `48` | Gutter (spacing) between the cursor and the tooltip. |
698
- | `position` | `"top" | "bottom"` | `"top"` | Position of the tooltip relative to the cursor. |
865
+ | Prop | Type | Default | Description |
866
+ | -------------- | --------------------- | ------- | ---------------------------------------------------- |
867
+ | `xGutter` | `number` | `8` | X axis gutter in which the tooltip will not pass. |
868
+ | `yGutter` | `number` | `8` | Y axis gutter in which the tooltip will not pass. |
869
+ | `cursorGutter` | `number` | `48` | Gutter (spacing) between the cursor and the tooltip. |
870
+ | `position` | `"top"` or `"bottom"` | `"top"` | Position of the tooltip relative to the cursor. |
699
871
 
700
872
  ### LineChart.PriceText
701
873
 
702
- | Prop | Type | Default | Description |
703
- | ---- | ---- | ------- | ----------- ||
704
- | `format` | `({ value, formatted }) => string` | | Custom format function of the price. |
705
- | `precision` | `number` | `2` | Default precision of the price. |
706
- | `variant` | `"formatted" | "value"` | `"formatted"` | Default representation of the price value. |
707
- | `...props` | `TextProps` | | Inherits React Native's `Text` props |
874
+ | Prop | Type | Default | Description |
875
+ | ----------- | ---------------------------------- | ------------- | ------------------------------------------ |
876
+ | `format` | `({ value, formatted }) => string` | | Custom format function of the price. |
877
+ | `precision` | `number` | `2` | Default precision of the price. |
878
+ | `variant` | `"formatted"` or `"value"` | `"formatted"` | Default representation of the price value. |
879
+ | `...props` | `TextProps` | | Inherits React Native's `Text` props |
708
880
 
709
881
  ### LineChart.DatetimeText
710
882
 
711
- | Prop | Type | Default | Description |
712
- | ---- | ---- | ------- | ----------- ||
713
- | `format` | `({ value, formatted }) => string` | | Custom format function of the timestamp. |
714
- | `locale` | `string` | `"en-US"` | Locale of the timestamp. |
715
- | `options` | `{}` | | Options to pass to `toLocaleString()`. [Available options are here](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleString) |
716
- | `style` | `{}` | | Style of the price text |
717
- | `variant` | `"formatted" | "value"` | `"formatted"` | Default representation of the timestamp value. |
883
+ | Prop | Type | Default | Description |
884
+ | --------- | ---------------------------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
885
+ | `format` | `({ value, formatted }) => string` | | Custom format function of the timestamp. |
886
+ | `locale` | `string` | `"en-US"` | Locale of the timestamp. |
887
+ | `options` | `{}` | | Options to pass to `toLocaleString()`. [Available options are here](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleString) |
888
+ | `style` | `{}` | | Style of the price text |
889
+ | `variant` | `"formatted"` or `"value"` | `"formatted"` | Default representation of the timestamp value. |
718
890
 
719
891
  ### CandlestickChart.Provider
720
892
 
@@ -745,8 +917,8 @@ You can customize the gutters of the tooltip by providing `cursorGutter`, `xGutt
745
917
  ### CandlestickChart.Crosshair
746
918
 
747
919
  | Prop | Type | Default | Description |
748
- | ------------------ | ------------------------------ | --------- | ------------------------------------------------ | --- |
749
- | `color` | `string` | `"black"` | Color of the crosshair | |
920
+ | ------------------ | ------------------------------ | --------- | ------------------------------------------------ |
921
+ | `color` | `string` | `"black"` | Color of the crosshair |
750
922
  | `onCurrentXChange` | `(xValue: number) => void` | | Callback to invoke when the x coordinate changes |
751
923
  | `...props` | `LongPressGestureHandlerProps` | | |
752
924
 
@@ -761,22 +933,22 @@ You can customize the gutters of the tooltip by providing `cursorGutter`, `xGutt
761
933
 
762
934
  ### CandlestickChart.PriceText
763
935
 
764
- | Prop | Type | Default | Description |
765
- | ---- | ---- | ------- | ----------- ||
766
- | `format` | `({ value, formatted }) => string` | | Custom format function of the price. |
767
- | `precision` | `number` | `2` | Default precision of the price. |
768
- | `variant` | `"formatted" | "value"` | `"formatted"` | Default representation of the price value. |
769
- | `...props` | `TextProps` | | Inherits React Native's `Text` props |
936
+ | Prop | Type | Default | Description |
937
+ | ----------- | ---------------------------------- | ------------- | ------------------------------------------ |
938
+ | `format` | `({ value, formatted }) => string` | | Custom format function of the price. |
939
+ | `precision` | `number` | `2` | Default precision of the price. |
940
+ | `variant` | `"formatted"` or `"value"` | `"formatted"` | Default representation of the price value. |
941
+ | `...props` | `TextProps` | | Inherits React Native's `Text` props |
770
942
 
771
943
  ### CandlestickChart.DatetimeText
772
944
 
773
- | Prop | Type | Default | Description |
774
- | ---- | ---- | ------- | ----------- ||
775
- | `format` | `({ value, formatted }) => string` | | Custom format function of the timestamp. |
776
- | `locale` | `string` | `"en-US"` | Locale of the timestamp. |
777
- | `options` | `{}` | | Options to pass to `toLocaleString()`. [Available options are here](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleString) |
778
- | `style` | `{}` | | Style of the price text |
779
- | `variant` | `"formatted" | "value"` | `"formatted"` | Default representation of the timestamp value. |
945
+ | Prop | Type | Default | Description |
946
+ | --------- | ---------------------------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
947
+ | `format` | `({ value, formatted }) => string` | | Custom format function of the timestamp. |
948
+ | `locale` | `string` | `"en-US"` | Locale of the timestamp. |
949
+ | `options` | `{}` | | Options to pass to `toLocaleString()`. [Available options are here](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleString) |
950
+ | `style` | `{}` | | Style of the price text |
951
+ | `variant` | `"formatted"` or `"value"` | `"formatted"` | Default representation of the timestamp value. |
780
952
 
781
953
  ## Hooks
782
954