There's an equivalent definition to KReiser's one (see Lemma below). For completeness, I will include the proof of their equivalence. The proof arose from the discussion I maintained with KReiser here.
If $f:X\to S$ is a morphism of schemes and $s\in S$, we denote by $X_s$ to the scheme-theoretic fiber at $s$. Recall that given a topological space $T$, the Krull dimension of $T$ at $t\in T$ is defined as:
$$
\dim_tT=\min\{\dim U\mid U\subset T\text{ open neighborhood of }t\}.
$$
Lemma. Let $f:X\to S$ be a morphism of schemes locally of finite type, and let $d$ be a non-negative integer. Then $d=\dim_x X_{f(x)}$ for all $x\in X$ if and only if all non-empty fibers of $f$ are equidimensional of dimension $d$.
Exercise. A topological space $X$ is said to have locally finitely many irreducible components if each point of $X$ has a neighborhood with finitely many irreducible components. For such a space, show that if $Z\subset X$ is an irreducible component, then there is a non-empty open set $U$ of $X$ such that $Z$ is the unique irreducible component of $X$ that $U$ meets (hence, $U\subset Z$).
Proof. Let $x\in X$. The fiber $X_{f(x)}$ is locally of finite type over $\kappa(f(x))$.
$(\Leftarrow)$. The result follows from the fact that for any scheme $T$ locally of finite type over a field and $t\in T$, we have that $\dim_tT$ equals the maximum among the dimensions of irreducible components of $T$ passing through $t$ [A021].
$(\Rightarrow)$. Let $Z$ be an irreducible component of $X_{f(x)}$. Since $X_{f(x)}$ has locally finitely many irreducible components (it is locally Noetherian), by the exercise there is $x'\in Z$ such that $Z$ is the unique irreducible component of $X_{f(x)}$ passing through $x'$. By the fact invoked in last paragraph, $\dim Z=\dim_{x'} X_{f(x)}=\dim_{x'}X_{f(x')}=d$. $\square$