Styling stub periods in charts

Mike Torosian · Friday Demos · February 6, 2026 · 2:29

Is there anything worse than a time-series chart that tanks on the last data point because of a partial time period? Probably. But we fixed that anyways. Soon you can style your chart stubs…

Transcript

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

  1. Okay, sorry about that. Uh, for for those of you I haven't met, my name is Mike. I joined the design team in November. Um, came from Looker like many of you. Um, so yeah, my hack project was uh for viz and we had this issue in GitHub. It's a couple years old now, but the uh the idea is having some kind of visual differentiation for incomplete periods.

  2. So, um that kind of spawned like a conversation over in Slack where basically talking about like if you have some incomplete data, how can you style that in a way that makes it look different from the rest of the data on the chart? So if you had a line chart like this and you were filtering by complete months, it might look something like that.

  3. But if you change that to just like the past six months, for example, you see this huge drop off at the end. So if you didn't really know what you were looking at, you might think you're going out of business or something like that. So um yeah, so when you have a chart like this, like basically what I worked on was taking each data point and comparing it to the uh current time period based on the date type and then drawing two lines on the chart.

  4. One for complete data and one for incomplete data. And what that allows us to do now is if we go into the dialogue, we have this setting called style partial data. So, if I turn that on. Um, thank you. Thank you. Um, so yeah, we can uh Oh, the that's a little bug with the color picker.

  5. Um, one second. Yeah, so now like I can make that pink if I want to and the legend will update to reflect that. I can change the line style. So, I can make it solid. I can make it a small dash. I can change the line weight. So, I can make it a big chunky line if I want to.

  6. I could change the opacity. Um, and I can also choose whether or not to show a legend to represent that. And then if you clicked over to the dashboard, there's your partial data being represented.