You can do it in a way to hide the name, but the legend icon (i.e. the green marker + line) will still show up. The only to eliminate the icon is to eliminate the series, but that means you will have to add it again once there is valid data.
The following code will remove the name but not the icon. It will also restore the name if data is available. You can alternatively code a way to add all the series to the graph, on condition that they have valid data but that is somewhat cumbersome to do in a quick forum reply.
Bookmarks