Fix for removing metric from a graph.  Now it uses the metric object directly rather than indexes.
Fix for removing metric from a graph.  Now it uses the metric object directly rather than indexes.

samklr/metrilyx-2.0,samklr/metrilyx-2.0,samklr/metrilyx-2.0,samklr/metrilyx-2.0