@tabler/charts 0.1.0 → 0.3.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.
- package/README.md +92 -4
- package/dist/{annotations-Bp7HwtF5.d.ts → annotations-B02GR_KU.d.ts} +3 -8
- package/dist/{annotations-BszTTjf9.js → annotations-BQ8l-qHs.js} +6 -7
- package/dist/{annotations-BszTTjf9.js.map → annotations-BQ8l-qHs.js.map} +1 -1
- package/dist/{annotations-lyt0I3HU.d.cts → annotations-CHafaGd4.d.cts} +3 -8
- package/dist/{annotations-DpETO8dE.cjs → annotations-CpCWA29b.cjs} +6 -7
- package/dist/{annotations-DpETO8dE.cjs.map → annotations-CpCWA29b.cjs.map} +1 -1
- package/dist/annotations.cjs +3 -5
- package/dist/annotations.cjs.map +1 -1
- package/dist/annotations.d.cts +2 -1
- package/dist/annotations.d.ts +2 -1
- package/dist/annotations.js +3 -4
- package/dist/{arc-a1tRTEw7.js → arc-B3V5IR0w.js} +2 -3
- package/dist/{arc-a1tRTEw7.js.map → arc-B3V5IR0w.js.map} +1 -1
- package/dist/{arc-BXpLrt9b.cjs → arc-CYhI62kO.cjs} +2 -3
- package/dist/{arc-BXpLrt9b.cjs.map → arc-CYhI62kO.cjs.map} +1 -1
- package/dist/{area-CF__HOwL.d.ts → area-DEFQm_SQ.d.ts} +3 -6
- package/dist/{area-sHCE3pg5.cjs → area-DYdQ_sMV.cjs} +5 -6
- package/dist/{area-sHCE3pg5.cjs.map → area-DYdQ_sMV.cjs.map} +1 -1
- package/dist/{area-DQsLERhx.js → area-WdtfqvhX.js} +5 -6
- package/dist/{area-DQsLERhx.js.map → area-WdtfqvhX.js.map} +1 -1
- package/dist/{area-DIxaAbYZ.d.cts → area-h_FvieFb.d.cts} +3 -6
- package/dist/area.cjs +1 -1
- package/dist/area.d.cts +2 -1
- package/dist/area.d.ts +2 -1
- package/dist/area.js +1 -2
- package/dist/axis-MMaVoSWB.js +235 -0
- package/dist/axis-MMaVoSWB.js.map +1 -0
- package/dist/axis-YfAerNBA.cjs +300 -0
- package/dist/axis-YfAerNBA.cjs.map +1 -0
- package/dist/{band-DTcNDAFO.d.ts → band-CNKvdnTC.d.cts} +1 -4
- package/dist/{band-DTcNDAFO.d.cts → band-CNKvdnTC.d.ts} +1 -4
- package/dist/{bar-jZEoao74.js → bar-BOcRcArc.js} +80 -62
- package/dist/bar-BOcRcArc.js.map +1 -0
- package/dist/{bar-C-7zR2qp.cjs → bar-CVkOJ7WA.cjs} +82 -64
- package/dist/bar-CVkOJ7WA.cjs.map +1 -0
- package/dist/{bar-DM16NUvV.js → bar-CgpC2EpX.js} +3 -4
- package/dist/{bar-DM16NUvV.js.map → bar-CgpC2EpX.js.map} +1 -1
- package/dist/{bar-BBM8RhoL.d.ts → bar-D9B_arKf.d.ts} +4 -7
- package/dist/{bar-CRKLDg98.d.cts → bar-DZCQ-kyf.d.cts} +4 -7
- package/dist/{bar-DGuUN3nc.cjs → bar-wVykm1us.cjs} +3 -4
- package/dist/{bar-DGuUN3nc.cjs.map → bar-wVykm1us.cjs.map} +1 -1
- package/dist/bar.cjs +1 -1
- package/dist/bar.d.cts +2 -1
- package/dist/bar.d.ts +2 -1
- package/dist/bar.js +1 -2
- package/dist/calendar-BSvO8nRb.d.cts +106 -0
- package/dist/calendar-BXgIX5H1.js +502 -0
- package/dist/calendar-BXgIX5H1.js.map +1 -0
- package/dist/calendar-Bq3vFzPl.d.ts +106 -0
- package/dist/calendar-DAFXjV99.cjs +507 -0
- package/dist/calendar-DAFXjV99.cjs.map +1 -0
- package/dist/calendar.cjs +3 -0
- package/dist/calendar.d.cts +3 -0
- package/dist/calendar.d.ts +3 -0
- package/dist/calendar.js +1 -0
- package/dist/{candlestick-D_vV0_XZ.d.ts → candlestick-B3WcLzph.d.ts} +3 -6
- package/dist/{candlestick-__pXl_pV.d.cts → candlestick-BcomxeVG.d.cts} +3 -6
- package/dist/{candlestick-DuXwAFID.js → candlestick-BtT9glp9.js} +19 -18
- package/dist/{candlestick-DuXwAFID.js.map → candlestick-BtT9glp9.js.map} +1 -1
- package/dist/{candlestick-B5r1w3kc.cjs → candlestick-CSmRuZ4v.cjs} +19 -18
- package/dist/{candlestick-B5r1w3kc.cjs.map → candlestick-CSmRuZ4v.cjs.map} +1 -1
- package/dist/candlestick.cjs +4 -5
- package/dist/candlestick.d.cts +1 -1
- package/dist/candlestick.d.ts +1 -1
- package/dist/candlestick.js +4 -6
- package/dist/{cartesian-Cr0AF0nG.js → cartesian-BrPqb5Qn.js} +138 -264
- package/dist/cartesian-BrPqb5Qn.js.map +1 -0
- package/dist/{cartesian-BoDfgBCV.cjs → cartesian-DRSXHxWe.cjs} +162 -324
- package/dist/cartesian-DRSXHxWe.cjs.map +1 -0
- package/dist/{chart-BF2CK9I_.js → chart-B6TTY4Kr.js} +120 -77
- package/dist/chart-B6TTY4Kr.js.map +1 -0
- package/dist/{chart-DyN7bcx8.d.ts → chart-CYrrUCi3.d.ts} +222 -102
- package/dist/{chart-D7ooEFnk.d.cts → chart-CbPzP5Dp.d.cts} +248 -102
- package/dist/{chart-CowF_lWY.cjs → chart-D_lyOy-M.cjs} +132 -83
- package/dist/chart-D_lyOy-M.cjs.map +1 -0
- package/dist/{circle-BQMuAfls.cjs → circle-Bwxy5j7B.cjs} +2 -3
- package/dist/{circle-BQMuAfls.cjs.map → circle-Bwxy5j7B.cjs.map} +1 -1
- package/dist/{circle-Z7YfCoCM.js → circle-YRDaOBpk.js} +2 -3
- package/dist/{circle-Z7YfCoCM.js.map → circle-YRDaOBpk.js.map} +1 -1
- package/dist/{clean-o1vDEhFV.js → clean-CkoQobGv.js} +3 -4
- package/dist/{clean-o1vDEhFV.js.map → clean-CkoQobGv.js.map} +1 -1
- package/dist/{clean-Byl6kzf0.cjs → clean-Die2iCNc.cjs} +8 -3
- package/dist/{clean-Byl6kzf0.cjs.map → clean-Die2iCNc.cjs.map} +1 -1
- package/dist/{core-D1vO1LrC.d.cts → core-9BnLEW4K.d.cts} +31 -72
- package/dist/{core-DcbemzGf.d.ts → core-C3qEppSm.d.ts} +10 -46
- package/dist/{core-CegR_j55.js → core-CQ0FaJ4G.js} +138 -99
- package/dist/core-CQ0FaJ4G.js.map +1 -0
- package/dist/{core-RzS9IQO5.cjs → core-D2PSked3.cjs} +139 -100
- package/dist/core-D2PSked3.cjs.map +1 -0
- package/dist/core.cjs +47 -33
- package/dist/core.d.cts +26 -21
- package/dist/core.d.ts +26 -21
- package/dist/core.js +31 -25
- package/dist/{dates-CG-FvioW.js → dates-DLe2Ww64.js} +4 -5
- package/dist/{dates-CG-FvioW.js.map → dates-DLe2Ww64.js.map} +1 -1
- package/dist/{dates-Btm7Zm6W.cjs → dates-DerXTb1J.cjs} +4 -5
- package/dist/{dates-Btm7Zm6W.cjs.map → dates-DerXTb1J.cjs.map} +1 -1
- package/dist/{decimate-tLhDk1ys.cjs → decimate-BS3x8g-f.cjs} +2 -3
- package/dist/{decimate-tLhDk1ys.cjs.map → decimate-BS3x8g-f.cjs.map} +1 -1
- package/dist/{decimate-BGg9XgF0.d.ts → decimate-BxxYBJJk.d.cts} +2 -5
- package/dist/{decimate-C87cl_Sp.js → decimate-CapfgiDY.js} +2 -3
- package/dist/{decimate-C87cl_Sp.js.map → decimate-CapfgiDY.js.map} +1 -1
- package/dist/{decimate-CNSpgGa5.d.cts → decimate-Du87fMLG.d.ts} +2 -5
- package/dist/decimate.cjs +3 -4
- package/dist/decimate.d.cts +1 -1
- package/dist/decimate.d.ts +1 -1
- package/dist/decimate.js +3 -4
- package/dist/{dom-CLF868Qs.cjs → dom-C33zvtPo.cjs} +5 -11
- package/dist/dom-C33zvtPo.cjs.map +1 -0
- package/dist/{dom-vP3IcMak.js → dom-CTse6Rvd.js} +5 -11
- package/dist/dom-CTse6Rvd.js.map +1 -0
- package/dist/{export-chart-BhhYgksr.cjs → export-chart-CPtXmZvi.cjs} +18 -14
- package/dist/export-chart-CPtXmZvi.cjs.map +1 -0
- package/dist/{export-chart-9w8t3rjZ.js → export-chart-DoeiAyR2.js} +18 -14
- package/dist/export-chart-DoeiAyR2.js.map +1 -0
- package/dist/export.cjs +3 -5
- package/dist/export.cjs.map +1 -1
- package/dist/export.d.cts +8 -1
- package/dist/export.d.ts +8 -1
- package/dist/export.js +3 -4
- package/dist/{extent-BAMZo0Nq.js → extent-DOV8rs-6.js} +2 -3
- package/dist/{extent-BAMZo0Nq.js.map → extent-DOV8rs-6.js.map} +1 -1
- package/dist/{extent-DsFWvAHJ.cjs → extent-DuYDcvM9.cjs} +2 -3
- package/dist/{extent-DsFWvAHJ.cjs.map → extent-DuYDcvM9.cjs.map} +1 -1
- package/dist/{fade-D3NxH5Qg.js → fade-CDrQjnDz.js} +59 -83
- package/dist/fade-CDrQjnDz.js.map +1 -0
- package/dist/{fade-Cs74puQS.cjs → fade-CRqcKMWY.cjs} +59 -83
- package/dist/fade-CRqcKMWY.cjs.map +1 -0
- package/dist/{features-wASyHGic.js → features-B55rwpQC.js} +5 -4
- package/dist/features-B55rwpQC.js.map +1 -0
- package/dist/{features-BclHgg2W.cjs → features-DEDP5CEQ.cjs} +10 -3
- package/dist/features-DEDP5CEQ.cjs.map +1 -0
- package/dist/fit-BPyPRnsK.js +16 -0
- package/dist/fit-BPyPRnsK.js.map +1 -0
- package/dist/fit-D4MIIQQz.cjs +21 -0
- package/dist/fit-D4MIIQQz.cjs.map +1 -0
- package/dist/{format-B0yKXBTH.cjs → format-CAE5ruy6.cjs} +2 -3
- package/dist/{format-B0yKXBTH.cjs.map → format-CAE5ruy6.cjs.map} +1 -1
- package/dist/{format-lStwuc1L.js → format-it1kepFG.js} +2 -3
- package/dist/{format-lStwuc1L.js.map → format-it1kepFG.js.map} +1 -1
- package/dist/funnel-BdcfUkb5.d.ts +50 -0
- package/dist/funnel-CFEEulw_.cjs +244 -0
- package/dist/funnel-CFEEulw_.cjs.map +1 -0
- package/dist/funnel-CYCv8cq2.js +239 -0
- package/dist/funnel-CYCv8cq2.js.map +1 -0
- package/dist/funnel-CarOh8w_.d.cts +50 -0
- package/dist/funnel.cjs +3 -0
- package/dist/funnel.d.cts +3 -0
- package/dist/funnel.d.ts +3 -0
- package/dist/funnel.js +1 -0
- package/dist/{gauge-D-FYhuds.cjs → gauge-6HfDcLMJ.cjs} +35 -36
- package/dist/gauge-6HfDcLMJ.cjs.map +1 -0
- package/dist/{gauge-Dh423FHh.js → gauge-DiTk5aWO.js} +35 -36
- package/dist/gauge-DiTk5aWO.js.map +1 -0
- package/dist/{gauge-zpia05t2.d.ts → gauge-Ds9k1UV2.d.cts} +5 -8
- package/dist/{gauge-DP_EB2z3.d.cts → gauge-Zy25jfps.d.ts} +5 -8
- package/dist/gauge.cjs +1 -1
- package/dist/gauge.d.cts +2 -1
- package/dist/gauge.d.ts +2 -1
- package/dist/gauge.js +1 -2
- package/dist/{heatmap-DSZ2bVIa.js → heatmap-C1v8bwpq.js} +43 -43
- package/dist/heatmap-C1v8bwpq.js.map +1 -0
- package/dist/{heatmap-BectCEeE.d.ts → heatmap-CJ-0dfhJ.d.cts} +4 -7
- package/dist/{heatmap-BK18EBgJ.cjs → heatmap-Dcc_bsoQ.cjs} +47 -47
- package/dist/heatmap-Dcc_bsoQ.cjs.map +1 -0
- package/dist/{heatmap-CCso6m61.d.cts → heatmap-Jp5sHRTo.d.ts} +4 -7
- package/dist/heatmap.cjs +1 -1
- package/dist/heatmap.d.cts +2 -1
- package/dist/heatmap.d.ts +2 -1
- package/dist/heatmap.js +1 -2
- package/dist/{hydrate-DDNIHYv_.js → hydrate-BB3MlR36.js} +3 -4
- package/dist/{hydrate-DDNIHYv_.js.map → hydrate-BB3MlR36.js.map} +1 -1
- package/dist/{hydrate-CzfxLfTv.d.ts → hydrate-BtAZf_5K.d.cts} +2 -5
- package/dist/{hydrate-CTTmQy0x.d.cts → hydrate-OjM1pIUG.d.ts} +2 -5
- package/dist/{hydrate-CxwTXDqO.cjs → hydrate-m0I5m6ue.cjs} +3 -4
- package/dist/hydrate-m0I5m6ue.cjs.map +1 -0
- package/dist/hydrate.cjs +3 -4
- package/dist/hydrate.cjs.map +1 -1
- package/dist/hydrate.d.cts +1 -1
- package/dist/hydrate.d.ts +1 -1
- package/dist/hydrate.js +3 -4
- package/dist/index.cjs +72 -56
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +28 -28
- package/dist/index.d.ts +28 -28
- package/dist/index.js +52 -44
- package/dist/index.js.map +1 -1
- package/dist/interaction-DXYSjgnP.cjs +32 -0
- package/dist/interaction-DXYSjgnP.cjs.map +1 -0
- package/dist/interaction-En1KlwFO.js +21 -0
- package/dist/interaction-En1KlwFO.js.map +1 -0
- package/dist/{layout-CtMBhNd9.cjs → layout-Cfg9x1k2.cjs} +45 -3
- package/dist/layout-Cfg9x1k2.cjs.map +1 -0
- package/dist/{layout-B3hiqVEw.js → layout-DqAte3H8.js} +34 -4
- package/dist/layout-DqAte3H8.js.map +1 -0
- package/dist/{line-CN4uZ9ZX.d.ts → line-Bpr5uVLQ.d.ts} +4 -7
- package/dist/{line-B3Ed6u7j.js → line-CxR4tg1Q.js} +49 -38
- package/dist/line-CxR4tg1Q.js.map +1 -0
- package/dist/{line-fQbtP_jL.cjs → line-YiCuhVMI.cjs} +49 -38
- package/dist/line-YiCuhVMI.cjs.map +1 -0
- package/dist/{line-W7VD_qs1.d.cts → line-vyWO030v.d.cts} +4 -7
- package/dist/line.cjs +4 -5
- package/dist/line.cjs.map +1 -1
- package/dist/line.d.cts +1 -1
- package/dist/line.d.ts +1 -1
- package/dist/line.js +4 -6
- package/dist/{log-CaofN3-n.d.ts → log-CI41TmcU.d.cts} +1 -6
- package/dist/{log-CaofN3-n.d.cts → log-CI41TmcU.d.ts} +1 -6
- package/dist/{log-axis-83rSpvL5.cjs → log-axis-DdRNyAq8.cjs} +6 -8
- package/dist/{log-axis-83rSpvL5.cjs.map → log-axis-DdRNyAq8.cjs.map} +1 -1
- package/dist/{log-axis-B_uvvOFc.js → log-axis-DhthtHFk.js} +6 -8
- package/dist/{log-axis-B_uvvOFc.js.map → log-axis-DhthtHFk.js.map} +1 -1
- package/dist/log.cjs +3 -5
- package/dist/log.cjs.map +1 -1
- package/dist/log.d.cts +1 -1
- package/dist/log.d.ts +1 -1
- package/dist/log.js +3 -4
- package/dist/map-49FcfdmJ.d.cts +156 -0
- package/dist/map-BMC61J-P.d.ts +156 -0
- package/dist/map-BqrZ80vT.cjs +818 -0
- package/dist/map-BqrZ80vT.cjs.map +1 -0
- package/dist/map-C15NC7kW.js +807 -0
- package/dist/map-C15NC7kW.js.map +1 -0
- package/dist/map.cjs +4 -0
- package/dist/map.d.cts +3 -0
- package/dist/map.d.ts +3 -0
- package/dist/map.js +1 -0
- package/dist/maps/world.cjs +875 -0
- package/dist/maps/world.cjs.map +1 -0
- package/dist/maps/world.d.cts +2 -0
- package/dist/maps/world.d.ts +2 -0
- package/dist/maps/world.js +874 -0
- package/dist/maps/world.js.map +1 -0
- package/dist/{morph-CqYDu1bY.cjs → morph-3I1Nf_tR.cjs} +4 -5
- package/dist/morph-3I1Nf_tR.cjs.map +1 -0
- package/dist/{morph-BMxz3X2b.d.ts → morph-Dh7gJkV4.d.cts} +1 -4
- package/dist/{morph-BMxz3X2b.d.cts → morph-Dh7gJkV4.d.ts} +1 -4
- package/dist/{morph-Bgg-24l8.js → morph-GfBab-b3.js} +4 -5
- package/dist/{morph-Bgg-24l8.js.map → morph-GfBab-b3.js.map} +1 -1
- package/dist/morph.cjs +3 -4
- package/dist/morph.cjs.map +1 -1
- package/dist/morph.d.cts +1 -1
- package/dist/morph.d.ts +1 -1
- package/dist/morph.js +3 -4
- package/dist/{named-BWWb5LQJ.cjs → named-BBASc8dW.cjs} +2 -3
- package/dist/{named-BWWb5LQJ.cjs.map → named-BBASc8dW.cjs.map} +1 -1
- package/dist/{named-DE15TOgh.js → named-BOiBah6I.js} +2 -3
- package/dist/{named-DE15TOgh.js.map → named-BOiBah6I.js.map} +1 -1
- package/dist/others-DBIGE6jr.js +57 -0
- package/dist/others-DBIGE6jr.js.map +1 -0
- package/dist/others-DBO4Kjwl.d.ts +29 -0
- package/dist/others-WfjCsjqT.cjs +68 -0
- package/dist/others-WfjCsjqT.cjs.map +1 -0
- package/dist/others-ls5eKtZ4.d.cts +31 -0
- package/dist/{parliament-Dw0sOERi.js → parliament-BKN6ikBJ.js} +36 -36
- package/dist/parliament-BKN6ikBJ.js.map +1 -0
- package/dist/{parliament-1Zv2Xh0D.d.ts → parliament-C7V8UJj1.d.cts} +5 -8
- package/dist/{parliament-DdrLVZwt.d.cts → parliament-Cz9n_DoK.d.ts} +5 -8
- package/dist/{parliament-CpWnoEvG.cjs → parliament-DhxAaIZ3.cjs} +36 -36
- package/dist/parliament-DhxAaIZ3.cjs.map +1 -0
- package/dist/parliament.cjs +1 -1
- package/dist/parliament.d.cts +2 -1
- package/dist/parliament.d.ts +2 -1
- package/dist/parliament.js +1 -2
- package/dist/{path-CwB28da0.d.ts → path-YeUiOfG8.d.cts} +1 -4
- package/dist/{path-CwB28da0.d.cts → path-YeUiOfG8.d.ts} +1 -4
- package/dist/{patterns-DtgcnA8o.js → patterns-BMUINoka.js} +4 -5
- package/dist/{patterns-DtgcnA8o.js.map → patterns-BMUINoka.js.map} +1 -1
- package/dist/{patterns-LfcQAWCy.cjs → patterns-Dw7OMD_2.cjs} +4 -5
- package/dist/{patterns-LfcQAWCy.cjs.map → patterns-Dw7OMD_2.cjs.map} +1 -1
- package/dist/patterns.cjs +3 -5
- package/dist/patterns.cjs.map +1 -1
- package/dist/patterns.d.cts +5 -1
- package/dist/patterns.d.ts +5 -1
- package/dist/patterns.js +3 -4
- package/dist/percentage-bar-BChkTRoz.cjs +164 -0
- package/dist/percentage-bar-BChkTRoz.cjs.map +1 -0
- package/dist/percentage-bar-CaInxrL8.js +159 -0
- package/dist/percentage-bar-CaInxrL8.js.map +1 -0
- package/dist/percentage-bar-R1--2grK.d.cts +58 -0
- package/dist/percentage-bar-cSeiLdwU.d.ts +58 -0
- package/dist/percentage-bar.cjs +3 -0
- package/dist/percentage-bar.d.cts +3 -0
- package/dist/percentage-bar.d.ts +3 -0
- package/dist/percentage-bar.js +1 -0
- package/dist/{pie-BF9yI5mE.d.cts → pie-BQQkvy1N.d.ts} +11 -11
- package/dist/{pie-DzUXDTcn.js → pie-Bd8wyrtY.js} +52 -55
- package/dist/pie-Bd8wyrtY.js.map +1 -0
- package/dist/{pie-BxTZt6Go.cjs → pie-BseZlCgP.cjs} +52 -55
- package/dist/pie-BseZlCgP.cjs.map +1 -0
- package/dist/{pie-5z1fDdKO.d.ts → pie-vD5-g8je.d.cts} +11 -11
- package/dist/pie.cjs +1 -1
- package/dist/pie.d.cts +2 -1
- package/dist/pie.d.ts +2 -1
- package/dist/pie.js +1 -2
- package/dist/{point-shapes-CGl4dugc.cjs → point-shapes-BRawRM78.cjs} +24 -24
- package/dist/point-shapes-BRawRM78.cjs.map +1 -0
- package/dist/{point-shapes-DI84NNpI.js → point-shapes-DI6GhcI7.js} +19 -25
- package/dist/point-shapes-DI6GhcI7.js.map +1 -0
- package/dist/point-shapes.cjs +7 -6
- package/dist/point-shapes.cjs.map +1 -1
- package/dist/point-shapes.d.cts +6 -2
- package/dist/point-shapes.d.ts +6 -2
- package/dist/point-shapes.js +8 -7
- package/dist/point-shapes.js.map +1 -1
- package/dist/{radar-1-EryihA.d.ts → radar-7I6hsY_h.d.cts} +4 -7
- package/dist/{radar-CYPab_I4.js → radar-D6XqkFWQ.js} +25 -27
- package/dist/radar-D6XqkFWQ.js.map +1 -0
- package/dist/{radar-CoGUNNSb.cjs → radar-DjISDnSf.cjs} +26 -28
- package/dist/radar-DjISDnSf.cjs.map +1 -0
- package/dist/{radar-DBW4O0Vt.d.cts → radar-vLxilcr4.d.ts} +4 -7
- package/dist/radar.cjs +1 -1
- package/dist/radar.d.cts +2 -1
- package/dist/radar.d.ts +2 -1
- package/dist/radar.js +1 -2
- package/dist/rect-CZTNvMlf.js +11 -0
- package/dist/rect-CZTNvMlf.js.map +1 -0
- package/dist/rect-DPr9QRxl.cjs +16 -0
- package/dist/rect-DPr9QRxl.cjs.map +1 -0
- package/dist/{sankey-Bacx4fVe.cjs → sankey-0CSp_Er9.cjs} +100 -95
- package/dist/sankey-0CSp_Er9.cjs.map +1 -0
- package/dist/{sankey-OV_WoPrl.d.ts → sankey-7As41Fo4.d.ts} +4 -7
- package/dist/{sankey-B4PNKusJ.js → sankey-Dp4CuLVe.js} +100 -95
- package/dist/sankey-Dp4CuLVe.js.map +1 -0
- package/dist/{sankey-DuGI3Qc5.d.cts → sankey-DqiuxUx7.d.cts} +4 -7
- package/dist/sankey.cjs +1 -1
- package/dist/sankey.d.cts +2 -1
- package/dist/sankey.d.ts +2 -1
- package/dist/sankey.js +1 -2
- package/dist/{scatter-DbxLyZX0.d.cts → scatter-BXkXGgM_.d.ts} +14 -9
- package/dist/{scatter-DgMN9zRy.cjs → scatter-Bwkblr4L.cjs} +47 -42
- package/dist/scatter-Bwkblr4L.cjs.map +1 -0
- package/dist/{scatter-kgtgR318.js → scatter-DCMAtt5L.js} +45 -40
- package/dist/scatter-DCMAtt5L.js.map +1 -0
- package/dist/{scatter-BqzgJqdX.d.ts → scatter-DL0zAV09.d.cts} +14 -9
- package/dist/scatter.cjs +1 -1
- package/dist/scatter.d.cts +2 -1
- package/dist/scatter.d.ts +2 -1
- package/dist/scatter.js +1 -2
- package/dist/{sparkline-BfyO_oNM.d.ts → sparkline-BElUSd0r.d.ts} +5 -8
- package/dist/{sparkline-BS9-hltA.cjs → sparkline-BMSuEPHP.cjs} +22 -23
- package/dist/sparkline-BMSuEPHP.cjs.map +1 -0
- package/dist/{sparkline-BQzt27Fr.js → sparkline-NDmq90kP.js} +22 -23
- package/dist/sparkline-NDmq90kP.js.map +1 -0
- package/dist/{sparkline-CWlJDKyh.d.cts → sparkline-RYly7bR0.d.cts} +5 -8
- package/dist/sparkline.cjs +1 -1
- package/dist/sparkline.d.cts +2 -1
- package/dist/sparkline.d.ts +2 -1
- package/dist/sparkline.js +1 -2
- package/dist/{stack-DVhJWaki.cjs → stack-BO4624CY.cjs} +3 -4
- package/dist/{stack-DVhJWaki.cjs.map → stack-BO4624CY.cjs.map} +1 -1
- package/dist/{stack-CpR6RGKd.d.ts → stack-BTWYIwLO.d.cts} +2 -4
- package/dist/{stack-CpR6RGKd.d.cts → stack-DR0eQTsB.d.ts} +1 -4
- package/dist/{stack-DRbwTeF3.js → stack-jVKvg2x_.js} +3 -4
- package/dist/{stack-DRbwTeF3.js.map → stack-jVKvg2x_.js.map} +1 -1
- package/dist/style.css +1 -1
- package/dist/{sweep-CbfR7--d.js → sweep-BpRPlhs6.js} +5 -6
- package/dist/{sweep-CbfR7--d.js.map → sweep-BpRPlhs6.js.map} +1 -1
- package/dist/{sweep-DaTEDDuC.cjs → sweep-Dnp6LDBz.cjs} +5 -6
- package/dist/sweep-Dnp6LDBz.cjs.map +1 -0
- package/dist/{time-CNVnt-B2.d.cts → time-B4oxWHQI.d.cts} +2 -7
- package/dist/{time-CHjiY9Q4.d.ts → time-DRIDgv2a.d.ts} +2 -7
- package/dist/{time-axis-VSX34_Tb.cjs → time-axis-B3VekUfX.cjs} +11 -11
- package/dist/{time-axis-VSX34_Tb.cjs.map → time-axis-B3VekUfX.cjs.map} +1 -1
- package/dist/{time-axis-Bc9eHX1r.js → time-axis-CLjqOakA.js} +10 -10
- package/dist/{time-axis-Bc9eHX1r.js.map → time-axis-CLjqOakA.js.map} +1 -1
- package/dist/time.cjs +4 -6
- package/dist/time.cjs.map +1 -1
- package/dist/time.d.cts +1 -1
- package/dist/time.d.ts +1 -1
- package/dist/time.js +4 -5
- package/dist/treemap-25vHO_UK.d.cts +65 -0
- package/dist/treemap-BCXUbixd.d.ts +65 -0
- package/dist/treemap-C4glsx-g.js +293 -0
- package/dist/treemap-C4glsx-g.js.map +1 -0
- package/dist/treemap-CZk8kKFD.cjs +298 -0
- package/dist/treemap-CZk8kKFD.cjs.map +1 -0
- package/dist/treemap.cjs +3 -0
- package/dist/treemap.d.cts +3 -0
- package/dist/treemap.d.ts +3 -0
- package/dist/treemap.js +1 -0
- package/dist/{tween-BCYd0RTY.js → tween-BdQqUmmv.js} +2 -3
- package/dist/{tween-BCYd0RTY.js.map → tween-BdQqUmmv.js.map} +1 -1
- package/dist/{tween-CIGBlryn.cjs → tween-c3aOmfKE.cjs} +2 -3
- package/dist/{tween-CIGBlryn.cjs.map → tween-c3aOmfKE.cjs.map} +1 -1
- package/dist/{value-labels-IZIQPhfk.js → value-labels-C7GrhOXJ.js} +30 -10
- package/dist/value-labels-C7GrhOXJ.js.map +1 -0
- package/dist/{value-labels-B0WJoJ7x.cjs → value-labels-DzaKIWKp.cjs} +30 -10
- package/dist/value-labels-DzaKIWKp.cjs.map +1 -0
- package/dist/value-labels.cjs +3 -5
- package/dist/value-labels.cjs.map +1 -1
- package/dist/value-labels.d.cts +5 -1
- package/dist/value-labels.d.ts +5 -1
- package/dist/value-labels.js +3 -4
- package/dist/{vnode-CkQ27Cxe.cjs → vnode-ClAiw28x.cjs} +2 -3
- package/dist/{vnode-CkQ27Cxe.cjs.map → vnode-ClAiw28x.cjs.map} +1 -1
- package/dist/{vnode-BUflsBsa.d.ts → vnode-Du2cC8Fm.d.cts} +1 -4
- package/dist/{vnode-BUflsBsa.d.cts → vnode-Du2cC8Fm.d.ts} +1 -4
- package/dist/{vnode-tCWItoUH.js → vnode-_EMUqysL.js} +2 -3
- package/dist/{vnode-tCWItoUH.js.map → vnode-_EMUqysL.js.map} +1 -1
- package/package.json +94 -214
- package/dist/bar-C-7zR2qp.cjs.map +0 -1
- package/dist/bar-jZEoao74.js.map +0 -1
- package/dist/cartesian-BoDfgBCV.cjs.map +0 -1
- package/dist/cartesian-Cr0AF0nG.js.map +0 -1
- package/dist/chart-BF2CK9I_.js.map +0 -1
- package/dist/chart-CowF_lWY.cjs.map +0 -1
- package/dist/core-CegR_j55.js.map +0 -1
- package/dist/core-RzS9IQO5.cjs.map +0 -1
- package/dist/dom-CLF868Qs.cjs.map +0 -1
- package/dist/dom-vP3IcMak.js.map +0 -1
- package/dist/export-chart-9w8t3rjZ.js.map +0 -1
- package/dist/export-chart-BhhYgksr.cjs.map +0 -1
- package/dist/fade-Cs74puQS.cjs.map +0 -1
- package/dist/fade-D3NxH5Qg.js.map +0 -1
- package/dist/features-BclHgg2W.cjs.map +0 -1
- package/dist/features-wASyHGic.js.map +0 -1
- package/dist/gauge-D-FYhuds.cjs.map +0 -1
- package/dist/gauge-Dh423FHh.js.map +0 -1
- package/dist/heatmap-BK18EBgJ.cjs.map +0 -1
- package/dist/heatmap-DSZ2bVIa.js.map +0 -1
- package/dist/hydrate-CxwTXDqO.cjs.map +0 -1
- package/dist/layout-B3hiqVEw.js.map +0 -1
- package/dist/layout-CtMBhNd9.cjs.map +0 -1
- package/dist/line-B3Ed6u7j.js.map +0 -1
- package/dist/line-fQbtP_jL.cjs.map +0 -1
- package/dist/morph-CqYDu1bY.cjs.map +0 -1
- package/dist/parliament-CpWnoEvG.cjs.map +0 -1
- package/dist/parliament-Dw0sOERi.js.map +0 -1
- package/dist/pie-BxTZt6Go.cjs.map +0 -1
- package/dist/pie-DzUXDTcn.js.map +0 -1
- package/dist/point-shapes-CGl4dugc.cjs.map +0 -1
- package/dist/point-shapes-DI84NNpI.js.map +0 -1
- package/dist/radar-CYPab_I4.js.map +0 -1
- package/dist/radar-CoGUNNSb.cjs.map +0 -1
- package/dist/sankey-B4PNKusJ.js.map +0 -1
- package/dist/sankey-Bacx4fVe.cjs.map +0 -1
- package/dist/scatter-DgMN9zRy.cjs.map +0 -1
- package/dist/scatter-kgtgR318.js.map +0 -1
- package/dist/sparkline-BQzt27Fr.js.map +0 -1
- package/dist/sparkline-BS9-hltA.cjs.map +0 -1
- package/dist/sweep-DaTEDDuC.cjs.map +0 -1
- package/dist/value-labels-B0WJoJ7x.cjs.map +0 -1
- package/dist/value-labels-IZIQPhfk.js.map +0 -1
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { a as InsetsInput, n as annotationLayers, r as annotationValues, s as Rect, t as Annotation } from "./annotations-
|
|
2
|
-
import { n as
|
|
3
|
-
import { a as
|
|
4
|
-
import {
|
|
5
|
-
import { n as log, r as LinearScale } from "./log-
|
|
6
|
-
import { t as hydrate } from "./hydrate-
|
|
7
|
-
import { t as morph } from "./morph-
|
|
8
|
-
import { a as linePath, i as areaPath, r as Point } from "./path-
|
|
9
|
-
//#region src/interaction.d.ts
|
|
1
|
+
import { a as InsetsInput, n as annotationLayers, r as annotationValues, s as Rect, t as Annotation } from "./annotations-B02GR_KU.js";
|
|
2
|
+
import { a as ClassValue, i as ChildInput, l as VNode, n as Attrs, s as Props } from "./vnode-Du2cC8Fm.js";
|
|
3
|
+
import { a as timePointScale, c as NumberFormat, i as time, s as Locale } from "./time-DRIDgv2a.js";
|
|
4
|
+
import { n as BandScale, t as BandKey } from "./band-CNKvdnTC.js";
|
|
5
|
+
import { n as log, r as LinearScale } from "./log-CI41TmcU.js";
|
|
6
|
+
import { t as hydrate } from "./hydrate-OjM1pIUG.js";
|
|
7
|
+
import { t as morph } from "./morph-Dh7gJkV4.js";
|
|
8
|
+
import { a as linePath, i as areaPath, r as Point } from "./path-YeUiOfG8.js";
|
|
10
9
|
/** One series' value at a hovered position. */
|
|
11
10
|
interface HitItem {
|
|
12
11
|
/** Series name. */
|
|
@@ -40,37 +39,46 @@ interface Hit {
|
|
|
40
39
|
axis?: "x" | "y";
|
|
41
40
|
/** Center of the category along y, when categories run along y. */
|
|
42
41
|
y?: number;
|
|
43
|
-
/** The category's band in chart pixels, for band scales (bars). */
|
|
44
|
-
band?: {
|
|
45
|
-
x: number;
|
|
46
|
-
y: number;
|
|
47
|
-
width: number;
|
|
48
|
-
height: number;
|
|
49
|
-
};
|
|
50
42
|
/** Every series' value at this category. */
|
|
51
43
|
items: HitItem[];
|
|
52
44
|
/** Series of the mark directly under the pointer (e.g. a bar), if any. */
|
|
53
45
|
seriesIndex?: number;
|
|
54
|
-
/**
|
|
55
|
-
|
|
56
|
-
* spoke). Tooltips from the keyboard then anchor on the value itself.
|
|
57
|
-
*/
|
|
58
|
-
guide?: {
|
|
59
|
-
x1: number;
|
|
60
|
-
y1: number;
|
|
61
|
-
x2: number;
|
|
62
|
-
y2: number;
|
|
63
|
-
};
|
|
64
|
-
/**
|
|
65
|
-
* A shape to highlight instead of a crosshair or band (e.g. a halo around a
|
|
66
|
-
* pie slice): path data `d`, drawn translated by `x` / `y`.
|
|
67
|
-
*/
|
|
68
|
-
mark?: {
|
|
69
|
-
d: string;
|
|
70
|
-
x: number;
|
|
71
|
-
y: number;
|
|
72
|
-
};
|
|
46
|
+
/** The shape that marks the hit; a crosshair when left out. */
|
|
47
|
+
highlight?: Highlight;
|
|
73
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* The one shape drawn to mark a hit, in chart pixels:
|
|
51
|
+
*
|
|
52
|
+
* - `crosshair`: a vertical line through the category across the plot, and
|
|
53
|
+
* a dot on every value (point charts);
|
|
54
|
+
* - `band`: the category's band behind the series (bars);
|
|
55
|
+
* - `spoke`: a line from `x1, y1` to `x2, y2` (a radar spoke), and a dot on
|
|
56
|
+
* every value; keyboard tooltips anchor on the value itself;
|
|
57
|
+
* - `halo`: path data `d` drawn translated by `x` / `y` in the color of the
|
|
58
|
+
* hit's series (a ring around a pie slice); `under` draws it below the
|
|
59
|
+
* chart instead of above, so it never covers the labels.
|
|
60
|
+
*/
|
|
61
|
+
type Highlight = {
|
|
62
|
+
kind: "crosshair";
|
|
63
|
+
} | {
|
|
64
|
+
kind: "band";
|
|
65
|
+
x: number;
|
|
66
|
+
y: number;
|
|
67
|
+
width: number;
|
|
68
|
+
height: number;
|
|
69
|
+
} | {
|
|
70
|
+
kind: "spoke";
|
|
71
|
+
x1: number;
|
|
72
|
+
y1: number;
|
|
73
|
+
x2: number;
|
|
74
|
+
y2: number;
|
|
75
|
+
} | {
|
|
76
|
+
kind: "halo";
|
|
77
|
+
d: string;
|
|
78
|
+
x?: number;
|
|
79
|
+
y?: number;
|
|
80
|
+
under?: boolean;
|
|
81
|
+
};
|
|
74
82
|
/** Maps a point in chart pixels to what lies there. */
|
|
75
83
|
type HitTester = (x: number, y: number) => Hit | null;
|
|
76
84
|
/** How a rendered chart answers pointer and keyboard interaction. */
|
|
@@ -81,9 +89,14 @@ interface Interaction {
|
|
|
81
89
|
hitIndex(index: number, seriesIndex?: number): Hit | null;
|
|
82
90
|
/** Number of categories. */
|
|
83
91
|
count: number;
|
|
92
|
+
/**
|
|
93
|
+
* Categories fill a grid column by column, this many to a column (the days
|
|
94
|
+
* of a calendar in weeks): left and right move by a column, up and down by one.
|
|
95
|
+
*/
|
|
96
|
+
rows?: number;
|
|
97
|
+
/** Categories run from the right: the left arrow key goes to the next one. */
|
|
98
|
+
reversed?: boolean;
|
|
84
99
|
}
|
|
85
|
-
//#endregion
|
|
86
|
-
//#region src/a11y.d.ts
|
|
87
100
|
/** The data behind a chart as text: header cells and one row per category. */
|
|
88
101
|
interface DataTable {
|
|
89
102
|
/** Column headers; the first one labels the row headers (may be empty). */
|
|
@@ -100,8 +113,6 @@ interface DataTable {
|
|
|
100
113
|
declare function tableContent(table: DataTable, caption?: string): VNode;
|
|
101
114
|
/** Short sentence describing a hit, announced during keyboard navigation. */
|
|
102
115
|
declare function describeHit(hit: Hit): string;
|
|
103
|
-
//#endregion
|
|
104
|
-
//#region src/components/axis.d.ts
|
|
105
116
|
type AxisPosition = "top" | "right" | "bottom" | "left";
|
|
106
117
|
/** A single axis tick: its data value, pixel position along the axis and label. */
|
|
107
118
|
interface Tick {
|
|
@@ -148,8 +159,6 @@ declare function axisSize(position: AxisPosition, ticks: readonly Tick[], fontSi
|
|
|
148
159
|
* transition when the scale changes.
|
|
149
160
|
*/
|
|
150
161
|
declare function axis(options: AxisOptions): VNode;
|
|
151
|
-
//#endregion
|
|
152
|
-
//#region src/charts/cartesian.d.ts
|
|
153
162
|
/** Category label on the x axis. */
|
|
154
163
|
type Label = string | number | Date;
|
|
155
164
|
/** One data series. `null` values are gaps. */
|
|
@@ -179,10 +188,23 @@ interface Series {
|
|
|
179
188
|
* (`@tabler/charts/line`, or `@tabler/charts`). Defaults to `'bar'`.
|
|
180
189
|
*/
|
|
181
190
|
type?: "bar" | "line" | "area";
|
|
191
|
+
/**
|
|
192
|
+
* Value axis of the series: `'y2'` draws it against the second axis
|
|
193
|
+
* (options in `y2`), on the right of the plot (on the left in a
|
|
194
|
+
* right-to-left chart), and leaves it out of stacks. Line, area and
|
|
195
|
+
* vertical bar charts. Defaults to `'y'`.
|
|
196
|
+
*/
|
|
197
|
+
axis?: "y" | "y2";
|
|
182
198
|
/** Extra classes on the series group. */
|
|
183
199
|
class?: ClassValue;
|
|
184
200
|
/** Start hidden (toggle it back from the legend). */
|
|
185
201
|
hidden?: boolean;
|
|
202
|
+
/**
|
|
203
|
+
* Write values on this series' marks, whatever the chart's `valueLabels`
|
|
204
|
+
* says: `true` labels it even when the chart option is off, `false` leaves
|
|
205
|
+
* it out. Needs `@tabler/charts/value-labels` on the core.
|
|
206
|
+
*/
|
|
207
|
+
valueLabels?: boolean;
|
|
186
208
|
}
|
|
187
209
|
interface CartesianData {
|
|
188
210
|
/** Categories along x. Defaults to `1…n` for the longest series. */
|
|
@@ -193,6 +215,11 @@ interface CartesianData {
|
|
|
193
215
|
interface ValueAxisOptions {
|
|
194
216
|
/** Render the axis labels. Defaults to `true`. */
|
|
195
217
|
show?: boolean;
|
|
218
|
+
/**
|
|
219
|
+
* Title of the axis (e.g. a unit), beside its labels: turned 90° on the
|
|
220
|
+
* left of the plot, or on the right in a right-to-left chart.
|
|
221
|
+
*/
|
|
222
|
+
title?: string;
|
|
196
223
|
/** Render horizontal grid lines. Defaults to `true`. */
|
|
197
224
|
grid?: boolean;
|
|
198
225
|
/** Fixed lower bound; overrides data and `zero`. */
|
|
@@ -213,6 +240,8 @@ interface ValueAxisOptions {
|
|
|
213
240
|
interface CategoryAxisOptions {
|
|
214
241
|
/** Render the axis labels. Defaults to `true`. */
|
|
215
242
|
show?: boolean;
|
|
243
|
+
/** Title of the axis, below its labels. */
|
|
244
|
+
title?: string;
|
|
216
245
|
/** Render vertical grid lines. Defaults to `false`. */
|
|
217
246
|
grid?: boolean;
|
|
218
247
|
/** Draw the axis line along the bottom edge. Defaults to `false`. */
|
|
@@ -228,10 +257,18 @@ interface CategoryAxisOptions {
|
|
|
228
257
|
type?: "category" | "time";
|
|
229
258
|
/** Align time ticks to UTC instead of local time (use it for SSR). */
|
|
230
259
|
utc?: boolean;
|
|
260
|
+
/** Run the categories from the right. Defaults to the chart's `rtl`. */
|
|
261
|
+
reverse?: boolean;
|
|
231
262
|
}
|
|
232
263
|
interface CartesianOptions {
|
|
233
264
|
data: CartesianData;
|
|
234
265
|
y?: ValueAxisOptions;
|
|
266
|
+
/**
|
|
267
|
+
* The second value axis, for series with `axis: 'y2'` (it is drawn only
|
|
268
|
+
* when a series uses it). Its labels and title stand on the other side of
|
|
269
|
+
* the plot; the grid lines follow `y`.
|
|
270
|
+
*/
|
|
271
|
+
y2?: ValueAxisOptions;
|
|
235
272
|
x?: CategoryAxisOptions;
|
|
236
273
|
/** Reference lines and bands: targets, normal ranges, events and periods. */
|
|
237
274
|
annotations?: readonly Annotation[];
|
|
@@ -245,10 +282,14 @@ interface CartesianLayout {
|
|
|
245
282
|
x: BandScale;
|
|
246
283
|
/** Value scale (along y, or along x when `horizontal`). */
|
|
247
284
|
y: LinearScale;
|
|
285
|
+
/** Scale of the second value axis, when a series uses it. */
|
|
286
|
+
y2?: LinearScale;
|
|
248
287
|
/** Whether categories run along y. */
|
|
249
288
|
horizontal: boolean;
|
|
250
289
|
xTicks: Tick[];
|
|
251
290
|
yTicks: Tick[];
|
|
291
|
+
/** Ticks of the second value axis (with `y2`). */
|
|
292
|
+
y2Ticks?: Tick[];
|
|
252
293
|
/** Grid lines, drawn below the marks. */
|
|
253
294
|
background: VNode[];
|
|
254
295
|
/** Axes, drawn above the marks. */
|
|
@@ -289,22 +330,16 @@ declare function categoryInteraction(layout: CartesianLayout, options: Cartesian
|
|
|
289
330
|
box?: Rect;
|
|
290
331
|
}, markAt?: (x: number, y: number, index: number) => number | undefined): Interaction;
|
|
291
332
|
/** Accessible table of series values: one row per category, one column per visible series. */
|
|
292
|
-
declare function seriesTable(options: CartesianOptions, ctx:
|
|
293
|
-
//#endregion
|
|
294
|
-
//#region src/charts/dates.d.ts
|
|
333
|
+
declare function seriesTable(options: CartesianOptions, ctx: TableContext, limit?: number): DataTable;
|
|
295
334
|
/**
|
|
296
335
|
* Formatter for date labels on a time axis (tooltips, tables, band axes):
|
|
297
336
|
* the date, with the time of day when the labels span less than a few days.
|
|
298
337
|
*/
|
|
299
338
|
declare function dateLabels(labels: readonly Label[], utc: boolean | undefined, locale: Locale): (label: Label) => string;
|
|
300
|
-
//#endregion
|
|
301
|
-
//#region src/charts/log-axis.d.ts
|
|
302
339
|
/** Domain of a log axis: positive values only, niced to whole powers of ten. */
|
|
303
340
|
declare function logDomain(values: readonly (number | null | undefined)[], options: ValueAxisOptions): [number, number];
|
|
304
341
|
/** Ticks of a log axis, each power formatted as is. */
|
|
305
342
|
declare function logTicks(scale: LinearScale, count: number, format: NumberFormat | undefined, locale: Locale): Tick[];
|
|
306
|
-
//#endregion
|
|
307
|
-
//#region src/legend.d.ts
|
|
308
343
|
/** One legend entry: a series (or a slice, for part-to-whole charts). */
|
|
309
344
|
interface LegendItem {
|
|
310
345
|
/** Stable identity, used to toggle it. */
|
|
@@ -318,18 +353,23 @@ interface LegendItem {
|
|
|
318
353
|
hidden?: boolean;
|
|
319
354
|
}
|
|
320
355
|
interface LegendOptions {
|
|
321
|
-
/**
|
|
322
|
-
|
|
356
|
+
/**
|
|
357
|
+
* Where the legend goes: above or below the chart, or beside it (`'left'`,
|
|
358
|
+
* `'right'`, mirrored in a right-to-left chart) with its entries stacked
|
|
359
|
+
* and the chart in the remaining width. `'auto'` puts it on the right when
|
|
360
|
+
* the chart keeps two thirds of the container that way, and below
|
|
361
|
+
* otherwise. Defaults to `'top'`.
|
|
362
|
+
*/
|
|
363
|
+
position?: "top" | "bottom" | "left" | "right" | "auto";
|
|
323
364
|
}
|
|
324
365
|
/**
|
|
325
366
|
* Legend content: one toggle button per entry. Buttons are native, so they
|
|
326
367
|
* are focusable and work with Enter/Space; `aria-pressed` reflects visibility.
|
|
368
|
+
* `shape` gives the swatches the point shapes of their slots.
|
|
327
369
|
*/
|
|
328
|
-
declare function legendContent(items: readonly LegendItem[], hidden: ReadonlySet<string
|
|
370
|
+
declare function legendContent(items: readonly LegendItem[], hidden: ReadonlySet<string>, shape?: SwatchShape): VNode;
|
|
329
371
|
/** Keys hidden by default, from the entries' own `hidden` flags. */
|
|
330
372
|
declare function defaultHidden(items: readonly LegendItem[]): Set<string>;
|
|
331
|
-
//#endregion
|
|
332
|
-
//#region src/charts/patterns.d.ts
|
|
333
373
|
/** `<pattern>` elements for the legend entries of a chart. */
|
|
334
374
|
declare function patternDefs(items: readonly LegendItem[], id: string): VNode[];
|
|
335
375
|
/** The `--tc-pattern-{n}` references for the chart root. */
|
|
@@ -341,21 +381,24 @@ declare function patternVars(items: readonly LegendItem[], id: string): Record<s
|
|
|
341
381
|
* `undefined` for a chart without legend entries.
|
|
342
382
|
*/
|
|
343
383
|
declare function patternFills(config: ChartConfig<object>, id: string): [string, Record<string, string>, VNode] | undefined;
|
|
344
|
-
//#endregion
|
|
345
|
-
//#region src/charts/point-shapes.d.ts
|
|
346
384
|
/** The path of slot `slot`'s marker of radius `r` around (`x`, `y`). */
|
|
347
385
|
declare function markerPath(slot: number, x: number, y: number, r: number): string;
|
|
348
|
-
/**
|
|
386
|
+
/**
|
|
387
|
+
* Inline style for the legend or tooltip swatch of slot `slot`: its marker as
|
|
388
|
+
* a CSS shape (`--tc-shape`, a `clip-path`) in a box without rounded corners;
|
|
389
|
+
* `undefined` for the slots that stay a circle.
|
|
390
|
+
*/
|
|
391
|
+
declare function markerClip(slot: number): Record<string, string | number> | undefined;
|
|
392
|
+
/**
|
|
393
|
+
* @deprecated Points are drawn in their shapes as the chart renders: this
|
|
394
|
+
* step leaves the content as it is. It will be removed in the next major.
|
|
395
|
+
*/
|
|
349
396
|
declare const shapesStep: PostStep;
|
|
350
|
-
//#endregion
|
|
351
|
-
//#region src/charts/time-axis.d.ts
|
|
352
397
|
/**
|
|
353
398
|
* A time category axis: points at their real distance in time, ticks on
|
|
354
399
|
* calendar boundaries labelled for the span (or with `x.format`).
|
|
355
400
|
*/
|
|
356
401
|
declare function timeAxis(labels: readonly Label[], keys: readonly BandKey[], options: CategoryAxisOptions, count: number, locale: Locale): CategoryAxis;
|
|
357
|
-
//#endregion
|
|
358
|
-
//#region src/export-chart.d.ts
|
|
359
402
|
interface ExportOptions {
|
|
360
403
|
/**
|
|
361
404
|
* Background color, `'auto'` for the chart's surface (`--tc-surface`), or
|
|
@@ -407,8 +450,6 @@ declare function exportImage(target: ExportTarget, options?: ImageOptions): Prom
|
|
|
407
450
|
* ```
|
|
408
451
|
*/
|
|
409
452
|
declare function downloadChart(target: ExportTarget, options?: DownloadOptions): Promise<void>;
|
|
410
|
-
//#endregion
|
|
411
|
-
//#region src/render/sweep.d.ts
|
|
412
453
|
/**
|
|
413
454
|
* Take `el` from the arc of its last render, `prev`, to the arc of `next`.
|
|
414
455
|
* Returns the attributes left for the caller to patch (all but `d`, set
|
|
@@ -416,8 +457,6 @@ declare function downloadChart(target: ExportTarget, options?: DownloadOptions):
|
|
|
416
457
|
* same path, no arc to come from, or a chart without transitions.
|
|
417
458
|
*/
|
|
418
459
|
declare function sweep(el: Element, prev: VNode, next: VNode): Attrs | undefined;
|
|
419
|
-
//#endregion
|
|
420
|
-
//#region src/features.d.ts
|
|
421
460
|
/**
|
|
422
461
|
* Optional features that chart types look up at render time. Each lives in
|
|
423
462
|
* its own module (`@tabler/charts/time`, `/log`, `/decimate`, `/line`, `/annotations`) and registers
|
|
@@ -448,7 +487,7 @@ interface Features {
|
|
|
448
487
|
hydrate?: typeof hydrate;
|
|
449
488
|
/** Path morphing on data updates where CSS cannot transition `d` (Safari). */
|
|
450
489
|
morph?: typeof morph;
|
|
451
|
-
/** Arcs turning to their new angles on data updates (
|
|
490
|
+
/** Arcs turning to their new angles on data updates (installed by a chart whose type has `sweep`). */
|
|
452
491
|
sweep?: typeof sweep;
|
|
453
492
|
/** Line and area paths behind `series.type: 'line' | 'area'` in bar charts. */
|
|
454
493
|
line?: {
|
|
@@ -469,18 +508,23 @@ interface Features {
|
|
|
469
508
|
post?: PostStep;
|
|
470
509
|
/** Point shapes by color slot, behind `shapes`. */
|
|
471
510
|
"point-shapes"?: typeof markerPath;
|
|
511
|
+
/** The same shapes for legend and tooltip swatches, as CSS shapes. */
|
|
512
|
+
swatch?: typeof markerClip;
|
|
472
513
|
/** Saving a chart as a file, behind the `download` menu. */
|
|
473
514
|
export?: typeof downloadChart;
|
|
474
515
|
}
|
|
475
516
|
declare const features: Features;
|
|
476
517
|
/** Register optional features (idempotent). */
|
|
477
518
|
declare function register(added: Features): void;
|
|
519
|
+
/**
|
|
520
|
+
* Inline style that gives the swatch of a legend or tooltip entry the point
|
|
521
|
+
* shape of its color slot (the stylesheet applies it when points are drawn).
|
|
522
|
+
*/
|
|
523
|
+
type SwatchShape = (slot: number) => Record<string, string | number> | undefined;
|
|
478
524
|
/** A step that finishes rendered chart content, e.g. by adding value labels. */
|
|
479
525
|
type PostStep = (config: ChartConfig<object>, content: ChildInput, interaction: Interaction | undefined, ctx: RenderContext) => ChildInput;
|
|
480
526
|
/** The registered feature, or a helpful error naming the import that provides it. */
|
|
481
527
|
declare function feature<K extends keyof Features>(name: K): NonNullable<Features[K]>;
|
|
482
|
-
//#endregion
|
|
483
|
-
//#region src/charts/value-labels.d.ts
|
|
484
528
|
interface ValueLabelOptions {
|
|
485
529
|
/** Format of the values. Defaults to the value axis format (slices: their share in percent). */
|
|
486
530
|
format?: NumberFormat;
|
|
@@ -491,8 +535,6 @@ interface ValueLabelOptions {
|
|
|
491
535
|
declare function valueLabels(config: ChartConfig<object>, interaction: Interaction, ctx: RenderContext): VNode | null;
|
|
492
536
|
/** The step that adds the labels over the content of charts with `valueLabels`. */
|
|
493
537
|
declare const labelsStep: PostStep;
|
|
494
|
-
//#endregion
|
|
495
|
-
//#region src/plugin.d.ts
|
|
496
538
|
/** What a plugin sees before the chart measures itself and renders. */
|
|
497
539
|
interface BeforeRenderState {
|
|
498
540
|
config: ChartConfig<object>;
|
|
@@ -513,6 +555,8 @@ interface PluginInstance {
|
|
|
513
555
|
beforeRender?(state: BeforeRenderState): void;
|
|
514
556
|
/** Vertical space the plugin takes from the container in `height: 'container'` mode. */
|
|
515
557
|
reservedHeight?(): number;
|
|
558
|
+
/** Horizontal space the plugin takes from the container, e.g. a legend beside the chart. */
|
|
559
|
+
reservedWidth?(): number;
|
|
516
560
|
/** Extra attributes for the root `<svg>`. */
|
|
517
561
|
svgAttrs?(config: ChartConfig<object>): Props | undefined;
|
|
518
562
|
/** SVG drawn below (`under`) and above (`over`) the chart content for the active hit. */
|
|
@@ -538,8 +582,6 @@ interface ChartPlugin {
|
|
|
538
582
|
readonly name: string;
|
|
539
583
|
install(chart: Chart<object>): PluginInstance;
|
|
540
584
|
}
|
|
541
|
-
//#endregion
|
|
542
|
-
//#region src/plugins/download.d.ts
|
|
543
585
|
/** A file format of the download menu. */
|
|
544
586
|
type DownloadFormat = "png" | "svg" | "jpeg" | "webp";
|
|
545
587
|
/** The `download` option as an object. */
|
|
@@ -570,8 +612,6 @@ type DownloadOption = boolean | readonly DownloadFormat[] | DownloadMenuOptions;
|
|
|
570
612
|
* carry the export code.
|
|
571
613
|
*/
|
|
572
614
|
declare function download(): ChartPlugin;
|
|
573
|
-
//#endregion
|
|
574
|
-
//#region src/tooltip.d.ts
|
|
575
615
|
/**
|
|
576
616
|
* Where a tooltip for `hit` belongs, in chart pixels: the pointer when it
|
|
577
617
|
* drives the highlight, otherwise the focused value (keyboard).
|
|
@@ -598,8 +638,11 @@ interface TooltipOptions {
|
|
|
598
638
|
/** Extra content below the default rows (e.g. a total), in `.tc-tooltip-footer`. */
|
|
599
639
|
footer?: (hit: Hit) => ChildInput;
|
|
600
640
|
}
|
|
601
|
-
/**
|
|
602
|
-
|
|
641
|
+
/**
|
|
642
|
+
* Default tooltip content: the category title and one row per series
|
|
643
|
+
* (`shape` gives their swatches the point shapes of their slots).
|
|
644
|
+
*/
|
|
645
|
+
declare function tooltipContent(hit: Hit, options?: TooltipOptions, shape?: SwatchShape): VNode;
|
|
603
646
|
interface TooltipPlacement {
|
|
604
647
|
x: number;
|
|
605
648
|
y: number;
|
|
@@ -608,7 +651,8 @@ interface TooltipPlacement {
|
|
|
608
651
|
/**
|
|
609
652
|
* Place a `width × height` tooltip next to an anchor within `bounds` (from
|
|
610
653
|
* `bounds.x`, `bounds.y`, 0 by default): right of the anchor, or left when it
|
|
611
|
-
* would overflow, vertically centered on the
|
|
654
|
+
* would overflow (the other way round with `rtl`), vertically centered on the
|
|
655
|
+
* pointer and clamped.
|
|
612
656
|
*/
|
|
613
657
|
declare function placeTooltip(anchor: {
|
|
614
658
|
x: number;
|
|
@@ -621,9 +665,7 @@ declare function placeTooltip(anchor: {
|
|
|
621
665
|
y?: number;
|
|
622
666
|
width: number;
|
|
623
667
|
height: number;
|
|
624
|
-
}, offset?: number): TooltipPlacement;
|
|
625
|
-
//#endregion
|
|
626
|
-
//#region src/chart.d.ts
|
|
668
|
+
}, offset?: number, rtl?: boolean): TooltipPlacement;
|
|
627
669
|
/** Size and environment a chart type renders into. */
|
|
628
670
|
interface RenderContext {
|
|
629
671
|
width: number;
|
|
@@ -633,16 +675,32 @@ interface RenderContext {
|
|
|
633
675
|
locale: Locale;
|
|
634
676
|
/** Unique, stable prefix for ids inside this chart. */
|
|
635
677
|
id: string;
|
|
636
|
-
/** Register how pointer and keyboard map to data (ignored in SSR). */
|
|
637
|
-
onHitTest(interaction: Interaction): void;
|
|
638
678
|
/** Keys of legend entries (series) currently hidden. */
|
|
639
679
|
hidden: ReadonlySet<string>;
|
|
680
|
+
/** Lay the chart out right to left (the `rtl` option, resolved). */
|
|
681
|
+
rtl?: boolean;
|
|
640
682
|
}
|
|
683
|
+
/** What a chart type's `table()` sees: no size, since a table has none. */
|
|
684
|
+
type TableContext = Pick<RenderContext, "locale" | "hidden" | "rtl">;
|
|
641
685
|
/**
|
|
642
|
-
*
|
|
643
|
-
*
|
|
686
|
+
* What a chart type renders for one size: the content of the root `<svg>`,
|
|
687
|
+
* and how pointer and keyboard map to its data (none, when left out).
|
|
644
688
|
*/
|
|
645
|
-
interface
|
|
689
|
+
interface RenderResult {
|
|
690
|
+
content: ChildInput;
|
|
691
|
+
interaction?: Interaction;
|
|
692
|
+
}
|
|
693
|
+
/**
|
|
694
|
+
* A chart type plugin (`line`, `bar`, …). Works out its model from the chart
|
|
695
|
+
* options and renders it into the content of the root `<svg>`.
|
|
696
|
+
*
|
|
697
|
+
* `M` is the chart model, what `prepare()` works out from the options alone
|
|
698
|
+
* (the options themselves for a type without `prepare()`): `render()`,
|
|
699
|
+
* `legend()`, `table()` and `height()` all read it, so a type groups or sorts
|
|
700
|
+
* its data once per config, not once for each of them. `ChartType<never>`
|
|
701
|
+
* stands for any chart type.
|
|
702
|
+
*/
|
|
703
|
+
interface ChartType<O extends object = object, M extends object = [O] extends [never] ? object : O> {
|
|
646
704
|
readonly name: string;
|
|
647
705
|
/**
|
|
648
706
|
* Clean options that may come from outside (data, annotations, axis
|
|
@@ -650,14 +708,27 @@ interface ChartType<O extends object = object> {
|
|
|
650
708
|
* as the config comes in, before anything reads it.
|
|
651
709
|
*/
|
|
652
710
|
clean?(options: O): unknown;
|
|
653
|
-
|
|
711
|
+
/**
|
|
712
|
+
* The chart model of the (cleaned) options: whatever the legend, the table
|
|
713
|
+
* and every render share. It knows neither the size nor the hidden series
|
|
714
|
+
* (the legend that hides them reads it). Called once per config.
|
|
715
|
+
*/
|
|
716
|
+
prepare?(options: O): M;
|
|
717
|
+
/** The chart content for a size: bare content, or with its interaction. */
|
|
718
|
+
render(model: M, context: RenderContext): ChildInput | RenderResult;
|
|
719
|
+
/**
|
|
720
|
+
* Height in pixels at a width, for a type whose proportions are not one
|
|
721
|
+
* ratio (parts of it keep their size as it narrows). Asked when `height`
|
|
722
|
+
* is not set; `undefined` leaves it to `aspectRatio`.
|
|
723
|
+
*/
|
|
724
|
+
height?(model: M, width: number): number | undefined;
|
|
654
725
|
/** Entries for the legend (series, slices); charts without it get no legend. */
|
|
655
|
-
legend?(
|
|
726
|
+
legend?(model: M): LegendItem[];
|
|
656
727
|
/**
|
|
657
728
|
* The data as a text table, for screen readers and the visible table
|
|
658
729
|
* option. `limit` is the most rows wanted; report the real count in `total`.
|
|
659
730
|
*/
|
|
660
|
-
table?(
|
|
731
|
+
table?(model: M, context: TableContext, limit: number): DataTable;
|
|
661
732
|
/**
|
|
662
733
|
* Whether the chart should be focusable and keyboard-navigable by default
|
|
663
734
|
* (`keyboard` in the config overrides it). Decorative types such as
|
|
@@ -671,10 +742,22 @@ interface ChartType<O extends object = object> {
|
|
|
671
742
|
* names the number format of the values in the options (by default a label
|
|
672
743
|
* shows the text of the tooltip).
|
|
673
744
|
*/
|
|
745
|
+
/**
|
|
746
|
+
* How the chart's marks turn to new data in the DOM, where CSS cannot
|
|
747
|
+
* animate them (arcs sweeping to their new angles). A chart in the page
|
|
748
|
+
* installs it; it is part of the type, not of a module that loads, so it
|
|
749
|
+
* ships only with the types that use it.
|
|
750
|
+
*/
|
|
751
|
+
readonly sweep?: Features["sweep"];
|
|
674
752
|
readonly valueLabels?: {
|
|
675
753
|
marks?: "slice" | "cell";
|
|
676
|
-
format?(
|
|
754
|
+
format?(model: M): NumberFormat | undefined;
|
|
677
755
|
};
|
|
756
|
+
/**
|
|
757
|
+
* Plugins the chart type brings along (the zoom of a map), installed after
|
|
758
|
+
* the default ones when a chart is created with this type.
|
|
759
|
+
*/
|
|
760
|
+
readonly plugins?: readonly ChartPlugin[];
|
|
678
761
|
}
|
|
679
762
|
/** Options shared by every chart type. */
|
|
680
763
|
interface BaseOptions {
|
|
@@ -695,6 +778,15 @@ interface BaseOptions {
|
|
|
695
778
|
class?: ClassValue;
|
|
696
779
|
/** Locale for number and date formatting. Set it explicitly for SSR. */
|
|
697
780
|
locale?: Locale;
|
|
781
|
+
/**
|
|
782
|
+
* Mirror the layout for right-to-left pages: the value axis on the right
|
|
783
|
+
* and categories running from the right (`x.reverse` overrides the latter).
|
|
784
|
+
* `'auto'` follows the `direction` of the container (left to right in SSR).
|
|
785
|
+
* The legend, the tooltip and the download menu read right to left with it.
|
|
786
|
+
* Cartesian charts, heatmaps, sparklines, sankey diagrams and percentage
|
|
787
|
+
* bars. Defaults to `false`.
|
|
788
|
+
*/
|
|
789
|
+
rtl?: boolean | "auto";
|
|
698
790
|
/**
|
|
699
791
|
* Font size used to lay out labels. In the browser it is read from the
|
|
700
792
|
* `--tc-font-size` custom property of the container when not set; set it
|
|
@@ -728,8 +820,10 @@ interface BaseOptions {
|
|
|
728
820
|
* Write the values on the marks: bars at their end, stacked segments,
|
|
729
821
|
* cells and slices inside (slices show their share), lines and points
|
|
730
822
|
* above their last point (`points: 'all'` for every one). Labels that do
|
|
731
|
-
* not fit are left out.
|
|
732
|
-
*
|
|
823
|
+
* not fit are left out. A series' own `valueLabels` overrides this for
|
|
824
|
+
* that series, and each label carries its series classes
|
|
825
|
+
* (`tc-series tc-series-{n}`). Needs `@tabler/charts/value-labels` on the
|
|
826
|
+
* core (`@tabler/charts` includes it).
|
|
733
827
|
*/
|
|
734
828
|
valueLabels?: boolean | ValueLabelOptions;
|
|
735
829
|
/**
|
|
@@ -774,7 +868,7 @@ interface BaseOptions {
|
|
|
774
868
|
}
|
|
775
869
|
/** Full chart configuration: base options, the chart type and its options. */
|
|
776
870
|
type ChartConfig<O extends object = object> = BaseOptions & O & {
|
|
777
|
-
type: ChartType<O>;
|
|
871
|
+
type: ChartType<O, object>;
|
|
778
872
|
};
|
|
779
873
|
interface Size {
|
|
780
874
|
width: number;
|
|
@@ -782,13 +876,29 @@ interface Size {
|
|
|
782
876
|
}
|
|
783
877
|
/** Resolve the final pixel size from options and the measured container size. */
|
|
784
878
|
declare function resolveSize(options: BaseOptions, measured?: Partial<Size>): Size;
|
|
785
|
-
/**
|
|
786
|
-
|
|
879
|
+
/**
|
|
880
|
+
* The chart model of a config: what its type's `prepare()` works out from
|
|
881
|
+
* it, once per config object, or the config itself for a type without one.
|
|
882
|
+
*/
|
|
883
|
+
declare function chartModel(config: ChartConfig<object>): object;
|
|
884
|
+
/** What a render context is made for, besides the config. */
|
|
885
|
+
interface ContextOptions {
|
|
886
|
+
size: Size;
|
|
887
|
+
/** Id prefix of the chart. */
|
|
888
|
+
id: string;
|
|
889
|
+
hidden: ReadonlySet<string>;
|
|
890
|
+
/** Measured font size, used when the config sets none. */
|
|
891
|
+
fontSize?: number;
|
|
892
|
+
/** The resolved `rtl` option; by default `rtl: true` in the config. */
|
|
893
|
+
rtl?: boolean;
|
|
894
|
+
}
|
|
895
|
+
/** Render context for a config and size. */
|
|
896
|
+
declare function renderContext<O extends object>(config: ChartConfig<O>, { size, id, hidden, fontSize, rtl }: ContextOptions): RenderContext;
|
|
787
897
|
/** Legend entries of a config, whether a legend is shown and where. */
|
|
788
898
|
interface ResolvedLegend {
|
|
789
899
|
items: LegendItem[];
|
|
790
900
|
show: boolean;
|
|
791
|
-
position: "
|
|
901
|
+
position: NonNullable<LegendOptions["position"]>;
|
|
792
902
|
}
|
|
793
903
|
/** Legend entries of a config, and whether the legend is shown. */
|
|
794
904
|
declare function resolveLegend<O extends object>(config: ChartConfig<O>): ResolvedLegend;
|
|
@@ -799,11 +909,18 @@ declare function resolveLegend<O extends object>(config: ChartConfig<O>): Resolv
|
|
|
799
909
|
* page's language.
|
|
800
910
|
*/
|
|
801
911
|
declare function chartLabel(config: ChartConfig<object>): string;
|
|
912
|
+
/** A chart built without the DOM: its root `<svg>`, and how it answers interaction. */
|
|
913
|
+
interface BuiltChart {
|
|
914
|
+
svg: VNode;
|
|
915
|
+
interaction?: Interaction;
|
|
916
|
+
}
|
|
802
917
|
/**
|
|
803
|
-
* Build
|
|
804
|
-
*
|
|
918
|
+
* Build a chart for a size: a pure function of the config and size, shared
|
|
919
|
+
* by the DOM chart and server-side rendering. `buildChart()` keeps the svg.
|
|
805
920
|
*/
|
|
806
|
-
declare function
|
|
921
|
+
declare function renderChart<O extends object>(config: ChartConfig<O>, size: Size, id?: string): BuiltChart;
|
|
922
|
+
/** Build the VNode tree of a chart for a size (see `renderChart()`). */
|
|
923
|
+
declare function buildChart<O extends object>(config: ChartConfig<O>, size: Size, id?: string): VNode;
|
|
807
924
|
/**
|
|
808
925
|
* Render a chart to an SVG string, e.g. on the server.
|
|
809
926
|
*
|
|
@@ -857,14 +974,19 @@ type Handler<T> = (event: T) => void;
|
|
|
857
974
|
declare class Chart<O extends object = object> {
|
|
858
975
|
#private;
|
|
859
976
|
/** Element the chart renders into. */
|
|
860
|
-
readonly element:
|
|
977
|
+
readonly element: HTMLElement;
|
|
861
978
|
/** Id prefix used for elements inside the chart. */
|
|
862
979
|
readonly id: string;
|
|
863
|
-
constructor(target:
|
|
980
|
+
constructor(target: HTMLElement | string, config: ChartConfig<O>, defaultPlugins?: readonly ChartPlugin[]);
|
|
864
981
|
/** Current configuration. */
|
|
865
982
|
get config(): ChartConfig<O>;
|
|
866
983
|
/** Size of the last render. */
|
|
867
984
|
get size(): Size;
|
|
985
|
+
/**
|
|
986
|
+
* Whether the chart is laid out right to left: the `rtl` option, with
|
|
987
|
+
* `'auto'` read from the container (together with the font size).
|
|
988
|
+
*/
|
|
989
|
+
get rtl(): boolean;
|
|
868
990
|
/** Font size used by the last render (explicit, measured, or the default). */
|
|
869
991
|
get fontSize(): number;
|
|
870
992
|
/** How pointer and keyboard map to data for the current render. */
|
|
@@ -928,6 +1050,4 @@ declare class Chart<O extends object = object> {
|
|
|
928
1050
|
/** Call the handlers of an event (plugins emit `click`, for instance). */
|
|
929
1051
|
emit<K extends keyof ChartEvents>(name: K, event: ChartEvents[K]): void;
|
|
930
1052
|
}
|
|
931
|
-
|
|
932
|
-
export { CartesianOptions as $, labelsStep as A, downloadChart as B, DownloadOption as C, HitTester as Ct, ChartPlugin as D, BeforeRenderState as E, register as F, patternDefs as G, exportSVG as H, DownloadOptions as I, LegendItem as J, patternFills as K, ExportOptions as L, Features as M, feature as N, PluginInstance as O, features as P, CartesianData as Q, ExportTarget as R, DownloadMenuOptions as S, HitItem as St, AfterRenderState as T, markerPath as U, exportImage as V, shapesStep as W, defaultHidden as X, LegendOptions as Y, legendContent as Z, TooltipPlacement as _, thinTicks as _t, ChartType as a, domainOf as at, tooltipContent as b, tableContent as bt, Size as c, seriesTable as ct, chartLabel as d, LinearTicksOptions as dt, CategoryAxisOptions as et, chartToString as f, Tick as ft, TooltipOptions as g, linearTicks as gt, resolveSize as h, bandTicks as ht, ChartEvents as i, categoryInteraction as it, valueLabels as j, ValueLabelOptions as k, buildChart as l, AxisOptions as lt, resolveLegend as m, axisSize as mt, Chart as n, Series as nt, RenderContext as o, seriesKey as ot, renderContext as p, axis as pt, patternVars as q, ChartConfig as r, ValueAxisOptions as rt, ResolvedLegend as s, seriesLegend as st, BaseOptions as t, Label as tt, chartEvents as u, AxisPosition as ut, hitAnchor as v, DataTable as vt, download as w, Interaction as wt, DownloadFormat as x, Hit as xt, placeTooltip as y, describeHit as yt, ImageOptions as z };
|
|
933
|
-
//# sourceMappingURL=chart-DyN7bcx8.d.ts.map
|
|
1053
|
+
export { patternFills as $, download as A, HitItem as At, features as B, TooltipPlacement as C, linearTicks as Ct, DownloadFormat as D, tableContent as Dt, tooltipContent as E, describeHit as Et, ValueLabelOptions as F, ImageOptions as G, DownloadOptions as H, labelsStep as I, exportSVG as J, downloadChart as K, valueLabels as L, BeforeRenderState as M, Interaction as Mt, ChartPlugin as N, DownloadMenuOptions as O, Highlight as Ot, PluginInstance as P, patternDefs as Q, Features as R, TooltipOptions as S, bandTicks as St, placeTooltip as T, DataTable as Tt, ExportOptions as U, register as V, ExportTarget as W, markerPath as X, markerClip as Y, shapesStep as Z, chartToString as _, AxisPosition as _t, ChartEvents as a, CartesianData as at, resolveLegend as b, axis as bt, RenderContext as c, Label as ct, Size as d, categoryInteraction as dt, patternVars as et, TableContext as f, domainOf as ft, chartModel as g, AxisOptions as gt, chartLabel as h, seriesTable as ht, ChartConfig as i, legendContent as it, AfterRenderState as j, HitTester as jt, DownloadOption as k, Hit as kt, RenderResult as l, Series as lt, chartEvents as m, seriesLegend as mt, BuiltChart as n, LegendOptions as nt, ChartType as o, CartesianOptions as ot, buildChart as p, seriesKey as pt, exportImage as q, Chart as r, defaultHidden as rt, ContextOptions as s, CategoryAxisOptions as st, BaseOptions as t, LegendItem as tt, ResolvedLegend as u, ValueAxisOptions as ut, renderChart as v, LinearTicksOptions as vt, hitAnchor as w, thinTicks as wt, resolveSize as x, axisSize as xt, renderContext as y, Tick as yt, feature as z };
|