Legend undefined when no data in A1 cell

Hi, When I add data into the A1 cell the legend formats correctly, but if I leave out data in the A1 cell the legend becomes undefined.

As per this example: everviz

Is there a fix for this?

No fix on the user-end currently,

Reported internally as #1409