Let $f:(a,b)\to \mathbb{R}$ be a continuous function and define $\Gamma(f) = \{(x,f(x)):x\in (a,b)\}$. The two maps $\Psi: \Gamma(f)\to (a,b)$ given by $(x,f(x))\mapsto x$ and $\Phi: (a,b)\to \Gamma(f)$ given by $x\mapsto (x,f(x))$ are both continuous and inverse to each other. Therefore $\Gamma(f)$ is homeomorphic to $(a,b)$, and $\{(\Gamma(f),\Psi)\}$ is an atlas consisting of a single chart. This means $\Gamma(f)$ is a smooth manifold.
This confuses me greatly. Somehow I feel $\Gamma(f)$ should be a smooth manifold only when $f$ is smooth, not merely continuous. What is wrong here?