+
\ No newline at end of file
diff --git a/test/output/symbolSetStroke.svg b/test/output/symbolSetStroke.svg
new file mode 100644
index 0000000000..1e96881b18
--- /dev/null
+++ b/test/output/symbolSetStroke.svg
@@ -0,0 +1,43 @@
+
\ No newline at end of file
diff --git a/test/output/symbolSetStrokeColor.html b/test/output/symbolSetStrokeColor.html
new file mode 100644
index 0000000000..27c0f78d40
--- /dev/null
+++ b/test/output/symbolSetStrokeColor.html
@@ -0,0 +1,85 @@
+
+
+ 0123456
+
+
\ No newline at end of file
diff --git a/test/plots/index.ts b/test/plots/index.ts
index 7660b3f473..747dad015d 100644
--- a/test/plots/index.ts
+++ b/test/plots/index.ts
@@ -287,6 +287,7 @@ export * from "./stargazers-hourly-group.js";
export * from "./stargazers-hourly.js";
export * from "./stargazers.js";
export * from "./stocks-index.js";
+export * from "./symbol-set.js";
export * from "./text-overflow.js";
export * from "./this-is-just-to-say.js";
export * from "./time-axis.js";
diff --git a/test/plots/symbol-set.ts b/test/plots/symbol-set.ts
new file mode 100644
index 0000000000..0e79c3a113
--- /dev/null
+++ b/test/plots/symbol-set.ts
@@ -0,0 +1,29 @@
+import * as Plot from "@observablehq/plot";
+
+export async function symbolSetFill() {
+ return Plot.dotX(["circle", "cross", "diamond", "square", "star", "triangle", "wye"], {
+ fill: "currentColor",
+ symbol: Plot.indexOf
+ }).plot();
+}
+
+export async function symbolSetStroke() {
+ return Plot.dotX(["circle", "cross", "diamond", "square", "star", "triangle", "wye"], {
+ stroke: "currentColor",
+ symbol: Plot.indexOf
+ }).plot();
+}
+
+export async function symbolSetFillColor() {
+ return Plot.dotX(["circle", "cross", "diamond", "square", "star", "triangle", "wye"], {
+ fill: Plot.indexOf,
+ symbol: Plot.indexOf
+ }).plot({symbol: {legend: true}});
+}
+
+export async function symbolSetStrokeColor() {
+ return Plot.dotX(["circle", "cross", "diamond", "square", "star", "triangle", "wye"], {
+ stroke: Plot.indexOf,
+ symbol: Plot.indexOf
+ }).plot({symbol: {legend: true}});
+}