prepared graph for slider