Search code examples
data-visualizationvega-litevega

Vega lite line chart add custom x-axes names


I want my line chart x-axes names contains only odd numbers. I tried 'xLabel' properties but this did not help. Any idea how to do it?

Here is my vega lite example


Solution

  • Marked as answered with help from @joelostblom

    "values": [1, 3, 5]