hvega-0.11.0.1: tests/specs/time/localTime.vl
{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"data": {
"format": {
"parse": {
"date": "date:'%d %b %Y %H:%M'"
}
},
"values": [
{
"date": "28 Oct 2017 22:00",
"value": 1
},
{
"date": "28 Oct 2017 23:00",
"value": 2
},
{
"date": "29 Oct 2017 00:00",
"value": 3
},
{
"date": "29 Oct 2017 01:00",
"value": 4
},
{
"date": "29 Oct 2017 02:00",
"value": 5
},
{
"date": "29 Oct 2017 03:00",
"value": 6
},
{
"date": "29 Oct 2017 04:00",
"value": 7
}
]
},
"encoding": {
"size": {
"value": 500
},
"x": {
"axis": {
"format": "%d %b %H:%M"
},
"field": "date",
"scale": {
"type": "time"
},
"timeUnit": "yearmonthdatehours",
"type": "temporal"
},
"y": {
"field": "value",
"type": "quantitative"
}
},
"mark": "circle",
"width": 800
}