Color mapping

Rob Miller · Friday Demos · November 22, 2024 · 3:59

An early preview of some new controls to lock color attributes on a modeled object. This includes setting default colors for a measure, or setting the colors of specific values in a…

Try it yourselfThe full week on docsdashboardsmodelingvisualizationworkbook

Transcript

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

  1. so this comes with a quite large uh disclaimer that this is very early but um I do want to start show or talk about some of the things I'm starting to work on so I have a dashboard here some of the problems that uh we see complaints about uh a lot of the times are for instance uh returned here is a different color on these two charts if you just plot it you know by default uh same here this is literally the same chart but it's the order of the series is swapped so it picks different colors for each uh which can be kind of aggravating um so I've started to think about how we can fix that uh so for instance it's I've built

  2. out some new model uh what are these Primitives something um clearly this is wor my domain where you can go ahead and put a property called color on a lot of your dimensions and measures and start to play with it so if we have a single series with this uh with this measure on it I can put that in there and you see it finds it in all of the charts and colors it across uh so it's a little more consistent now um but it didn't quite apply to these two which is the same measure but applied in kind of a continuous fashion um so you can also say ah maybe I want to do a whole continuous pallet here um and do Hex codes

  3. live uh maybe get a little hot dog model going and it picks those up now and you have kind of like a like a consistent application of your measure across all of your charts here um and doesn't really haven't really solved the problem here with uh returned like individual values here um yet so if if I come back and I look at my status you can kind of do a different way of thinking about it and say I have particular values I care about so if I care about complete uh let's give it a color like this and let's say maybe processing as well save that uh it actually picks out those individual colors now I gave it bright green and blue uh very engineering

  4. uh but it also it found it basically between all the charts uh and is now consistent again just kind of a different type of series uh and then you might you know looking at it you can kind of say there's a lot of maybe those are the only two types of statuses I care about so I don't really care about the other ones anymore uh so I can maybe do like an other here give it like a light gray and forget uh and it just kind of blanks them for you and even like the legend updates and says everything else is this color um and that's kind of it so kind of the early thinkings here um probably want to get this up on my

  5. personal instance and have people poke around and play with it uh but beginning to think about stuff like this um do do we think this is something that's going to be promotable from the UI eventually or could it be yes that there's a there's a story for that basically in uh when if you're in a workbook they want uh got to get used to edit mode uh when you're in here playing with your model you probably have a color section as well love it and you you can already do it uh I believe Rob on the workbook model like today if you do have to go to the IDE with your current setup but you could do it on the workbook model or the shared

  6. model it doesn't matter so you could do these per workbook already right