Set the x axis limits (min and max) on categorical scale
How can I set the x limits (x min and x max) values on a categorical scale? I want to limit the space in the image below to be almost no white space.
How to link both x axes in a plot with two concatenated subplots when one subplot is using timeunit and aggregation in the encoding in Vega-Lite
I have a plot with one subplot where I would like to show the sum of amount
per quarter and in the other subplot I would like to show each row represented as a point with the y axis being the value
and x axis being date
. Like this
Extending step-after vega-lite graph to todays date
I am trying to make a step-after graph in vega-lite like this example https://vega.github.io/vega-lite/examples/line_step.html. It has values on discrete dates. I want to extend the graph so the last step goes all the way to today´s date (making it an actual step and not just a vertical line at the last date in the data).
I tried but failed to find a way to add a calculated extra row to the data i.e.: {date:<today´s date>, value:<last_value>}
Any ideas?
some data on a vega lite chart ends up on the wrong bar
my issue is that the link (displayed in the tooltip for trouble shooting) ends up in the wrong bar and the rest of the tooltip is fine. March has April’s link. The links won’t work in the sample but the month is in the start and end of the dates…
Table with start end end time column to print signal in step format in VEGA Lite
i have a table with 3 columns