\documentclass{article}
\usepackage{pgfplots}
\pgfplotsset{compat=1.7,width=6cm}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
scaled y ticks=true,
ymax=0.0008,
ymin=0,
%ymin=1e-24 % Works if this is line is uncommented
xmin=0,
xmax=8,
]
\end{axis}
\end{tikzpicture}

\begin{tikzpicture}
\begin{axis}[
scaled y ticks=true,
ymax=0,
ymin=-0.0008,
%ymin=1e-24 % Works if this is line is uncommented
xmin=0,
xmax=8,
]
\end{axis}
\end{tikzpicture}

\begin{tikzpicture}
\begin{axis}[
scaled y ticks=true,
xmax=0,
xmin=-0.0008,
ymin=0,
ymax=8,
]
\end{axis}
\end{tikzpicture}
\end{document}
