mirror of
https://github.com/tabler/tabler.git
synced 2026-10-12 05:06:55 +04:00
Fix Chart and Signature evaluating JS strings (#3226)
This commit is contained in:
1 parent
01857d234a
commit
6c1d546583
8 files changed
+157
-133
No files matched your search
@@ -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] },
|
||||
|
||||
Reference in new issue
Block a user