adding 2x-y graphing feature. Need fix in legend display