Let $u: \mathbb{R}^2 \to \mathbb{R}$ be a harmonic function.
If $\frac{\partial u(x,y)}{\partial x} = k_1$ and $\frac{\partial u(x,y)}{\partial y} = k_2,\forall (x,y) \in \mathbb{R}^2, k_1, k_2 \in \mathbb{R}$, may I say that $u$ is a linear function?
No.
If $u(x,y) = k_{1}x+k_{2}y+C$, then:
$$\dfrac{\partial u(x,y)}{\partial x} = k_{1}$$ $$\dfrac{\partial u(x,y)}{\partial y} = k_{2}$$ But $u(x,y)$ is not linear - this kind of function is an affine function. $u$ is linear iff $C = 0$.