enhancement: move delete timeseries icon (X) to right end of timeseries legend icon list

enhancement: move delete timeseries icon (X) to right end of timeseries legend icon list