All 3 matter to me...
I guess storyline is the best because fantastic graphics are only that if it doesn't have a plot to hold it. Also, since RPGs are so heavily based on battle, a good, fun battle system sounds too good to pass up.
But of course, graphics matter to me too. ^^ Just a level below storyline and maybe on par with battle systems.
And good endings. Need good endings.