Setting of graph labels