0
votes

The vega documentation mentions selection interactions like these: https://vega.github.io/vega-lite/docs/selection.html#scale-domains

enter image description here

It's basically a master/detail view where the whole data is shown below and can be selected for the detailed view above.

What i'd like to have is that the selection has resize handlers on both sides. An example would be how Highstock handles this: https://www.highcharts.com/stock/demo/basic-line

enter image description here

Is there way to achieve this in vega?

1

1 Answers

1
votes

I do not have a ready solution, but you can take a look at the Vega-Lite spec from the Falcon project. If you go to histogram.ts and search for grabber, you will see the specification that might be useful to you. You can also play around with the interactive demo.