# Multiple Y-axis with Vega

**URL:** <https://discuss.elastic.co/t/multiple-y-axis-with-vega/190274>\
**Category:** Kibana\
**Tags:** vega\
**Created:** [July 12, 2019, 3:42pm UTC](https://discuss.elastic.co/t/multiple-y-axis-with-vega/190274 "2019-07-12T15:42:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paulo64](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/paulo64/32/48977_2.png) [@Paulo64](https://discuss.elastic.co/u/Paulo64)\
**Post date:** [July 12, 2019, 3:42pm UTC](https://discuss.elastic.co/t/multiple-y-axis-with-vega/190274/1 "2019-07-12T15:42:49Z")

</div>

Hello,

Is there a way to create a graph with Vega using multiple Y axis, just like this one :

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/3/039f6a6c090c841babf57c3b27848a8b8d393532.png)

Thanks,

Paul

---

<div class="post-metadata">

**Author:** ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)\
**Post date:** [July 12, 2019, 7:02pm UTC](https://discuss.elastic.co/t/multiple-y-axis-with-vega/190274/2 "2019-07-12T19:02:36Z")

</div>

That image doesnt load and this is more of a vega question, but perhaps this post is helpful? [https://vega.github.io/vega-lite/docs/layer.html#combined-scales-and-guides](https://vega.github.io/vega-lite/docs/layer.html#combined-scales-and-guides)

---

<div class="post-metadata">

**Author:** ![Paulo64](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/paulo64/32/48977_2.png) [@Paulo64](https://discuss.elastic.co/u/Paulo64)\
**Post date:** [July 15, 2019, 1:28pm UTC](https://discuss.elastic.co/t/multiple-y-axis-with-vega/190274/3 "2019-07-15T13:28:20Z")

</div>

Thanks for your reply but this outcome is not what I am really looking for.  
[https://codepen.io/plotly/pen/OVqZEO](https://codepen.io/plotly/pen/OVqZEO)  
Here is a good example of what I am trying to achieve.

Thanks,

Paul

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 12, 2019, 1:28pm UTC](https://discuss.elastic.co/t/multiple-y-axis-with-vega/190274/4 "2019-08-12T13:28:23Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
