packages feed

hvega-0.4.0.0: tests/specs/axis/axis6.vl

{
    "mark": {
        "point": true,
        "type": "line"
    },
    "data": {
        "values": [
            {
                "date": "2019-01-01 09:00:00",
                "y": 1
            },
            {
                "date": "2019-01-02 09:00:00",
                "y": 2
            },
            {
                "date": "2019-01-03 09:00:00",
                "y": 3
            },
            {
                "date": "2019-01-04 09:00:00",
                "y": 4
            },
            {
                "date": "2019-01-05 09:00:00",
                "y": 5
            },
            {
                "date": "2019-01-06 09:00:00",
                "y": 6
            },
            {
                "date": "2019-01-07 09:00:00",
                "y": 7
            },
            {
                "date": "2019-01-08 09:00:00",
                "y": 8
            },
            {
                "date": "2019-01-09 09:00:00",
                "y": 9
            },
            {
                "date": "2019-01-10 09:00:00",
                "y": 10
            },
            {
                "date": "2019-01-11 09:00:00",
                "y": 11
            },
            {
                "date": "2019-01-12 09:00:00",
                "y": 12
            }
        ]
    },
    "$schema": "https://vega.github.io/schema/vega-lite/v3.json",
    "encoding": {
        "x": {
            "field": "date",
            "type": "temporal",
            "axis": {
                "values": [
                    {
                        "date": 4,
                        "year": 2019,
                        "month": "Jan"
                    },
                    {
                        "date": 8,
                        "year": 2019,
                        "month": "Jan"
                    },
                    {
                        "date": 20,
                        "year": 2019,
                        "month": "Jan"
                    }
                ]
            }
        },
        "y": {
            "field": "y",
            "type": "quantitative"
        }
    }
}