mini-graph: Ensure ymax is always set

Since all users of MiniGraph always set ymax anyway, there is no reason
to keep around code that deals with the case of it not being set.
Instead simply make it a constuctor parameter to ensure its always set.