21 Oct 2024 12:26 AM - edited 21 Oct 2024 12:41 AM
I am currently creating a dashboard with a pie chart. The legend displayed is some internal number code that represent different teams (the number to the right). It causes difficulties for the viewer when they need to translate the mapping whenever they view the chart.
Is there any way that we can change the legend name into some friendlier name?
Solved! Go to Solution.
21 Oct 2024 01:09 AM
Hey @Hillman
Not sure if there is a better way but you could use partitions to add a name as shown below.
builtin:host.availability:splitBy("dt.entity.host")
:partition("Partition"
,dimension("Test1",eq("dt.entity.host","HOST-056FB9BA2F69C67C"))
,dimension("Test2",eq("dt.entity.host","HOST-14DC825E0C327E32"))
,dimension("Test3",eq("dt.entity.host","HOST-11A07A6C55A0C23C")))