How do I add a secondary Y axis to my vega-lite chart?

后端 未结 1 1882
心在旅途
心在旅途 2021-01-06 00:35

This question shows a way to add multiple time series to a vega-lite chart:

How to plot several variables on an axis with Vega-Lite?

Is there a way to put th

1条回答
  •  清酒与你
    2021-01-06 00:58

    Yes, you can set axes and scales to be independent with the resolve property. Vega-Lite will automatically create two axes for you.

    See https://vega.github.io/vega-lite/docs/layer.html#combined-scales-and-guides.

    0 讨论(0)
提交回复
热议问题