Skip to main content

What's up guys,

I'm struggling to implement Vega-Lite chart extension on my base, it's my first time using it. 

I'll show you an example of the base I'm working on in which I'll need to create a bar chart. It seems that I can't add multiple fields on the x axis.

If anyone can help it'd be greatly appreciated.

Hmm, could you perhaps provide a rough example of what the chart would look like with the data you've provided?


Something like this (see below), pretty basic. I'd like to have the different fields I've posted in the first post in the x-axis (Lie T(M) NEW; Energia T(M) NEW; etc.) and the values (45, 62, 51, etc.) in the y-axis.


Something like this (see below), pretty basic. I'd like to have the different fields I've posted in the first post in the x-axis (Lie T(M) NEW; Energia T(M) NEW; etc.) and the values (45, 62, 51, etc.) in the y-axis.


Ah...yeah, I don't think the extension's built to display data in a single row like that easily, and so you probably need to transpose the data I'm afraid

Probably someone with more VegaLite experience than me will be able to come up with a solution that lets you display the chart like that while keeping your data intact


Reply