Add HTML class to plot line label