updated constructor of PlotWithRightInteractiveLegend and fix a bug on color when you define the colors