# Row and column with multiple plots in VegaLite.jl

**URL:** <https://discourse.julialang.org/t/row-and-column-with-multiple-plots-in-vegalite-jl/26426>\
**Category:** General Usage\
**Created:** [July 16, 2019, 2:51pm UTC](https://discourse.julialang.org/t/row-and-column-with-multiple-plots-in-vegalite-jl/26426 "2019-07-16T14:51:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yanivab](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yanivab/32/9164_2.png) [@yanivab](https://discourse.julialang.org/u/yanivab)\
**Post date:** [July 16, 2019, 2:51pm UTC](https://discourse.julialang.org/t/row-and-column-with-multiple-plots-in-vegalite-jl/26426/1 "2019-07-16T14:51:04Z")

</div>

Trying to make a plot with a line and error band, and subplots in rows and columns. However, when I try this:

```julia
dat |> @vlplot(row = "sess:o", column = "PID:n") + @vlplot(:errorband, y = "rand_lb:q", y2 = "rand_ub:q", x = "trial:q", color = "block:n") + 
        @vlplot(mark = {type = "line", strokeDash = [5,3]}, x = "trial:q", y = "rand_med:q", color = "block:n")

```

I get this error:

```julia
Error: Bug: Channel column unimplemented for line mark
...
SyntaxError: Unexpected end of JSON input
...
Error: Bug: Channel column unimplemented for line mark

```

However, with a single plot mark it works:

```julia
dat |> @vlplot(:errorband, y = "rand_lb:q", y2 = "rand_ub:q", x = "trial:q", color = "block:n", row = "sess:o", column = "PID:n") 

```

Two plot marks but no subplotting also works:

```julia
dat |> @vlplot() + @vlplot(:errorband, y = "rand_lb:q", y2 = "rand_ub:q", x = "trial:q", color = "block:n") + 
        @vlplot(mark = {type = "line", strokeDash = [5,3]}, x = "trial:q", y = "rand_med:q", color = "block:n")

```

Any ideas?

Thanks!

---

<div class="post-metadata">

**Author:** ![yanivab](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yanivab/32/9164_2.png) [@yanivab](https://discourse.julialang.org/u/yanivab)\
**Post date:** [July 20, 2019, 10:03pm UTC](https://discourse.julialang.org/t/row-and-column-with-multiple-plots-in-vegalite-jl/26426/2 "2019-07-20T22:03:10Z")

</div>

I found the answer to this question [here](https://github.com/queryverse/VegaLite.jl/issues/133#issuecomment-447541387).
