Adaptive printing of date in graph