Changed graph axis to use .9-s format

This commit is contained in:
Ozzie Gooen 2022-05-27 08:26:10 -04:00
parent 20f901e3f8
commit d0102ae4f2
3 changed files with 9 additions and 4 deletions

View File

@ -23,7 +23,7 @@
"tickOpacity": 0.0, "tickOpacity": 0.0,
"domainColor": "#fff", "domainColor": "#fff",
"domainOpacity": 0.0, "domainOpacity": 0.0,
"format": "~g", "format": ".9~s",
"tickCount": 10 "tickCount": 10
} }
], ],

View File

@ -20,6 +20,7 @@
"name": "x", "name": "x",
"type": "linear", "type": "linear",
"nice": true, "nice": true,
"zero": false,
"domain": { "domain": {
"data": "facet", "data": "facet",
"field": "x" "field": "x"
@ -31,7 +32,7 @@
"type": "linear", "type": "linear",
"range": "height", "range": "height",
"nice": true, "nice": true,
"zero": true, "zero": false,
"domain": { "domain": {
"data": "facet", "data": "facet",
"field": "y" "field": "y"
@ -58,6 +59,7 @@
"tickOpacity": 0.0, "tickOpacity": 0.0,
"domainColor": "#727d93", "domainColor": "#727d93",
"domainOpacity": 0.1, "domainOpacity": 0.1,
"format": ".9~s",
"tickCount": 5 "tickCount": 5
}, },
{ {
@ -69,6 +71,7 @@
"tickOpacity": 0.0, "tickOpacity": 0.0,
"domainColor": "#727d93", "domainColor": "#727d93",
"domainOpacity": 0.1, "domainOpacity": 0.1,
"format": ".9~s",
"tickCount": 5 "tickCount": 5
} }
], ],

View File

@ -87,10 +87,10 @@
"type": "linear", "type": "linear",
"range": "height", "range": "height",
"nice": true, "nice": true,
"zero": true, "zero": false,
"domain": { "domain": {
"data": "facet", "data": "facet",
"field": "p99" "fields": ["p1", "p99"]
} }
} }
], ],
@ -114,12 +114,14 @@
"tickOpacity": 0.0, "tickOpacity": 0.0,
"domainColor": "#727d93", "domainColor": "#727d93",
"domainOpacity": 0.1, "domainOpacity": 0.1,
"format": ".9~s",
"tickCount": 5 "tickCount": 5
}, },
{ {
"orient": "left", "orient": "left",
"scale": "yscale", "scale": "yscale",
"grid": false, "grid": false,
"format": ".9~s",
"labelColor": "#727d93", "labelColor": "#727d93",
"tickColor": "#fff", "tickColor": "#fff",
"tickOpacity": 0.0, "tickOpacity": 0.0,