Display legendgroup name instead of tracename

I have a number of traces, each trace is identified with certain group name. Now the requirement is to display the legend group name instead of trace name and also is there property where I can space for first x- axis label for categorical array.

Any help on this is appreciated.

1 Like

Hi @venug_pal, I want to achieve similar goal could you please let me know how if you have achieved it.