Set chart's bounds.