From efc3a3fcbcdc8ee376f3a5038e9dd467c0088f31 Mon Sep 17 00:00:00 2001 From: Leon Sorokin Date: Fri, 27 Sep 2024 21:37:18 -0500 Subject: [PATCH] demo fix --- demos/log-scales2.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demos/log-scales2.html b/demos/log-scales2.html index ae9b3476..81c2af2c 100644 --- a/demos/log-scales2.html +++ b/demos/log-scales2.html @@ -413,7 +413,7 @@ { stroke: "red", fill: "rgba(255,0,0,0.1)", - value: (u, val) => val.toExponential(), + value: (u, val) => val == null ? '--' : val.toExponential(), }, ], };