made dotPlot legend display correct values for 2 linked graphs