Smart labels launch and force labels

Nate Agrin · Friday Demos · February 14, 2025 · 3:25

Smart labels have launched, and we added a release valve to force labels as well, for complete control when it's desired alongside the collision-less experience.

Transcript

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

  1. I have a couple Okay cool so I announced this in the product channel so probably not a big surprise but the uh new data label shipped to GA this week um just want to demo so like same interface as before you click you know take this little check box the data labels appear um we added in an option to revert back to the previous algorithm on this chart there are not a lot of data points um and unfortunately I can't demo on playground right now because it's a little bit behind but uh you'll see they shift down which is what the previous algorithm was doing um this is basically an escape hatch so that if someone let's say has like a really dense chart and

  2. they expect to see a bunch of labels even though they might be included uh in their PDF generation they'll still get that or they can opt into that the new algorithm will intentionally not render labels that overlap and if your chart's dense enough that might literally mean that no labels get rendered um we're going to allow some fine-tuning in the future but right now this is the quickest way to get this uh this like improved algorithm out the door um for any chart that already had labels enabled it defaults to having both of these check marks uh checked so it's a no op B basically uh if folks want to opt into the new labeling algorithm they just have to come in and uncheck this

  3. show all labels box and it'll switch over uh so that's one um the other one is uh kind of a fun noop demo which is basically you can this chart is capturing all of the um cases where uh we're trying to render a visualization and it doesn't render through the new viz Pipeline and you can see it's pretty low uh because you know the places where we've enabled it are pretty like there's only a handful of host like I think playground was one of them and then all of a sudden it spikes up yesterday and that's because yesterday I turned it on for everyone um and I'm probably jinxing myself here but uh so far there have been no reports of any issues so that's

  4. great and then basically over time we want to see this drop down um and eventually hit basically zero and that'll mean that we're hitting all of the cases where um uh you know we're not currently compatible with the existing pipeline um and this I'm just showing this console to prove that this is some debug logging that uh I output when we're running through the new pipeline so you can see I'm getting the debug logging just proves that that's happening and Nate this doesn't change anything our about our ability to spit out the advanced spec or anything like that uh nope not at all so if I go I think I just have to disable data labels and then in theory this is running the new

  5. Pipeline and there you go nice um the last one