Multi measure dual stacking

Nate Agrin · Friday Demos · September 5, 2025 · 4:00

Getting close to the finish line for our backend overhaul of the vis framework, putting the finishing touches on the multi-measure experience, including independent stacking controls while…

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. Um, this first one's a little tricky to demo, but just because it's kind of behind the scenes, but um, we tried rolling out the the new multimeasure work like two weeks ago or a week ago, and um, we got some initial reports of charts that were breaking and it what was interesting was uh, we realized that customers had charts that were configured to say like take all these measures and stack them and uh the new pipeline respects that.

  2. The old pipeline would look at that and just say I don't know what to do here so I'm just going to make everything overlaid which just means like one on top of the other unstacked. Um and so basically what we came up with to reenable the roll out of this feature is uh add versioning into the charts.

  3. So everything that's version zero, which is before the the multimemeasure work had uh rolled out, will now take a chart that says I have multiple measures and multiple mark types on it and it's set as stacked, but the old pipeline used to treat that as unstacked. So we like pre-process the the config to be unstacked. So that's exactly what's happening up here.

  4. This chart under the hood is stored as stacked, but we detect it as a version zero. And so in real time, we rewrite it and now it's unstacked. And then if I uh if the the demo gods are with me and I go in here and I like change this to be Whoops, that's not it. Change this to be like stacked.

  5. Everything's stacked transparently gets upgraded to version one. And if I go back to the dashboard, it's now stacked correctly and you know stays interactive and all the other goodness. Okay, second demo. I've said for a while that the last step in the this viz refactor work is getting multiple axis multiple uh measures to work. And the hardest bit of that is dealing with bar charts in all their various iterations.

  6. And so a common ask is to have one bar like one axis have a particular kind of stacking and then the other axis to be something else. Um whether it's unstacked or stacked. So quick early preview of this. It's not ready for prime time yet, but hopefully in the next week it will be. Um so right now we have two axes, two measures on each axis.

  7. whole thing is set to grouped. So side by side. If I pick one axis and I tell it to be stacked, it groups or it stacks rather those two measures. Uh I can obviously do the same thing up here. Um I can set one to group. I can do wild things like set one to percentage and it correctly adjusts the percentages.

  8. And I'm going to risk everything. Uh in theory, all of this stuff continues to work, too. Yep. Boom. So, there we go. That's my demo. That's what you've all been waiting for for months. Yes.