diff --git a/test/output/tipDotX.svg b/test/output/tipDotX.svg new file mode 100644 index 0000000000..1f683a4786 --- /dev/null +++ b/test/output/tipDotX.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/test/plots/tip.ts b/test/plots/tip.ts index 3e645005af..e929ec1d95 100644 --- a/test/plots/tip.ts +++ b/test/plots/tip.ts @@ -55,6 +55,10 @@ export async function tipDot() { return Plot.dot(penguins, {x: "culmen_length_mm", y: "culmen_depth_mm", stroke: "sex", tip: true}).plot(); } +export async function tipDotX() { + return Plot.dotX(d3.range(10), {tip: true}).plot(); +} + export async function tipDotFacets() { const athletes = await d3.csv("data/athletes.csv", d3.autoType); return Plot.plot({