Add graduated field

For https://github.com/theodi/shared/issues/248