Add interactive legend option to plot.dtrates