Fix Chart and Signature evaluating JS strings (#3226)

This commit is contained in:
Bartosz-Do authored and GitHub committed 2026-09-28 12:12:25 +02:00
1 parent 01857d234a
commit 6c1d546583
8 files changed
+157 -133

No files matched your search

+4 -4
View File
@@ -35,7 +35,7 @@
"height": 18,
"datetime": true,
"stroke-curve": "straight",
"y-formatter": "val.toLocaleString(\"en-US\")",
"y-formatter": "thousands",
"series": [
{
"name": "Mobile",
@@ -72,7 +72,7 @@
"horizontal": true,
"stacked": true,
"categories": [2019, 2020, 2021, 2022, 2023, 2024, 2025],
"x-formatter": "val + \"K\"",
"x-formatter": "suffix-k",
"series": [
{
"name": "North America",
@@ -122,7 +122,7 @@
"type": "line",
"datetime": true,
"stroke-curve": "straight",
"y-formatter": "val.toLocaleString(\"en-US\")",
"y-formatter": "thousands",
"series": [
{
"name": "Total visits",
@@ -302,7 +302,7 @@
"stacked": true,
"legend": true,
"name": "Semantic colors",
"y-formatter": "val.toLocaleString(\"en-US\")",
"y-formatter": "thousands",
"categories": ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
"series": [
{ "name": "Hit", "color": "success", "data": [18000, 19200, 21000, 20300, 22000, 16600, 15000] },