Invalidate graph on view resizing.
Adjust axes font size, will make configurable later.