Legend disappears with one value in the pivot column

Hi Team,

The legend gets disappear when there is a one value in pivot column however legends come back on viz when pivoted column has multiple value