Add support for choosing color palettes on graphs.