Viz Label Series Color Matching

Mike Torosian · Friday Demos · July 17, 2026 · 2:23

New match series color option for chart data labels on bar, area, and line charts (Vega-based), automatically coloring each label to match its series.

Transcript

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

  1. Greetings. I have a little demo that, um, just improves the quality of life. Hmm, this issue has been open in my browser for, I don't even know how long, and I decided to take a look at it yesterday afternoon. So I'll start by saying that I've done some fairly limited testing. So I would like to get feedback and, um, more testing .

  2. But yeah, basically, this is an issue that has been raised by a few customers where instead of the default black label color in Viz, they would like to be able to map those label colors to the series used in their chart. So, I created an example bar chart right here. Let me finish my conversation, or at least move it there.

  3. So if you came here, by default you could change the color here. So you can make them all pink or any other color. And I added this option here that says "match series color." And the tooltip will be, oh, it's not working right now for some reason, but when you click on it, uh, it will match all the labels to the series color.

  4. And then, uh, the individual sample down here will disappear. Uh, and just really quickly, just to show a few more, I created a few more diagrams where this could work. So if you do this on an area chart, uh, you can see all the different colors. Uh, and then like this one, it's a little lighter, so contrast might be an issue.

  5. Uh, but if you adjust the color, I think it's a trendy chart. If you make it dark blue, it will automatically take those colors into account. So, you can change it to a more contrasting color. And finally, uh, just an example of a line chart. Er , no. That's it. And, uh, you might ask why I chose these three charts.

  6. This is because they all share Vega. So, it works on all three the same way. Charts that this doesn't work on yet are like pie charts and funnel charts. But, if there is a desire to take this further, these would be the next logic diagrams to which this can be applied. So, yeah, that's it.