Add "legend" in plot function and in the metadata schema
Add a legend in each plot. So far it was not implemented as the function of rendering multiple dataset in the same plot is not implemented yet. Add the corresponding properties also in the metadata schema.