Reputation: 461
I am trying to create a horizontal bar chart in vegalite. My issue is that the data sequence is not the same as data given. I want a sequence from bottom to top, meaning the first data I provided at bottom and others following upwards in the display.
I want first then over it Second then over it third, i.e. follow my data sequence. Editor link
Upvotes: 1
Views: 41
Reputation: 30304
Change the "S" in second to lower case and it will sort correctly for you. It is sorting alphabetically so if you want a different sort order, you will need to provide an additional sort field.
Upvotes: 0