@sophistry/charts 0.0.1 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/3d/bar-chart3d.d.ts +2 -3
- package/dist/3d/definitions.d.ts +16 -17
- package/dist/3d/forward.d.ts +0 -1
- package/dist/3d/index.d.ts +16 -17
- package/dist/3d/quiver3d.d.ts +2 -3
- package/dist/3d/scatter3d.d.ts +2 -3
- package/dist/3d/stem3d.d.ts +2 -3
- package/dist/3d/surface-grid3d.d.ts +0 -1
- package/dist/3d/tri-surface3d.d.ts +2 -3
- package/dist/3d/voxels3d.d.ts +0 -1
- package/dist/3d/wireframe3d.d.ts +0 -1
- package/dist/band.d.ts +0 -1
- package/dist/bars/bar-chart.d.ts +2 -3
- package/dist/bars/bar-labels.d.ts +1 -2
- package/dist/bars/bars.d.ts +7 -8
- package/dist/bars/bullet.d.ts +2 -3
- package/dist/bars/candlestick.d.ts +2 -3
- package/dist/bars/funnel.d.ts +2 -3
- package/dist/bars/histogram.d.ts +3 -4
- package/dist/bars/index.d.ts +21 -22
- package/dist/bars/race.d.ts +2 -3
- package/dist/bars/rules.d.ts +4 -5
- package/dist/bars/shared.d.ts +1 -2
- package/dist/bars/transforms.d.ts +4 -5
- package/dist/bars/waterfall.d.ts +2 -3
- package/dist/batch.d.ts +0 -1
- package/dist/chart.d.ts +3 -4
- package/dist/color-norm.d.ts +1 -2
- package/dist/context.d.ts +2 -3
- package/dist/curves/density.d.ts +2 -3
- package/dist/curves/ecdf.d.ts +3 -4
- package/dist/curves/fill-between.d.ts +2 -3
- package/dist/curves/index.d.ts +14 -15
- package/dist/curves/line-plot.d.ts +2 -3
- package/dist/curves/regression.d.ts +2 -3
- package/dist/curves/shared.d.ts +3 -4
- package/dist/curves/stack-plot.d.ts +4 -5
- package/dist/curves/stairs.d.ts +7 -8
- package/dist/data/channels.d.ts +0 -1
- package/dist/end-space.d.ts +3 -4
- package/dist/entries/definitions.d.ts +1 -2
- package/dist/frame/band-axis.d.ts +1 -2
- package/dist/frame/coords.d.ts +4 -5
- package/dist/frame/fit.d.ts +2 -3
- package/dist/frame/format.d.ts +4 -5
- package/dist/frame/guide-metrics.d.ts +0 -1
- package/dist/frame/guides.d.ts +6 -7
- package/dist/frame/keys.d.ts +3 -4
- package/dist/frame/layout.d.ts +5 -6
- package/dist/frame/registry.d.ts +1 -2
- package/dist/frame/reports.d.ts +3 -4
- package/dist/frame/secondary-axes.d.ts +0 -1
- package/dist/frame/secondary.d.ts +2 -3
- package/dist/frame/tooltip-overlay.d.ts +1 -2
- package/dist/frame/types.d.ts +6 -7
- package/dist/grids/barbs.d.ts +0 -1
- package/dist/grids/cell-rects.d.ts +1 -2
- package/dist/grids/cells.d.ts +5 -6
- package/dist/grids/contour-f.d.ts +1 -2
- package/dist/grids/contour-shared.d.ts +1 -2
- package/dist/grids/contour.d.ts +1 -2
- package/dist/grids/dendrogram.d.ts +1 -2
- package/dist/grids/heatmap.d.ts +5 -6
- package/dist/grids/hex-bin.d.ts +2 -3
- package/dist/grids/hist2d.d.ts +3 -4
- package/dist/grids/imshow.d.ts +1 -2
- package/dist/grids/index.d.ts +25 -26
- package/dist/grids/pcolormesh.d.ts +6 -7
- package/dist/grids/ramp-cells.d.ts +3 -4
- package/dist/grids/tri-contour.d.ts +2 -3
- package/dist/grids/tri-shared.d.ts +2 -3
- package/dist/grids/tripcolor.d.ts +3 -4
- package/dist/guides/colorbar.d.ts +0 -1
- package/dist/guides/index.d.ts +10 -11
- package/dist/guides/legend.d.ts +2 -3
- package/dist/guides/nodes.d.ts +0 -1
- package/dist/guides/size-legend.d.ts +1 -2
- package/dist/hierarchy/breadcrumbs.d.ts +4 -5
- package/dist/hierarchy/circle-pack.d.ts +3 -4
- package/dist/hierarchy/drill.d.ts +4 -5
- package/dist/hierarchy/frame.d.ts +5 -6
- package/dist/hierarchy/icicle.d.ts +3 -4
- package/dist/hierarchy/index.d.ts +19 -20
- package/dist/hierarchy/labels.d.ts +0 -1
- package/dist/hierarchy/mosaic.d.ts +3 -4
- package/dist/hierarchy/own-tooltip.d.ts +1 -2
- package/dist/hierarchy/props.d.ts +0 -1
- package/dist/hierarchy/sankey.d.ts +3 -4
- package/dist/hierarchy/shared.d.ts +5 -6
- package/dist/hierarchy/sunburst.d.ts +3 -4
- package/dist/hierarchy/tree.d.ts +4 -5
- package/dist/hierarchy/treemap.d.ts +4 -5
- package/dist/index.d.ts +20 -21
- package/dist/item-tooltip.d.ts +1 -2
- package/dist/join.d.ts +4 -5
- package/dist/math/3d/bar3d.d.ts +0 -1
- package/dist/math/3d/quiver3d.d.ts +0 -1
- package/dist/math/3d/scatter3d.d.ts +0 -1
- package/dist/math/3d/stem3d.d.ts +0 -1
- package/dist/math/3d/surfaceGrid3d.d.ts +0 -1
- package/dist/math/3d/trisurface.d.ts +0 -1
- package/dist/math/3d/voxels.d.ts +0 -1
- package/dist/math/aggregate.d.ts +0 -1
- package/dist/math/bar.d.ts +0 -1
- package/dist/math/barLabels.d.ts +0 -1
- package/dist/math/barbs.d.ts +0 -1
- package/dist/math/boxplot.d.ts +0 -1
- package/dist/math/breadcrumbs.d.ts +0 -1
- package/dist/math/bubble.d.ts +0 -1
- package/dist/math/bullet.d.ts +0 -1
- package/dist/math/chord.d.ts +1 -2
- package/dist/math/cluster.d.ts +0 -1
- package/dist/math/contour.d.ts +0 -1
- package/dist/math/contourf.d.ts +0 -1
- package/dist/math/dodge.d.ts +0 -1
- package/dist/math/ecdf.d.ts +0 -1
- package/dist/math/errorbar.d.ts +0 -1
- package/dist/math/eventplot.d.ts +0 -1
- package/dist/math/facet.d.ts +0 -1
- package/dist/math/fillBetween.d.ts +0 -1
- package/dist/math/gauge.d.ts +0 -1
- package/dist/math/hexbin.d.ts +0 -1
- package/dist/math/hierarchy.d.ts +0 -1
- package/dist/math/hierarchyJoin.d.ts +2 -3
- package/dist/math/histogram.d.ts +0 -1
- package/dist/math/histogram2d.d.ts +0 -1
- package/dist/math/imshow.d.ts +1 -2
- package/dist/math/index.d.ts +123 -124
- package/dist/math/jitter.d.ts +0 -1
- package/dist/math/join.d.ts +0 -1
- package/dist/math/keyframes.d.ts +0 -1
- package/dist/math/legend.d.ts +0 -1
- package/dist/math/line.d.ts +0 -1
- package/dist/math/morph.d.ts +0 -1
- package/dist/math/mosaic.d.ts +0 -1
- package/dist/math/ordinal.d.ts +0 -1
- package/dist/math/parallel.d.ts +0 -1
- package/dist/math/pcolormesh.d.ts +1 -2
- package/dist/math/pie.d.ts +1 -2
- package/dist/math/polarArea.d.ts +1 -2
- package/dist/math/radar.d.ts +1 -2
- package/dist/math/range.d.ts +0 -1
- package/dist/math/regression.d.ts +0 -1
- package/dist/math/reveal.d.ts +0 -1
- package/dist/math/sankey.d.ts +0 -1
- package/dist/math/scatter.d.ts +0 -1
- package/dist/math/shared/binning.d.ts +0 -1
- package/dist/math/shared/gridCells.d.ts +0 -1
- package/dist/math/shared/gridExtent.d.ts +0 -1
- package/dist/math/shared/pairs.d.ts +0 -1
- package/dist/math/shared/polar.d.ts +0 -1
- package/dist/math/stack.d.ts +0 -1
- package/dist/math/stackplot.d.ts +1 -2
- package/dist/math/stairs.d.ts +0 -1
- package/dist/math/stem.d.ts +0 -1
- package/dist/math/symbol.d.ts +0 -1
- package/dist/math/tree.d.ts +1 -2
- package/dist/math/tricontour.d.ts +2 -3
- package/dist/math/violin.d.ts +0 -1
- package/dist/math/waffle.d.ts +0 -1
- package/dist/math/waterfall.d.ts +0 -1
- package/dist/mix.d.ts +0 -1
- package/dist/multiview/brush.d.ts +0 -1
- package/dist/multiview/chart-group.d.ts +3 -4
- package/dist/multiview/chart-link.d.ts +2 -3
- package/dist/multiview/chart-zoom.d.ts +3 -4
- package/dist/multiview/facet.d.ts +3 -4
- package/dist/multiview/group-guides.d.ts +4 -5
- package/dist/multiview/index.d.ts +16 -17
- package/dist/multiview/joint-plot.d.ts +2 -3
- package/dist/multiview/pair-plot.d.ts +3 -4
- package/dist/multiview/panels.d.ts +2 -3
- package/dist/multiview/parallel-coordinates.d.ts +2 -3
- package/dist/points/event-plot.d.ts +1 -2
- package/dist/points/index.d.ts +18 -19
- package/dist/points/labels.d.ts +2 -3
- package/dist/points/links.d.ts +2 -3
- package/dist/points/rects.d.ts +4 -5
- package/dist/points/rug.d.ts +4 -5
- package/dist/points/scatter.d.ts +5 -6
- package/dist/points/segment-marks.d.ts +1 -2
- package/dist/points/shared.d.ts +1 -2
- package/dist/points/stem.d.ts +3 -4
- package/dist/points/strip.d.ts +4 -5
- package/dist/points/symbol-marker.d.ts +1 -2
- package/dist/points/ticks.d.ts +4 -5
- package/dist/props.d.ts +2 -3
- package/dist/radial/chord.d.ts +3 -4
- package/dist/radial/gauge.d.ts +1 -2
- package/dist/radial/index.d.ts +14 -15
- package/dist/radial/pie-chart.d.ts +3 -4
- package/dist/radial/polar-area-chart.d.ts +2 -3
- package/dist/radial/radar-chart.d.ts +2 -3
- package/dist/radial/radial-bar-chart.d.ts +2 -3
- package/dist/radial/shared.d.ts +3 -4
- package/dist/radial/waffle.d.ts +2 -3
- package/dist/raster.d.ts +0 -1
- package/dist/series.d.ts +4 -5
- package/dist/stagger.d.ts +1 -2
- package/dist/statistics/box-plot.d.ts +3 -4
- package/dist/statistics/error-bar.d.ts +3 -4
- package/dist/statistics/groups.d.ts +3 -4
- package/dist/statistics/index.d.ts +6 -7
- package/dist/statistics/violin-plot.d.ts +3 -4
- package/dist/text-width.d.ts +0 -1
- package/dist/tooltip.d.ts +0 -1
- package/dist/util.d.ts +0 -1
- package/package.json +5 -5
- package/dist/3d/bar-chart3d.d.ts.map +0 -1
- package/dist/3d/definitions.d.ts.map +0 -1
- package/dist/3d/forward.d.ts.map +0 -1
- package/dist/3d/index.d.ts.map +0 -1
- package/dist/3d/quiver3d.d.ts.map +0 -1
- package/dist/3d/scatter3d.d.ts.map +0 -1
- package/dist/3d/stem3d.d.ts.map +0 -1
- package/dist/3d/surface-grid3d.d.ts.map +0 -1
- package/dist/3d/tri-surface3d.d.ts.map +0 -1
- package/dist/3d/voxels3d.d.ts.map +0 -1
- package/dist/3d/wireframe3d.d.ts.map +0 -1
- package/dist/band.d.ts.map +0 -1
- package/dist/bars/bar-chart.d.ts.map +0 -1
- package/dist/bars/bar-labels.d.ts.map +0 -1
- package/dist/bars/bars.d.ts.map +0 -1
- package/dist/bars/bullet.d.ts.map +0 -1
- package/dist/bars/candlestick.d.ts.map +0 -1
- package/dist/bars/funnel.d.ts.map +0 -1
- package/dist/bars/histogram.d.ts.map +0 -1
- package/dist/bars/index.d.ts.map +0 -1
- package/dist/bars/race.d.ts.map +0 -1
- package/dist/bars/rules.d.ts.map +0 -1
- package/dist/bars/shared.d.ts.map +0 -1
- package/dist/bars/transforms.d.ts.map +0 -1
- package/dist/bars/waterfall.d.ts.map +0 -1
- package/dist/batch.d.ts.map +0 -1
- package/dist/chart.d.ts.map +0 -1
- package/dist/color-norm.d.ts.map +0 -1
- package/dist/context.d.ts.map +0 -1
- package/dist/curves/density.d.ts.map +0 -1
- package/dist/curves/ecdf.d.ts.map +0 -1
- package/dist/curves/fill-between.d.ts.map +0 -1
- package/dist/curves/index.d.ts.map +0 -1
- package/dist/curves/line-plot.d.ts.map +0 -1
- package/dist/curves/regression.d.ts.map +0 -1
- package/dist/curves/shared.d.ts.map +0 -1
- package/dist/curves/stack-plot.d.ts.map +0 -1
- package/dist/curves/stairs.d.ts.map +0 -1
- package/dist/data/channels.d.ts.map +0 -1
- package/dist/end-space.d.ts.map +0 -1
- package/dist/entries/definitions.d.ts.map +0 -1
- package/dist/frame/band-axis.d.ts.map +0 -1
- package/dist/frame/coords.d.ts.map +0 -1
- package/dist/frame/fit.d.ts.map +0 -1
- package/dist/frame/format.d.ts.map +0 -1
- package/dist/frame/guide-metrics.d.ts.map +0 -1
- package/dist/frame/guides.d.ts.map +0 -1
- package/dist/frame/keys.d.ts.map +0 -1
- package/dist/frame/layout.d.ts.map +0 -1
- package/dist/frame/registry.d.ts.map +0 -1
- package/dist/frame/reports.d.ts.map +0 -1
- package/dist/frame/secondary-axes.d.ts.map +0 -1
- package/dist/frame/secondary.d.ts.map +0 -1
- package/dist/frame/tooltip-overlay.d.ts.map +0 -1
- package/dist/frame/types.d.ts.map +0 -1
- package/dist/grids/barbs.d.ts.map +0 -1
- package/dist/grids/cell-rects.d.ts.map +0 -1
- package/dist/grids/cells.d.ts.map +0 -1
- package/dist/grids/contour-f.d.ts.map +0 -1
- package/dist/grids/contour-shared.d.ts.map +0 -1
- package/dist/grids/contour.d.ts.map +0 -1
- package/dist/grids/dendrogram.d.ts.map +0 -1
- package/dist/grids/heatmap.d.ts.map +0 -1
- package/dist/grids/hex-bin.d.ts.map +0 -1
- package/dist/grids/hist2d.d.ts.map +0 -1
- package/dist/grids/imshow.d.ts.map +0 -1
- package/dist/grids/index.d.ts.map +0 -1
- package/dist/grids/pcolormesh.d.ts.map +0 -1
- package/dist/grids/ramp-cells.d.ts.map +0 -1
- package/dist/grids/tri-contour.d.ts.map +0 -1
- package/dist/grids/tri-shared.d.ts.map +0 -1
- package/dist/grids/tripcolor.d.ts.map +0 -1
- package/dist/guides/colorbar.d.ts.map +0 -1
- package/dist/guides/index.d.ts.map +0 -1
- package/dist/guides/legend.d.ts.map +0 -1
- package/dist/guides/nodes.d.ts.map +0 -1
- package/dist/guides/size-legend.d.ts.map +0 -1
- package/dist/hierarchy/breadcrumbs.d.ts.map +0 -1
- package/dist/hierarchy/circle-pack.d.ts.map +0 -1
- package/dist/hierarchy/drill.d.ts.map +0 -1
- package/dist/hierarchy/frame.d.ts.map +0 -1
- package/dist/hierarchy/icicle.d.ts.map +0 -1
- package/dist/hierarchy/index.d.ts.map +0 -1
- package/dist/hierarchy/labels.d.ts.map +0 -1
- package/dist/hierarchy/mosaic.d.ts.map +0 -1
- package/dist/hierarchy/own-tooltip.d.ts.map +0 -1
- package/dist/hierarchy/props.d.ts.map +0 -1
- package/dist/hierarchy/sankey.d.ts.map +0 -1
- package/dist/hierarchy/shared.d.ts.map +0 -1
- package/dist/hierarchy/sunburst.d.ts.map +0 -1
- package/dist/hierarchy/tree.d.ts.map +0 -1
- package/dist/hierarchy/treemap.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/item-tooltip.d.ts.map +0 -1
- package/dist/join.d.ts.map +0 -1
- package/dist/math/3d/bar3d.d.ts.map +0 -1
- package/dist/math/3d/quiver3d.d.ts.map +0 -1
- package/dist/math/3d/scatter3d.d.ts.map +0 -1
- package/dist/math/3d/stem3d.d.ts.map +0 -1
- package/dist/math/3d/surfaceGrid3d.d.ts.map +0 -1
- package/dist/math/3d/trisurface.d.ts.map +0 -1
- package/dist/math/3d/voxels.d.ts.map +0 -1
- package/dist/math/aggregate.d.ts.map +0 -1
- package/dist/math/bar.d.ts.map +0 -1
- package/dist/math/barLabels.d.ts.map +0 -1
- package/dist/math/barbs.d.ts.map +0 -1
- package/dist/math/boxplot.d.ts.map +0 -1
- package/dist/math/breadcrumbs.d.ts.map +0 -1
- package/dist/math/bubble.d.ts.map +0 -1
- package/dist/math/bullet.d.ts.map +0 -1
- package/dist/math/chord.d.ts.map +0 -1
- package/dist/math/cluster.d.ts.map +0 -1
- package/dist/math/contour.d.ts.map +0 -1
- package/dist/math/contourf.d.ts.map +0 -1
- package/dist/math/dodge.d.ts.map +0 -1
- package/dist/math/ecdf.d.ts.map +0 -1
- package/dist/math/errorbar.d.ts.map +0 -1
- package/dist/math/eventplot.d.ts.map +0 -1
- package/dist/math/facet.d.ts.map +0 -1
- package/dist/math/fillBetween.d.ts.map +0 -1
- package/dist/math/gauge.d.ts.map +0 -1
- package/dist/math/hexbin.d.ts.map +0 -1
- package/dist/math/hierarchy.d.ts.map +0 -1
- package/dist/math/hierarchyJoin.d.ts.map +0 -1
- package/dist/math/histogram.d.ts.map +0 -1
- package/dist/math/histogram2d.d.ts.map +0 -1
- package/dist/math/imshow.d.ts.map +0 -1
- package/dist/math/index.d.ts.map +0 -1
- package/dist/math/jitter.d.ts.map +0 -1
- package/dist/math/join.d.ts.map +0 -1
- package/dist/math/keyframes.d.ts.map +0 -1
- package/dist/math/legend.d.ts.map +0 -1
- package/dist/math/line.d.ts.map +0 -1
- package/dist/math/morph.d.ts.map +0 -1
- package/dist/math/mosaic.d.ts.map +0 -1
- package/dist/math/ordinal.d.ts.map +0 -1
- package/dist/math/parallel.d.ts.map +0 -1
- package/dist/math/pcolormesh.d.ts.map +0 -1
- package/dist/math/pie.d.ts.map +0 -1
- package/dist/math/polarArea.d.ts.map +0 -1
- package/dist/math/radar.d.ts.map +0 -1
- package/dist/math/range.d.ts.map +0 -1
- package/dist/math/regression.d.ts.map +0 -1
- package/dist/math/reveal.d.ts.map +0 -1
- package/dist/math/sankey.d.ts.map +0 -1
- package/dist/math/scatter.d.ts.map +0 -1
- package/dist/math/shared/binning.d.ts.map +0 -1
- package/dist/math/shared/gridCells.d.ts.map +0 -1
- package/dist/math/shared/gridExtent.d.ts.map +0 -1
- package/dist/math/shared/pairs.d.ts.map +0 -1
- package/dist/math/shared/polar.d.ts.map +0 -1
- package/dist/math/stack.d.ts.map +0 -1
- package/dist/math/stackplot.d.ts.map +0 -1
- package/dist/math/stairs.d.ts.map +0 -1
- package/dist/math/stem.d.ts.map +0 -1
- package/dist/math/symbol.d.ts.map +0 -1
- package/dist/math/tree.d.ts.map +0 -1
- package/dist/math/tricontour.d.ts.map +0 -1
- package/dist/math/violin.d.ts.map +0 -1
- package/dist/math/waffle.d.ts.map +0 -1
- package/dist/math/waterfall.d.ts.map +0 -1
- package/dist/mix.d.ts.map +0 -1
- package/dist/multiview/brush.d.ts.map +0 -1
- package/dist/multiview/chart-group.d.ts.map +0 -1
- package/dist/multiview/chart-link.d.ts.map +0 -1
- package/dist/multiview/chart-zoom.d.ts.map +0 -1
- package/dist/multiview/facet.d.ts.map +0 -1
- package/dist/multiview/group-guides.d.ts.map +0 -1
- package/dist/multiview/index.d.ts.map +0 -1
- package/dist/multiview/joint-plot.d.ts.map +0 -1
- package/dist/multiview/pair-plot.d.ts.map +0 -1
- package/dist/multiview/panels.d.ts.map +0 -1
- package/dist/multiview/parallel-coordinates.d.ts.map +0 -1
- package/dist/points/event-plot.d.ts.map +0 -1
- package/dist/points/index.d.ts.map +0 -1
- package/dist/points/labels.d.ts.map +0 -1
- package/dist/points/links.d.ts.map +0 -1
- package/dist/points/rects.d.ts.map +0 -1
- package/dist/points/rug.d.ts.map +0 -1
- package/dist/points/scatter.d.ts.map +0 -1
- package/dist/points/segment-marks.d.ts.map +0 -1
- package/dist/points/shared.d.ts.map +0 -1
- package/dist/points/stem.d.ts.map +0 -1
- package/dist/points/strip.d.ts.map +0 -1
- package/dist/points/symbol-marker.d.ts.map +0 -1
- package/dist/points/ticks.d.ts.map +0 -1
- package/dist/props.d.ts.map +0 -1
- package/dist/radial/chord.d.ts.map +0 -1
- package/dist/radial/gauge.d.ts.map +0 -1
- package/dist/radial/index.d.ts.map +0 -1
- package/dist/radial/pie-chart.d.ts.map +0 -1
- package/dist/radial/polar-area-chart.d.ts.map +0 -1
- package/dist/radial/radar-chart.d.ts.map +0 -1
- package/dist/radial/radial-bar-chart.d.ts.map +0 -1
- package/dist/radial/shared.d.ts.map +0 -1
- package/dist/radial/waffle.d.ts.map +0 -1
- package/dist/raster.d.ts.map +0 -1
- package/dist/series.d.ts.map +0 -1
- package/dist/stagger.d.ts.map +0 -1
- package/dist/statistics/box-plot.d.ts.map +0 -1
- package/dist/statistics/error-bar.d.ts.map +0 -1
- package/dist/statistics/groups.d.ts.map +0 -1
- package/dist/statistics/index.d.ts.map +0 -1
- package/dist/statistics/violin-plot.d.ts.map +0 -1
- package/dist/text-width.d.ts.map +0 -1
- package/dist/tooltip.d.ts.map +0 -1
- package/dist/util.d.ts.map +0 -1
|
@@ -21,4 +21,3 @@ export declare function widenDegenerate(min: number, max: number): [number, numb
|
|
|
21
21
|
export declare function binIndex(value: number, min: number, max: number, bins: number): number;
|
|
22
22
|
/** `n + 1` evenly spaced edges from `min` to `max`, split into `n` bins. */
|
|
23
23
|
export declare function binEdges(min: number, max: number, n: number): number[];
|
|
24
|
-
//# sourceMappingURL=binning.d.ts.map
|
|
@@ -3,4 +3,3 @@
|
|
|
3
3
|
export declare function dataExtent(z: readonly (readonly number[])[]): [number, number] | null;
|
|
4
4
|
/** Resolves `levels` (explicit values as is, or a count spaced by `evenFn`) against `z`'s extent; `[]` for a constant or all-non-finite field. */
|
|
5
5
|
export declare function resolveLevels(levels: readonly number[] | number, z: readonly (readonly number[])[], evenFn: (min: number, max: number, count: number) => number[]): number[];
|
|
6
|
-
//# sourceMappingURL=gridExtent.d.ts.map
|
package/dist/math/stack.d.ts
CHANGED
|
@@ -67,4 +67,3 @@ export declare function stackColumns(columns: readonly (readonly StackItem[])[],
|
|
|
67
67
|
* @category Math & helpers
|
|
68
68
|
*/
|
|
69
69
|
export declare function stackOrder(columns: readonly (readonly StackItem[])[], seriesCount: number, order: StackOrder): number[];
|
|
70
|
-
//# sourceMappingURL=stack.d.ts.map
|
package/dist/math/stackplot.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** Stacked areas: parallel series stacked on a shared baseline, each band the region between consecutive running totals. */
|
|
2
2
|
import type { Point } from "@sophistry/core/geometry";
|
|
3
|
-
import type { StackOffset, StackOrder } from "./stack";
|
|
3
|
+
import type { StackOffset, StackOrder } from "./stack.js";
|
|
4
4
|
/** @category Math */
|
|
5
5
|
export interface StackedBand {
|
|
6
6
|
/** The running total *below* this series, per `x` — the band's lower edge. */
|
|
@@ -33,4 +33,3 @@ export interface StackPlotOptions {
|
|
|
33
33
|
* @category Math & helpers
|
|
34
34
|
*/
|
|
35
35
|
export declare function stackedBands(xs: readonly number[], series: readonly (readonly number[])[], options?: StackPlotOptions): StackedBand[];
|
|
36
|
-
//# sourceMappingURL=stackplot.d.ts.map
|
package/dist/math/stairs.d.ts
CHANGED
package/dist/math/stem.d.ts
CHANGED
package/dist/math/symbol.d.ts
CHANGED
package/dist/math/tree.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* (`[0, width]`), `y` along the depth axis (root at 0, deepest at `height`).
|
|
6
6
|
*/
|
|
7
7
|
import type { Point } from "@sophistry/core/geometry";
|
|
8
|
-
import type { HierarchyNodeInfo, HierarchyOptions } from "./hierarchy";
|
|
8
|
+
import type { HierarchyNodeInfo, HierarchyOptions } from "./hierarchy.js";
|
|
9
9
|
/**
|
|
10
10
|
* Node-link layout: `"tidy"` places each level at its own depth with parents
|
|
11
11
|
* centred over their children; `"cluster"` is a dendrogram, every leaf at
|
|
@@ -115,4 +115,3 @@ export interface RadialTreeLinkOptions extends TreeLinkOptions {
|
|
|
115
115
|
* @category Math & helpers
|
|
116
116
|
*/
|
|
117
117
|
export declare function radialTreeLink(parent: Point, child: Point, shape: TreeLinkShape, options?: RadialTreeLinkOptions): Point[];
|
|
118
|
-
//# sourceMappingURL=tree.d.ts.map
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
* count of band boundaries spans it inclusively.
|
|
8
8
|
*/
|
|
9
9
|
import type { Point } from "@sophistry/core/geometry";
|
|
10
|
-
import type { ContourLine } from "./contour";
|
|
11
|
-
import type { ContourBand } from "./contourf";
|
|
10
|
+
import type { ContourLine } from "./contour.js";
|
|
11
|
+
import type { ContourBand } from "./contourf.js";
|
|
12
12
|
/**
|
|
13
13
|
* Three indices into the point arrays, one triangle.
|
|
14
14
|
*
|
|
@@ -74,4 +74,3 @@ export declare function tricontourBands(xs: readonly number[], ys: readonly numb
|
|
|
74
74
|
* @category Math & helpers
|
|
75
75
|
*/
|
|
76
76
|
export declare function tripcolorFaces(xs: readonly number[], ys: readonly number[], zs: readonly number[], options?: TriangulationOptions): TripcolorFace[];
|
|
77
|
-
//# sourceMappingURL=tricontour.d.ts.map
|
package/dist/math/violin.d.ts
CHANGED
|
@@ -97,4 +97,3 @@ export declare function violinProfileRing(profile: ViolinProfile, center: number
|
|
|
97
97
|
* @category Math & helpers
|
|
98
98
|
*/
|
|
99
99
|
export declare function blendViolinProfiles(a: ViolinProfile | null, b: ViolinProfile | null, t: number): ViolinProfile | null;
|
|
100
|
-
//# sourceMappingURL=violin.d.ts.map
|
package/dist/math/waffle.d.ts
CHANGED
package/dist/math/waterfall.d.ts
CHANGED
package/dist/mix.d.ts
CHANGED
|
@@ -22,4 +22,3 @@ export declare function mixPoints<P extends readonly Point[]>(a: P, b: P, t: num
|
|
|
22
22
|
export declare function mixPaint<P>(a: P, b: P, t: number): P;
|
|
23
23
|
/** Whichever of `dark` and `light` reads better on `fill`, by OKLCH lightness, for numbers written on coloured cells. */
|
|
24
24
|
export declare function readableOn(fill: string, dark: string, light: string): string;
|
|
25
|
-
//# sourceMappingURL=mix.d.ts.map
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
import type { CompositeContext, ContextKey } from "@sophistry/core";
|
|
20
20
|
import type { ColorInput } from "@sophistry/core/color";
|
|
21
21
|
import type { BandKey, Range, RangeTransition } from "@sophistry/core/geometry";
|
|
22
|
-
import type { ChartLayerExtent, LegendMark, RampExtent, SharedSizeDomain, SizeExtent } from "../frame/types";
|
|
23
|
-
import type { JoinStages } from "../math/join";
|
|
24
|
-
import type { OrdinalColorScale } from "../math/ordinal";
|
|
22
|
+
import type { ChartLayerExtent, LegendMark, RampExtent, SharedSizeDomain, SizeExtent } from "../frame/types.js";
|
|
23
|
+
import type { JoinStages } from "../math/join.js";
|
|
24
|
+
import type { OrdinalColorScale } from "../math/ordinal.js";
|
|
25
25
|
/** Room a panel's guides take on each side of its plotting area, in scene units. */
|
|
26
26
|
export interface PanelRoom {
|
|
27
27
|
left: number;
|
|
@@ -263,4 +263,3 @@ export declare const GROUP_CHANGED: ContextKey<unknown>;
|
|
|
263
263
|
* @category Extending
|
|
264
264
|
*/
|
|
265
265
|
export declare function chartPanel<P>(ctx: CompositeContext<P>): ChartPanel;
|
|
266
|
-
//# sourceMappingURL=chart-group.d.ts.map
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
import type { SceneNode } from "@sophistry/core";
|
|
7
7
|
import type { ColorInput } from "@sophistry/core/color";
|
|
8
8
|
import type { BandKey, BandScale, Range, RangeTransition } from "@sophistry/core/geometry";
|
|
9
|
-
import type { ChartColorOptions, ChartFrame } from "../frame/types";
|
|
10
|
-
import type { BrushCell } from "./brush";
|
|
9
|
+
import type { ChartColorOptions, ChartFrame } from "../frame/types.js";
|
|
10
|
+
import type { BrushCell } from "./brush.js";
|
|
11
11
|
/**
|
|
12
12
|
* Props for {@link chartLink}.
|
|
13
13
|
*
|
|
@@ -186,4 +186,3 @@ export declare function requireFrame(frame: ChartFrame | null, name: string): Ch
|
|
|
186
186
|
* @category Charts
|
|
187
187
|
*/
|
|
188
188
|
export declare const rangeBrush: import("@sophistry/core").Definition<RangeBrushProps, import("@sophistry/core/internal").CompositeNode<RangeBrushProps>, keyof RangeBrushProps>;
|
|
189
|
-
//# sourceMappingURL=chart-link.d.ts.map
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* the same range tracks `chartLink` and `rangeBrush` use. Zooming works in
|
|
4
4
|
* drawn positions, so log, reversed and band axes all zoom correctly.
|
|
5
5
|
*/
|
|
6
|
-
import type { BrushCell } from "./brush";
|
|
7
|
-
import type { BrushAxisOption } from "./chart-link";
|
|
8
|
-
export type { ChartZoomBox } from "./brush";
|
|
6
|
+
import type { BrushCell } from "./brush.js";
|
|
7
|
+
import type { BrushAxisOption } from "./chart-link.js";
|
|
8
|
+
export type { ChartZoomBox } from "./brush.js";
|
|
9
9
|
/**
|
|
10
10
|
* Props for {@link chartZoom}.
|
|
11
11
|
*
|
|
@@ -142,4 +142,3 @@ export interface ChartZoomToolbarOptions {
|
|
|
142
142
|
* @category Charts
|
|
143
143
|
*/
|
|
144
144
|
export declare const chartZoom: import("@sophistry/core").Definition<ChartZoomProps, import("@sophistry/core/internal").CompositeNode<ChartZoomProps>, keyof ChartZoomProps>;
|
|
145
|
-
//# sourceMappingURL=chart-zoom.d.ts.map
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import type { SceneNode } from "@sophistry/core";
|
|
12
12
|
import type { BandKey, Point, Range, RangeTransition } from "@sophistry/core/geometry";
|
|
13
|
-
import type { Channel } from "../data/channels";
|
|
14
|
-
import type { ChartAxisOptions, ChartColorOptions, ChartSizeLegendOptions, ChartXAxisOptions, ChartYAxisOptions } from "../frame/types";
|
|
15
|
-
import type { LayersReveal } from "../props";
|
|
13
|
+
import type { Channel } from "../data/channels.js";
|
|
14
|
+
import type { ChartAxisOptions, ChartColorOptions, ChartSizeLegendOptions, ChartXAxisOptions, ChartYAxisOptions } from "../frame/types.js";
|
|
15
|
+
import type { LayersReveal } from "../props.js";
|
|
16
16
|
/**
|
|
17
17
|
* How a {@link facet}'s panels share their axes, for both axes or per axis: `"shared"` panels
|
|
18
18
|
* fit one range (numbers on the outer panels only), `"independent"` each fit their own; x may
|
|
@@ -236,4 +236,3 @@ export interface FacetProps<T> {
|
|
|
236
236
|
* @category Charts
|
|
237
237
|
*/
|
|
238
238
|
export declare const facet: import("@sophistry/core").Definition<FacetProps<any>, import("@sophistry/core/internal").CompositeNode<FacetProps<any>>, keyof FacetProps<any>>;
|
|
239
|
-
//# sourceMappingURL=facet.d.ts.map
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
import type { SceneNode } from "@sophistry/core";
|
|
12
12
|
import type { Bounds, Point } from "@sophistry/core/geometry";
|
|
13
13
|
import type { Theme } from "@sophistry/core/themes";
|
|
14
|
-
import type { ChartSizeLegendOptions, RampExtent, SizeExtent } from "../frame/types";
|
|
15
|
-
import type { SizeKeysEnds } from "../guides/size-legend";
|
|
16
|
-
import type { SideRoom } from "../math/facet";
|
|
17
|
-
import type { ChartGroup } from "./chart-group";
|
|
14
|
+
import type { ChartSizeLegendOptions, RampExtent, SizeExtent } from "../frame/types.js";
|
|
15
|
+
import type { SizeKeysEnds } from "../guides/size-legend.js";
|
|
16
|
+
import type { SideRoom } from "../math/facet.js";
|
|
17
|
+
import type { ChartGroup } from "./chart-group.js";
|
|
18
18
|
/** Where a group's panels' share of `progress` ends when a legend or colour bar follows. */
|
|
19
19
|
export declare const PANELS_END_WITH_GUIDES = 0.9;
|
|
20
20
|
/** What a group draws once, and how. */
|
|
@@ -97,4 +97,3 @@ export interface GroupGuides {
|
|
|
97
97
|
}
|
|
98
98
|
/** Makes a group's guides. Call once, in the preset's `setup`. */
|
|
99
99
|
export declare function createGroupGuides(): GroupGuides;
|
|
100
|
-
//# sourceMappingURL=group-guides.d.ts.map
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
/** Family barrel: multiview. Owned by its family; re-exported from the package entry. */
|
|
2
|
-
export type { BrushAxis, BrushCell, ChartZoomBox } from "./brush";
|
|
3
|
-
export { boxBrushDrags, brushDrags, brushWheel, chartZoomActions, chartZoomDrag, } from "./brush";
|
|
4
|
-
export type { ChartGroup, ChartGroupOptions, ChartGroupScope, ChartPanel, GroupMember, GroupPanel, PanelKeys, PanelPlace, PanelRoom, PanelState, } from "./chart-group";
|
|
5
|
-
export { chartGroupContext, chartPanel, createChartGroup, } from "./chart-group";
|
|
6
|
-
export type { BrushAxisOption, ChartLinkProps, RangeBrushProps, } from "./chart-link";
|
|
7
|
-
export { brushedCategories, chartLink, rangeBrush } from "./chart-link";
|
|
8
|
-
export type { ChartZoomDragMode, ChartZoomProps, ChartZoomToolbarOptions, } from "./chart-zoom";
|
|
9
|
-
export { chartZoom } from "./chart-zoom";
|
|
10
|
-
export type { FacetPanel, FacetProps, FacetScales, FacetSpace } from "./facet";
|
|
11
|
-
export { facet } from "./facet";
|
|
12
|
-
export type { JointPlotProps } from "./joint-plot";
|
|
13
|
-
export { jointPlot } from "./joint-plot";
|
|
14
|
-
export type { PairPanel, PairPlotProps } from "./pair-plot";
|
|
15
|
-
export { pairPlot } from "./pair-plot";
|
|
16
|
-
export type { ParallelAxis, ParallelCoordinatesProps, } from "./parallel-coordinates";
|
|
17
|
-
export { parallelCoordinates } from "./parallel-coordinates";
|
|
18
|
-
//# sourceMappingURL=index.d.ts.map
|
|
2
|
+
export type { BrushAxis, BrushCell, ChartZoomBox } from "./brush.js";
|
|
3
|
+
export { boxBrushDrags, brushDrags, brushWheel, chartZoomActions, chartZoomDrag, } from "./brush.js";
|
|
4
|
+
export type { ChartGroup, ChartGroupOptions, ChartGroupScope, ChartPanel, GroupMember, GroupPanel, PanelKeys, PanelPlace, PanelRoom, PanelState, } from "./chart-group.js";
|
|
5
|
+
export { chartGroupContext, chartPanel, createChartGroup, } from "./chart-group.js";
|
|
6
|
+
export type { BrushAxisOption, ChartLinkProps, RangeBrushProps, } from "./chart-link.js";
|
|
7
|
+
export { brushedCategories, chartLink, rangeBrush } from "./chart-link.js";
|
|
8
|
+
export type { ChartZoomDragMode, ChartZoomProps, ChartZoomToolbarOptions, } from "./chart-zoom.js";
|
|
9
|
+
export { chartZoom } from "./chart-zoom.js";
|
|
10
|
+
export type { FacetPanel, FacetProps, FacetScales, FacetSpace, } from "./facet.js";
|
|
11
|
+
export { facet } from "./facet.js";
|
|
12
|
+
export type { JointPlotProps } from "./joint-plot.js";
|
|
13
|
+
export { jointPlot } from "./joint-plot.js";
|
|
14
|
+
export type { PairPanel, PairPlotProps } from "./pair-plot.js";
|
|
15
|
+
export { pairPlot } from "./pair-plot.js";
|
|
16
|
+
export type { ParallelAxis, ParallelCoordinatesProps, } from "./parallel-coordinates.js";
|
|
17
|
+
export { parallelCoordinates } from "./parallel-coordinates.js";
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import type { SceneNode } from "@sophistry/core";
|
|
7
7
|
import type { BandKey, Point, Range, RangeTransition } from "@sophistry/core/geometry";
|
|
8
|
-
import type { Channel } from "../data/channels";
|
|
9
|
-
import type { ChartColorOptions, ChartXAxisOptions, ChartYAxisOptions } from "../frame/types";
|
|
8
|
+
import type { Channel } from "../data/channels.js";
|
|
9
|
+
import type { ChartColorOptions, ChartXAxisOptions, ChartYAxisOptions } from "../frame/types.js";
|
|
10
10
|
/**
|
|
11
11
|
* Props for {@link jointPlot}.
|
|
12
12
|
*
|
|
@@ -112,4 +112,3 @@ export interface JointPlotProps<T> {
|
|
|
112
112
|
* @category Charts
|
|
113
113
|
*/
|
|
114
114
|
export declare const jointPlot: import("@sophistry/core").Definition<JointPlotProps<any>, import("@sophistry/core/internal").CompositeNode<JointPlotProps<any>>, keyof JointPlotProps<any>>;
|
|
115
|
-
//# sourceMappingURL=joint-plot.d.ts.map
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import type { SceneNode } from "@sophistry/core";
|
|
7
7
|
import type { BandKey, Point } from "@sophistry/core/geometry";
|
|
8
|
-
import type { Channel } from "../data/channels";
|
|
9
|
-
import type { ChartAxisOptions, ChartColorOptions } from "../frame/types";
|
|
10
|
-
import type { FacetSpace } from "./facet";
|
|
8
|
+
import type { Channel } from "../data/channels.js";
|
|
9
|
+
import type { ChartAxisOptions, ChartColorOptions } from "../frame/types.js";
|
|
10
|
+
import type { FacetSpace } from "./facet.js";
|
|
11
11
|
/**
|
|
12
12
|
* An off-diagonal panel of a {@link pairPlot}, as `offDiagonal` receives it.
|
|
13
13
|
*
|
|
@@ -151,4 +151,3 @@ export interface PairPlotProps<T> {
|
|
|
151
151
|
* @category Charts
|
|
152
152
|
*/
|
|
153
153
|
export declare const pairPlot: import("@sophistry/core").Definition<PairPlotProps<any>, import("@sophistry/core/internal").CompositeNode<PairPlotProps<any>>, keyof PairPlotProps<any>>;
|
|
154
|
-
//# sourceMappingURL=pair-plot.d.ts.map
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* `chart` inside a plain `group` that provides its group scope. Internal.
|
|
4
4
|
*/
|
|
5
5
|
import type { CompositeContext, ContainerNode, SceneNode } from "@sophistry/core";
|
|
6
|
-
import type { SideRoom } from "../math/facet";
|
|
7
|
-
import type { ChartGroup, ChartGroupScope } from "./chart-group";
|
|
6
|
+
import type { SideRoom } from "../math/facet.js";
|
|
7
|
+
import type { ChartGroup, ChartGroupScope } from "./chart-group.js";
|
|
8
8
|
/** A panel's nodes: the wrapper providing its scope, and its chart. */
|
|
9
9
|
export interface PanelNodes {
|
|
10
10
|
wrapper: ContainerNode;
|
|
@@ -20,4 +20,3 @@ export declare function makePanel(scope: ChartGroupScope, children: readonly Sce
|
|
|
20
20
|
export declare function outerRoom(autosize: "fit" | "pad" | "contain" | undefined, panels: SideRoom, own: SideRoom, contained?: SideRoom): SideRoom;
|
|
21
21
|
/** Watches a preset's group: reruns its update when a panel published something new. */
|
|
22
22
|
export declare function watchGroup<P>(ctx: CompositeContext<P>, group: ChartGroup, reason: Parameters<CompositeContext<P>["invalidate"]>[0]): void;
|
|
23
|
-
//# sourceMappingURL=panels.d.ts.map
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import type { ColorInput } from "@sophistry/core/color";
|
|
11
11
|
import type { Point, Range } from "@sophistry/core/geometry";
|
|
12
|
-
import type { Channel, ColorChannel } from "../data/channels";
|
|
13
|
-
import type { TooltipSpec } from "../tooltip";
|
|
12
|
+
import type { Channel, ColorChannel } from "../data/channels.js";
|
|
13
|
+
import type { TooltipSpec } from "../tooltip.js";
|
|
14
14
|
/**
|
|
15
15
|
* One axis of a {@link parallelCoordinates} chart.
|
|
16
16
|
*
|
|
@@ -107,4 +107,3 @@ export interface ParallelCoordinatesProps<T> {
|
|
|
107
107
|
* @category Charts
|
|
108
108
|
*/
|
|
109
109
|
export declare const parallelCoordinates: import("@sophistry/core").Definition<ParallelCoordinatesProps<any>, import("@sophistry/core/internal").CompositeNode<ParallelCoordinatesProps<any>>, keyof ParallelCoordinatesProps<any>>;
|
|
110
|
-
//# sourceMappingURL=parallel-coordinates.d.ts.map
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* `segment-marks.ts`), keyed `"row:tick"`.
|
|
5
5
|
*/
|
|
6
6
|
import type { ColorInput } from "@sophistry/core/color";
|
|
7
|
-
import type { Channel, ColorChannel } from "../data/channels";
|
|
7
|
+
import type { Channel, ColorChannel } from "../data/channels.js";
|
|
8
8
|
/**
|
|
9
9
|
* Props of {@link eventPlot}.
|
|
10
10
|
*
|
|
@@ -65,4 +65,3 @@ export interface EventPlotProps<T = unknown> {
|
|
|
65
65
|
* @category Charts
|
|
66
66
|
*/
|
|
67
67
|
export declare const eventPlot: import("@sophistry/core").Definition<EventPlotProps<any>, import("@sophistry/core/internal").CompositeNode<EventPlotProps<any>>, keyof EventPlotProps<any>>;
|
|
68
|
-
//# sourceMappingURL=event-plot.d.ts.map
|
package/dist/points/index.d.ts
CHANGED
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
/** Family barrel: per-datum point marks. Re-exported from the package entry. */
|
|
2
|
-
export type { EventPlotProps } from "./event-plot";
|
|
3
|
-
export { eventPlot } from "./event-plot";
|
|
4
|
-
export type { LabelsProps } from "./labels";
|
|
5
|
-
export { labels } from "./labels";
|
|
6
|
-
export type { LinksProps, SegmentStyleProps, VectorsProps } from "./links";
|
|
7
|
-
export { links, vectors } from "./links";
|
|
8
|
-
export type { RectsProps } from "./rects";
|
|
9
|
-
export { rects } from "./rects";
|
|
10
|
-
export type { RugProps } from "./rug";
|
|
11
|
-
export { rug } from "./rug";
|
|
12
|
-
export type { ScatterProps, ScatterTrailOptions } from "./scatter";
|
|
13
|
-
export { scatter } from "./scatter";
|
|
14
|
-
export type { StemProps } from "./stem";
|
|
15
|
-
export { stem } from "./stem";
|
|
16
|
-
export type { BeeswarmProps, DotDistributionProps, StripProps, } from "./strip";
|
|
17
|
-
export { beeswarm, strip } from "./strip";
|
|
18
|
-
export type { TickBaseProps, TickXProps, TickYProps } from "./ticks";
|
|
19
|
-
export { tickX, tickY } from "./ticks";
|
|
20
|
-
//# sourceMappingURL=index.d.ts.map
|
|
2
|
+
export type { EventPlotProps } from "./event-plot.js";
|
|
3
|
+
export { eventPlot } from "./event-plot.js";
|
|
4
|
+
export type { LabelsProps } from "./labels.js";
|
|
5
|
+
export { labels } from "./labels.js";
|
|
6
|
+
export type { LinksProps, SegmentStyleProps, VectorsProps } from "./links.js";
|
|
7
|
+
export { links, vectors } from "./links.js";
|
|
8
|
+
export type { RectsProps } from "./rects.js";
|
|
9
|
+
export { rects } from "./rects.js";
|
|
10
|
+
export type { RugProps } from "./rug.js";
|
|
11
|
+
export { rug } from "./rug.js";
|
|
12
|
+
export type { ScatterProps, ScatterTrailOptions } from "./scatter.js";
|
|
13
|
+
export { scatter } from "./scatter.js";
|
|
14
|
+
export type { StemProps } from "./stem.js";
|
|
15
|
+
export { stem } from "./stem.js";
|
|
16
|
+
export type { BeeswarmProps, DotDistributionProps, StripProps, } from "./strip.js";
|
|
17
|
+
export { beeswarm, strip } from "./strip.js";
|
|
18
|
+
export type { TickBaseProps, TickXProps, TickYProps } from "./ticks.js";
|
|
19
|
+
export { tickX, tickY } from "./ticks.js";
|
package/dist/points/labels.d.ts
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import type { Vec2 } from "@sophistry/core";
|
|
10
10
|
import type { BandKey } from "@sophistry/core/geometry";
|
|
11
|
-
import type { Channel, ColorChannel, PositionValue } from "../data/channels";
|
|
12
|
-
import type { KeyedTransitionProps, RevealProps } from "../props";
|
|
11
|
+
import type { Channel, ColorChannel, PositionValue } from "../data/channels.js";
|
|
12
|
+
import type { KeyedTransitionProps, RevealProps } from "../props.js";
|
|
13
13
|
/**
|
|
14
14
|
* Props of {@link labels}.
|
|
15
15
|
*
|
|
@@ -68,4 +68,3 @@ export interface LabelsProps<T = unknown> extends KeyedTransitionProps<T>, Revea
|
|
|
68
68
|
* @category Charts
|
|
69
69
|
*/
|
|
70
70
|
export declare const labels: import("@sophistry/core").Definition<LabelsProps<any>, import("@sophistry/core/internal").CompositeNode<LabelsProps<any>>, keyof LabelsProps<any>>;
|
|
71
|
-
//# sourceMappingURL=labels.d.ts.map
|
package/dist/points/links.d.ts
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* `progress` channel, tracing its outline.
|
|
7
7
|
*/
|
|
8
8
|
import type { BandKey } from "@sophistry/core/geometry";
|
|
9
|
-
import type { Channel, ColorChannel, PositionValue } from "../data/channels";
|
|
10
|
-
import type { TooltipSpec } from "../tooltip";
|
|
9
|
+
import type { Channel, ColorChannel, PositionValue } from "../data/channels.js";
|
|
10
|
+
import type { TooltipSpec } from "../tooltip.js";
|
|
11
11
|
/**
|
|
12
12
|
* Everything {@link links} and {@link vectors} share.
|
|
13
13
|
*
|
|
@@ -121,4 +121,3 @@ export declare const links: import("@sophistry/core").Definition<LinksProps<any>
|
|
|
121
121
|
* @category Charts
|
|
122
122
|
*/
|
|
123
123
|
export declare const vectors: import("@sophistry/core").Definition<VectorsProps<any>, import("@sophistry/core/internal").CompositeNode<VectorsProps<any>>, keyof VectorsProps<any>>;
|
|
124
|
-
//# sourceMappingURL=links.d.ts.map
|
package/dist/points/rects.d.ts
CHANGED
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* fill comes up (the item's `progress` channel: its reveal and presence).
|
|
7
7
|
*/
|
|
8
8
|
import type { ColorInput } from "@sophistry/core/color";
|
|
9
|
-
import type { MarkTransition } from "../batch";
|
|
10
|
-
import type { Channel, ColorChannel, PositionValue } from "../data/channels";
|
|
11
|
-
import type { KeyedTransitionProps, RevealProps } from "../props";
|
|
12
|
-
import type { TooltipSpec } from "../tooltip";
|
|
9
|
+
import type { MarkTransition } from "../batch.js";
|
|
10
|
+
import type { Channel, ColorChannel, PositionValue } from "../data/channels.js";
|
|
11
|
+
import type { KeyedTransitionProps, RevealProps } from "../props.js";
|
|
12
|
+
import type { TooltipSpec } from "../tooltip.js";
|
|
13
13
|
/**
|
|
14
14
|
* Props of {@link rects}.
|
|
15
15
|
*
|
|
@@ -78,4 +78,3 @@ export interface RectsProps<T = unknown> extends KeyedTransitionProps<T>, Reveal
|
|
|
78
78
|
* @category Charts
|
|
79
79
|
*/
|
|
80
80
|
export declare const rects: import("@sophistry/core").Definition<RectsProps<any>, import("@sophistry/core/internal").CompositeNode<RectsProps<any>>, keyof RectsProps<any>>;
|
|
81
|
-
//# sourceMappingURL=rects.d.ts.map
|
package/dist/points/rug.d.ts
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
* `line` instances node (see `segment-marks.ts`).
|
|
4
4
|
*/
|
|
5
5
|
import type { BandKey } from "@sophistry/core/geometry";
|
|
6
|
-
import type { MarkTransition } from "../batch";
|
|
7
|
-
import type { Channel, ColorChannel } from "../data/channels";
|
|
8
|
-
import type { KeyedTransitionProps, RevealProps } from "../props";
|
|
9
|
-
import type { TooltipSpec } from "../tooltip";
|
|
6
|
+
import type { MarkTransition } from "../batch.js";
|
|
7
|
+
import type { Channel, ColorChannel } from "../data/channels.js";
|
|
8
|
+
import type { KeyedTransitionProps, RevealProps } from "../props.js";
|
|
9
|
+
import type { TooltipSpec } from "../tooltip.js";
|
|
10
10
|
/**
|
|
11
11
|
* Props of {@link rug}.
|
|
12
12
|
*
|
|
@@ -70,4 +70,3 @@ export interface RugProps<T = unknown> extends KeyedTransitionProps<T>, RevealPr
|
|
|
70
70
|
* @category Charts
|
|
71
71
|
*/
|
|
72
72
|
export declare const rug: import("@sophistry/core").Definition<RugProps<any>, import("@sophistry/core/internal").CompositeNode<RugProps<any>>, keyof RugProps<any>>;
|
|
73
|
-
//# sourceMappingURL=rug.d.ts.map
|
package/dist/points/scatter.d.ts
CHANGED
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
* trails are one path batch behind the markers.
|
|
31
31
|
*/
|
|
32
32
|
import type { BandKey } from "@sophistry/core/geometry";
|
|
33
|
-
import type { MarkTransition } from "../batch";
|
|
34
|
-
import type { Channel, ChannelFn, ColorChannel, PositionValue, Quantity } from "../data/channels";
|
|
35
|
-
import type { SymbolName } from "../math/symbol";
|
|
36
|
-
import type { KeyedTransitionProps, RevealProps, StaggerOrder } from "../props";
|
|
37
|
-
import type { TooltipSpec } from "../tooltip";
|
|
33
|
+
import type { MarkTransition } from "../batch.js";
|
|
34
|
+
import type { Channel, ChannelFn, ColorChannel, PositionValue, Quantity } from "../data/channels.js";
|
|
35
|
+
import type { SymbolName } from "../math/symbol.js";
|
|
36
|
+
import type { KeyedTransitionProps, RevealProps, StaggerOrder } from "../props.js";
|
|
37
|
+
import type { TooltipSpec } from "../tooltip.js";
|
|
38
38
|
/**
|
|
39
39
|
* Options for {@link scatter}'s `trail`.
|
|
40
40
|
*
|
|
@@ -167,4 +167,3 @@ export interface ScatterProps<T = unknown> extends KeyedTransitionProps<T>, Reve
|
|
|
167
167
|
* @category Charts
|
|
168
168
|
*/
|
|
169
169
|
export declare const scatter: import("@sophistry/core").Definition<ScatterProps<any>, import("@sophistry/core/internal").CompositeNode<ScatterProps<any>>, keyof ScatterProps<any>>;
|
|
170
|
-
//# sourceMappingURL=scatter.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import type { LineProps, SceneNode } from "@sophistry/core";
|
|
14
14
|
import type { Point } from "@sophistry/core/geometry";
|
|
15
|
-
import type { BatchedMark, BatchItem } from "../batch";
|
|
15
|
+
import type { BatchedMark, BatchItem } from "../batch.js";
|
|
16
16
|
/** One segment of a batched layer: its two ends in scene units and its colour. */
|
|
17
17
|
export interface SegmentItem extends BatchItem {
|
|
18
18
|
/** Where it starts (the end a reveal draws from), in scene units. */
|
|
@@ -37,4 +37,3 @@ export declare function createSegmentMark<S extends SegmentItem>(options?: {
|
|
|
37
37
|
/** Read each item's `opacity` (a fade per segment) instead of a shared one. */
|
|
38
38
|
opacity?: boolean;
|
|
39
39
|
}): SegmentMark<S>;
|
|
40
|
-
//# sourceMappingURL=segment-marks.d.ts.map
|
package/dist/points/shared.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* layer, and a last-value cache for the shared props handed to it. Internal.
|
|
4
4
|
*/
|
|
5
5
|
import type { Point } from "@sophistry/core/geometry";
|
|
6
|
-
import type { TooltipContent, TooltipState } from "../tooltip";
|
|
6
|
+
import type { TooltipContent, TooltipState } from "../tooltip.js";
|
|
7
7
|
/** The interaction props of a batched layer with tooltips. */
|
|
8
8
|
export interface ItemHandlerProps {
|
|
9
9
|
label?: string;
|
|
@@ -32,4 +32,3 @@ export declare function tooltipsOn(tooltip: TooltipState | null, own: unknown):
|
|
|
32
32
|
* no change.
|
|
33
33
|
*/
|
|
34
34
|
export declare function stableShared<P extends object>(): (next: P) => P;
|
|
35
|
-
//# sourceMappingURL=shared.d.ts.map
|
package/dist/points/stem.d.ts
CHANGED
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import type { CircleProps } from "@sophistry/core";
|
|
11
11
|
import type { BandKey } from "@sophistry/core/geometry";
|
|
12
|
-
import type { MarkTransition } from "../batch";
|
|
13
|
-
import type { Channel, ColorChannel, PositionValue } from "../data/channels";
|
|
14
|
-
import type { KeyedTransitionProps, RevealProps, StaggerOrder } from "../props";
|
|
12
|
+
import type { MarkTransition } from "../batch.js";
|
|
13
|
+
import type { Channel, ColorChannel, PositionValue } from "../data/channels.js";
|
|
14
|
+
import type { KeyedTransitionProps, RevealProps, StaggerOrder } from "../props.js";
|
|
15
15
|
/**
|
|
16
16
|
* Props of {@link stem}.
|
|
17
17
|
*
|
|
@@ -73,4 +73,3 @@ export interface StemProps<T = unknown> extends KeyedTransitionProps<T>, RevealP
|
|
|
73
73
|
* @category Charts
|
|
74
74
|
*/
|
|
75
75
|
export declare const stem: import("@sophistry/core").Definition<StemProps<any>, import("@sophistry/core/internal").CompositeNode<StemProps<any>>, keyof StemProps<any>>;
|
|
76
|
-
//# sourceMappingURL=stem.d.ts.map
|
package/dist/points/strip.d.ts
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* instances node per layer.
|
|
5
5
|
*/
|
|
6
6
|
import type { BandKey } from "@sophistry/core/geometry";
|
|
7
|
-
import type { MarkTransition } from "../batch";
|
|
8
|
-
import type { Channel, ColorChannel } from "../data/channels";
|
|
9
|
-
import type { KeyedTransitionProps, RevealProps, StaggerOrder } from "../props";
|
|
10
|
-
import type { TooltipSpec } from "../tooltip";
|
|
7
|
+
import type { MarkTransition } from "../batch.js";
|
|
8
|
+
import type { Channel, ColorChannel } from "../data/channels.js";
|
|
9
|
+
import type { KeyedTransitionProps, RevealProps, StaggerOrder } from "../props.js";
|
|
10
|
+
import type { TooltipSpec } from "../tooltip.js";
|
|
11
11
|
/**
|
|
12
12
|
* What {@link strip} and {@link beeswarm} share.
|
|
13
13
|
*
|
|
@@ -143,4 +143,3 @@ export declare const strip: import("@sophistry/core").Definition<StripProps<any>
|
|
|
143
143
|
* @category Charts
|
|
144
144
|
*/
|
|
145
145
|
export declare const beeswarm: import("@sophistry/core").Definition<BeeswarmProps<any>, import("@sophistry/core/internal").CompositeNode<BeeswarmProps<any>>, keyof BeeswarmProps<any>>;
|
|
146
|
-
//# sourceMappingURL=strip.d.ts.map
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
import type { ShapeInstanceable, ShapeProps } from "@sophistry/core";
|
|
18
18
|
import type { Point } from "@sophistry/core/geometry";
|
|
19
|
-
import type { SymbolName } from "../math/symbol";
|
|
19
|
+
import type { SymbolName } from "../math/symbol.js";
|
|
20
20
|
/** Props of {@link symbolMarker}. */
|
|
21
21
|
export interface SymbolMarkerProps extends ShapeProps {
|
|
22
22
|
/** Centre, in scene units. */
|
|
@@ -31,4 +31,3 @@ export interface SymbolMarkerProps extends ShapeProps {
|
|
|
31
31
|
* `radius`, centred on `center`.
|
|
32
32
|
*/
|
|
33
33
|
export declare const symbolMarker: import("@sophistry/core").Definition<SymbolMarkerProps, import("@sophistry/core").ShapeNode<SymbolMarkerProps>, "center" | "radius" | "symbol" | ShapeInstanceable>;
|
|
34
|
-
//# sourceMappingURL=symbol-marker.d.ts.map
|
package/dist/points/ticks.d.ts
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* node per layer (see `segment-marks.ts`).
|
|
5
5
|
*/
|
|
6
6
|
import type { BandKey } from "@sophistry/core/geometry";
|
|
7
|
-
import type { MarkTransition } from "../batch";
|
|
8
|
-
import type { Channel, ColorChannel, PositionValue } from "../data/channels";
|
|
9
|
-
import type { KeyedTransitionProps, RevealProps } from "../props";
|
|
10
|
-
import type { TooltipSpec } from "../tooltip";
|
|
7
|
+
import type { MarkTransition } from "../batch.js";
|
|
8
|
+
import type { Channel, ColorChannel, PositionValue } from "../data/channels.js";
|
|
9
|
+
import type { KeyedTransitionProps, RevealProps } from "../props.js";
|
|
10
|
+
import type { TooltipSpec } from "../tooltip.js";
|
|
11
11
|
/**
|
|
12
12
|
* What {@link tickX} and {@link tickY} share.
|
|
13
13
|
*
|
|
@@ -100,4 +100,3 @@ export declare const tickX: import("@sophistry/core").Definition<TickXProps<any>
|
|
|
100
100
|
* @category Charts
|
|
101
101
|
*/
|
|
102
102
|
export declare const tickY: import("@sophistry/core").Definition<TickYProps<any>, import("@sophistry/core/internal").CompositeNode<TickYProps<any>>, keyof TickYProps<any>>;
|
|
103
|
-
//# sourceMappingURL=ticks.d.ts.map
|
package/dist/props.d.ts
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* where its meaning is narrower.
|
|
6
6
|
*/
|
|
7
7
|
import type { BandKey } from "@sophistry/core/geometry";
|
|
8
|
-
import type { Channel } from "./data/channels";
|
|
9
|
-
import type { JoinStaging } from "./math/join";
|
|
8
|
+
import type { Channel } from "./data/channels.js";
|
|
9
|
+
import type { JoinStaging } from "./math/join.js";
|
|
10
10
|
/**
|
|
11
11
|
* Order for `stagger` and `enterStagger`: `"position"` follows the mark's own
|
|
12
12
|
* layout (along x, by value, by category); `"random"` shuffles by a hash of
|
|
@@ -124,4 +124,3 @@ export declare const REVEAL_KEYS: readonly ["stagger"];
|
|
|
124
124
|
* @category Channels
|
|
125
125
|
*/
|
|
126
126
|
export type AnyDatum = any;
|
|
127
|
-
//# sourceMappingURL=props.d.ts.map
|