Change string by static constants declared in plotting API