Fix graph widget legends